[GIT PULL] dma-mapping fixes for Linux 6.9
From: Christoph Hellwig
Date: Sat Mar 23 2024 - 20:07:32 EST
The following changes since commit b9fa16949d18e06bdf728a560f5c8af56d2bdcaf:
dma-direct: Leak pages on dma_set_decrypted() failure (2024-02-28 05:31:38 -0800)
are available in the Git repository at:
git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-6.9-2024-03-24
for you to fetch changes up to 14cebf689a78e8a1c041138af221ef6eac6bc7da:
swiotlb: Reinstate page-alignment for mappings >= PAGE_SIZE (2024-03-13 11:39:34 -0700)
----------------------------------------------------------------
dma-mapping fixes for Linux 6.9
This has a set of swiotlb alignment fixes for sometimes very long
standing bugs from Will. We've been discussion them for a while and they
should be solid now.
----------------------------------------------------------------
Nicolin Chen (1):
iommu/dma: Force swiotlb_max_mapping_size on an untrusted device
Will Deacon (5):
swiotlb: Fix double-allocation of slots due to broken alignment handling
swiotlb: Enforce page alignment in swiotlb_alloc()
swiotlb: Honour dma_alloc_coherent() alignment in swiotlb_alloc()
swiotlb: Fix alignment checks when both allocation and DMA masks are present
swiotlb: Reinstate page-alignment for mappings >= PAGE_SIZE
drivers/iommu/dma-iommu.c | 9 +++++++++
kernel/dma/swiotlb.c | 45 +++++++++++++++++++++++++++++++++------------
2 files changed, 42 insertions(+), 12 deletions(-)