Hi folks, The include/linux/intel-iommu.h should be private to the Intel IOMMU driver. Other drivers or components should interact with the IOMMU drivers through the kAPIs provided by the iommu core.
This series cleanups all includes of intel-iommu.h outside of the Intel IOMMU driver and move this header from include/linux to drivers/iommu/intel/. No functional changes intended. Please help to review and suggest. Best regards, baolu Lu Baolu (7): iommu/vt-d: Move trace/events/intel_iommu.h under iommu agp/intel: Use per device iommu check iommu/vt-d: Remove unnecessary exported symbol drm/i915: Remove unnecessary include KVM: x86: Remove unnecessary include x86/boot/tboot: Move tboot_force_iommu() to Intel IOMMU iommu/vt-d: Move include/linux/intel_iommu.h under iommu include/linux/tboot.h | 2 -- drivers/gpu/drm/i915/i915_drv.h | 1 - .../iommu/intel/iommu.h | 1 - .../iommu/intel/trace.h | 7 +++++- arch/x86/kernel/tboot.c | 15 ------------- arch/x86/kvm/x86.c | 1 - drivers/char/agp/intel-gtt.c | 17 ++++++-------- drivers/gpu/drm/i915/display/intel_display.c | 1 - .../gpu/drm/i915/gem/i915_gem_execbuffer.c | 1 - drivers/iommu/intel/cap_audit.c | 2 +- drivers/iommu/intel/debugfs.c | 2 +- drivers/iommu/intel/dmar.c | 4 ++-- drivers/iommu/intel/iommu.c | 22 +++++++++++++------ drivers/iommu/intel/irq_remapping.c | 2 +- drivers/iommu/intel/pasid.c | 2 +- drivers/iommu/intel/perf.c | 2 +- drivers/iommu/intel/svm.c | 4 ++-- drivers/iommu/intel/trace.c | 2 +- MAINTAINERS | 1 - 19 files changed, 38 insertions(+), 51 deletions(-) rename include/linux/intel-iommu.h => drivers/iommu/intel/iommu.h (99%) rename include/trace/events/intel_iommu.h => drivers/iommu/intel/trace.h (93%) -- 2.25.1 _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu