1. 24 5月, 2018 1 次提交
    • R
      dma-debug: check scatterlist segments · 78c47830
      Robin Murphy 提交于
      Drivers/subsystems creating scatterlists for DMA should be taking care
      to respect the scatter-gather limitations of the appropriate device, as
      described by dma_parms. A DMA API implementation cannot feasibly split
      a scatterlist into *more* entries than originally passed, so it is not
      well defined what they should do when given a segment larger than the
      limit they are also required to respect.
      
      Conversely, devices which are less limited than the rather conservative
      defaults, or indeed have no limitations at all (e.g. GPUs with their own
      internal MMU), should be encouraged to set appropriate dma_parms, as
      they may get more efficient DMA mapping performance out of it.
      Signed-off-by: NRobin Murphy <robin.murphy@arm.com>
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      78c47830
  2. 19 5月, 2018 10 次提交
  3. 09 5月, 2018 14 次提交
  4. 08 5月, 2018 4 次提交
  5. 07 5月, 2018 7 次提交
  6. 03 5月, 2018 2 次提交
  7. 02 5月, 2018 2 次提交