mbox series

[0/2] xen/swiotlb: one fix and one optimization

Message ID 20250211120432.29493-1-jgross@suse.com (mailing list archive)
Headers show
Series xen/swiotlb: one fix and one optimization | expand

Message

Juergen Gross Feb. 11, 2025, 12:04 p.m. UTC
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(-)