On Thu, Jul 27, 2023 at 01:48:36PM +0800, Lu Baolu wrote: > Add CONFIG_IOMMU_IOPF for page fault handling framework and select it > from its real consumer. Move iopf function declaration from iommu-sva.h > to iommu.h and remove iommu-sva.h as it's empty now. > > Signed-off-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx> > --- > include/linux/iommu.h | 63 +++++++++++++++ > drivers/iommu/iommu-sva.h | 80 ------------------- > .../iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c | 1 - > drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 1 - > drivers/iommu/intel/iommu.c | 1 - > drivers/iommu/intel/svm.c | 1 - > drivers/iommu/iommu-sva.c | 3 +- > drivers/iommu/iommu.c | 2 - > drivers/iommu/Kconfig | 4 + > drivers/iommu/Makefile | 3 +- > drivers/iommu/intel/Kconfig | 1 + > 11 files changed, 71 insertions(+), 89 deletions(-) > delete mode 100644 drivers/iommu/iommu-sva.h Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> At some point it would be a nice touch to split iommu.h into the consumer and iommu driver interfaces Jason