[PATCH 0/2] xen/swiotlb: one fix and one optimization
From: Juergen Gross
Date: Tue Feb 11 2025 - 07:29:10 EST
Patch 1 removes an unneeded alignment requirement, which resulted in
exhausting the SWIOTLB with normal use cases.
Patch 2 is an optimization to avoid destroying a contiguous region
without any need to do so.
There will be probably another patch following to allow larger
contiguous regions to be created, but this one isn't ready yet.
Juergen Gross (2):
xen/swiotlb: relax alignment requirements
xen/swiotlb: don't destroy contiguous region in all cases
arch/x86/include/asm/xen/swiotlb-xen.h | 5 +++--
arch/x86/xen/mmu_pv.c | 18 ++++++++++-----
drivers/xen/swiotlb-xen.c | 31 ++++++++++++++++----------
3 files changed, 34 insertions(+), 20 deletions(-)
--
2.43.0