2023-06-12 15:28:54

by Christoph Hellwig

[permalink] [raw]
Subject: unexport swiotlb_active v2

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(-)


2023-06-19 09:31:10

by Christoph Hellwig

[permalink] [raw]
Subject: Re: unexport swiotlb_active v2

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

2023-06-27 18:02:50

by Petr Tesařík

[permalink] [raw]
Subject: Re: unexport swiotlb_active v2

On Mon, 19 Jun 2023 11:19:41 +0200
Christoph Hellwig <[email protected]> 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