Re: unexport swiotlb_active v2

2023-06-27 Thread Petr Tesařík
On Mon, 19 Jun 2023 11:19:41 +0200
Christoph Hellwig  wrote:

> Any comments?  I'd really like to finish this off this merge window..

Let me second this request. My dynamic SWIOTLB patch series also has a
dependence on this.

Petr T



Re: unexport swiotlb_active v2

2023-06-19 Thread Christoph Hellwig
Any comments?  I'd really like to finish this off this merge window..



unexport swiotlb_active v2

2023-06-12 Thread Christoph Hellwig
Hi all,

this little series removes the last swiotlb API exposed to modules.

Changes since v1:
 - add a patch from Juergen to export if the e820 table indicates Xen PV
   PCI is enabled
 - slightly reorganize the logic to check if swiotlb is needed for
   Xen/x86
 - drop the already merged nouveau patch

Diffstat:
 arch/x86/include/asm/xen/swiotlb-xen.h |6 --
 arch/x86/kernel/pci-dma.c  |   29 +++--
 arch/x86/xen/setup.c   |6 ++
 drivers/pci/xen-pcifront.c |6 --
 include/xen/xen.h  |6 ++
 kernel/dma/swiotlb.c   |1 -
 6 files changed, 19 insertions(+), 35 deletions(-)