swiotlb: Enforce page alignment in swiotlb_alloc() swiotlb: Reinstate page-alignment for mappings >= PAGE_SIZE While at it, also backport: swiotlb: extend buffer pre-padding to alloc_align_mask if necessary as it fixes a commit that is present in 6.6. Petr Tesarik (1): swiotlb: extend buffer pre-padding to alloc_align_mask if necessary Will Deacon (2): swiotlb: Enforce page alignment in swiotlb_alloc() swiotlb: Reinstate page-alignment for mappings >= PAGE_SIZE kernel/dma/swiotlb.c | 83 +++++++++++++++++++++++++++++++++----------- 1 file changed, 63 insertions(+), 20 deletions(-) -- 2.34.1