Skip to content

iommu/vt-d: Make intel-iommu.h private

Lu Baolu linux-iommu lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7iommu/vt-d: Move trace/events/intel_iommu.h under iommudrivers/iommu/intel/dmar.c drivers/iommu/intel/svm.c drivers/iommu/intel/trace.c +1 more+7 -31 reply
2/7agp/intel: Use per device iommu checkdrivers/char/agp/intel-gtt.c+7 -101 reply
3/7iommu/vt-d: Remove unnecessary exported symboldrivers/iommu/intel/iommu.c include/linux/intel-iommu.h+0 -71 reply
4/7drm/i915: Remove unnecessary includedrivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c drivers/gpu/drm/i915/i915_drv.h+0 -32 replies
5/7KVM: x86: Remove unnecessary includearch/x86/kvm/x86.c+0 -11 reply
6/7x86/boot/tboot: Move tboot_force_iommu() to Intel IOMMUarch/x86/kernel/tboot.c drivers/iommu/intel/iommu.c include/linux/tboot.h+14 -175 replies
7/7iommu/vt-d: Move include/linux/intel_iommu.h under iommuMAINTAINERS drivers/iommu/intel/cap_audit.c drivers/iommu/intel/debugfs.c +8 more+10 -101 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChristoph HellwigJani NikulaJason GunthorpeSteve Wahl
SeriesR-b R-b
1/7R-b
2/7R-b
3/7R-b
4/7A-b R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/7] iommu/vt-d: Make intel-iommu.h private

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%)
Signature · 6 lines
2.25.1

_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu