Re: [PATCH v3 1/7] swiotlb: make io_tlb_default_mem local to swiotlb.c

From: Christoph Hellwig
Date: Tue Jun 27 2023 - 11:48:13 EST


On Tue, Jun 27, 2023 at 01:30:06PM +0200, Petr Tesařík wrote:
> Xen is the only user of an "is SWIOTLB present" interface. IIUC Xen
> needs bounce buffers for the PCI frontend driver, but if there is no
> other reason to have a SWIOTLB, the system does not set up one at boot.

Please take a look at my "unexport swiotlb_active v2" series that
unfortunately missed the 6.5 merge window waiting for reviews.