All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] xen/swiotlb: one fix and one optimization
@ 2025-02-11 12:04 Juergen Gross
  2025-02-11 12:04 ` [PATCH 1/2] xen/swiotlb: relax alignment requirements Juergen Gross
  2025-02-11 12:04 ` [PATCH 2/2] xen/swiotlb: don't destroy contiguous region in all cases Juergen Gross
  0 siblings, 2 replies; 12+ messages in thread
From: Juergen Gross @ 2025-02-11 12:04 UTC (permalink / raw)
  To: linux-kernel, iommu, x86
  Cc: Juergen Gross, Stefano Stabellini, Oleksandr Tyshchenko,
	xen-devel, Boris Ostrovsky, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, Dave Hansen, H. Peter Anvin

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-02-12 21:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-11 12:04 [PATCH 0/2] xen/swiotlb: one fix and one optimization Juergen Gross
2025-02-11 12:04 ` [PATCH 1/2] xen/swiotlb: relax alignment requirements Juergen Gross
2025-02-12  1:23   ` Stefano Stabellini
2025-02-12  6:53   ` Jan Beulich
2025-02-12 11:04     ` Jürgen Groß
2025-02-11 12:04 ` [PATCH 2/2] xen/swiotlb: don't destroy contiguous region in all cases Juergen Gross
2025-02-12  1:30   ` Stefano Stabellini
2025-02-12 11:15     ` Jürgen Groß
2025-02-12 21:14       ` Stefano Stabellini
2025-02-12  7:38   ` Jan Beulich
2025-02-12 11:11     ` Jürgen Groß
2025-02-12 11:49       ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.