• Linus Torvalds's avatar
    Merge tag 'dma-mapping-6.10-2024-05-20' of git://git.infradead.org/users/hch/dma-mapping · daa12112
    Linus Torvalds authored
    Pull dma-mapping updates from Christoph Hellwig:
    
     - optimize DMA sync calls when they are no-ops (Alexander Lobakin)
    
     - fix swiotlb padding for untrusted devices (Michael Kelley)
    
     - add documentation for swiotb (Michael Kelley)
    
    * tag 'dma-mapping-6.10-2024-05-20' of git://git.infradead.org/users/hch/dma-mapping:
      dma: fix DMA sync for drivers not calling dma_set_mask*()
      xsk: use generic DMA sync shortcut instead of a custom one
      page_pool: check for DMA sync shortcut earlier
      page_pool: don't use driver-set flags field directly
      page_pool: make sure frag API fields don't span between cachelines
      iommu/dma: avoid expensive indirect calls for sync operations
      dma: avoid redundant calls for sync operations
      dma: compile-out DMA sync op calls when not used
      iommu/dma: fix zeroing of bounce buffer padding used by untrusted devices
      swiotlb: remove alloc_size argument to swiotlb_tbl_map_single()
      Documentation/core-api: add swiotlb documentation
    daa12112
ice_xsk.c 29.4 KB