Skip to content

iommu: Header file cleanups

Joerg Roedel linux-iommu lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4iommu: Include device.h in iommu.hinclude/linux/iommu.h+4 -20 replies
2/4iommu: Move report_iommu_fault() to iommu.cdrivers/iommu/iommu.c include/linux/iommu.h+44 -390 replies
3/4iommu: Remove pci.h include from trace/events/iommu.harch/arm64/mm/dma-mapping.c drivers/iommu/fsl_pamu.h drivers/iommu/rockchip-iommu.c +3 more+5 -10 replies
4/4iommu: Remove trace-events include from iommu.hdrivers/media/platform/mtk-vpu/mtk_vpu.c include/linux/iommu.h+1 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] iommu: Header file cleanups

Hi,

here is a small patch-set to remove some header dependencies from the IOMMU header files. The linux/iommu.h file does not include linux/pci.h and the iommu trace-event headers anymore.

For this the report_iommu_fault function was moved to iommu.c and the place relying on above includes were fixed.

Please review.

Thanks,

Joerg

Joerg Roedel (4):
iommu: Include device.h in iommu.h
iommu: Move report_iommu_fault() to iommu.c
iommu: Remove pci.h include from trace/events/iommu.h
iommu: Remove trace-events include from iommu.h

 arch/arm64/mm/dma-mapping.c              |  1 +
 drivers/iommu/fsl_pamu.h                 |  1 +
 drivers/iommu/iommu.c                    | 42 ++++++++++++++++++++++++++++
 drivers/iommu/rockchip-iommu.c           |  1 +
 drivers/iommu/tegra-smmu.c               |  1 +
 drivers/media/platform/mtk-vpu/mtk_vpu.c |  1 +
 include/linux/dma-iommu.h                |  1 +
 include/linux/iommu.h                    | 47 ++++----------------------------
 include/trace/events/iommu.h             |  1 -
 9 files changed, 53 insertions(+), 43 deletions(-)
Signature · 1 line
1.9.1