Skip to content

Commit e86d1aa

Browse files
committed
iommu/arm-smmu: Move Arm SMMU drivers into their own subdirectory
The Arm SMMU drivers are getting fat on vendor value-add, so move them to their own subdirectory out of the way of the other IOMMU drivers. Suggested-by: Joerg Roedel <[email protected]> Signed-off-by: Will Deacon <[email protected]>
1 parent aa7ec73 commit e86d1aa

File tree

12 files changed

+11
-6
lines changed

12 files changed

+11
-6
lines changed

MAINTAINERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1498,7 +1498,7 @@ R: Robin Murphy <[email protected]>
14981498
L: [email protected] (moderated for non-subscribers)
14991499
S: Maintained
15001500
F: Documentation/devicetree/bindings/iommu/arm,smmu*
1501-
F: drivers/iommu/arm-smmu*
1501+
F: drivers/iommu/arm/
15021502
F: drivers/iommu/io-pgtable-arm-v7s.c
15031503
F: drivers/iommu/io-pgtable-arm.c
15041504

@@ -16813,7 +16813,7 @@ M: Thierry Reding <[email protected]>
1681316813
R: Krishna Reddy <[email protected]>
1681416814
1681516815
S: Supported
16816-
F: drivers/iommu/arm-smmu-nvidia.c
16816+
F: drivers/iommu/arm/arm-smmu/arm-smmu-nvidia.c
1681716817
F: drivers/iommu/tegra*
1681816818

1681916819
TEGRA KBC DRIVER

drivers/iommu/Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# SPDX-License-Identifier: GPL-2.0
2+
obj-y += arm/
23
obj-$(CONFIG_IOMMU_API) += iommu.o
34
obj-$(CONFIG_IOMMU_API) += iommu-traces.o
45
obj-$(CONFIG_IOMMU_API) += iommu-sysfs.o
@@ -14,9 +15,6 @@ obj-$(CONFIG_MSM_IOMMU) += msm_iommu.o
1415
obj-$(CONFIG_AMD_IOMMU) += amd/iommu.o amd/init.o amd/quirks.o
1516
obj-$(CONFIG_AMD_IOMMU_DEBUGFS) += amd/debugfs.o
1617
obj-$(CONFIG_AMD_IOMMU_V2) += amd/iommu_v2.o
17-
obj-$(CONFIG_ARM_SMMU) += arm_smmu.o
18-
arm_smmu-objs += arm-smmu.o arm-smmu-impl.o arm-smmu-nvidia.o arm-smmu-qcom.o
19-
obj-$(CONFIG_ARM_SMMU_V3) += arm-smmu-v3.o
2018
obj-$(CONFIG_DMAR_TABLE) += intel/dmar.o
2119
obj-$(CONFIG_INTEL_IOMMU) += intel/iommu.o intel/pasid.o
2220
obj-$(CONFIG_INTEL_IOMMU) += intel/trace.o
@@ -35,6 +33,5 @@ obj-$(CONFIG_TEGRA_IOMMU_SMMU) += tegra-smmu.o
3533
obj-$(CONFIG_EXYNOS_IOMMU) += exynos-iommu.o
3634
obj-$(CONFIG_FSL_PAMU) += fsl_pamu.o fsl_pamu_domain.o
3735
obj-$(CONFIG_S390_IOMMU) += s390-iommu.o
38-
obj-$(CONFIG_QCOM_IOMMU) += qcom_iommu.o
3936
obj-$(CONFIG_HYPERV_IOMMU) += hyperv-iommu.o
4037
obj-$(CONFIG_VIRTIO_IOMMU) += virtio-iommu.o

drivers/iommu/arm/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
obj-y += arm-smmu/ arm-smmu-v3/
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
obj-$(CONFIG_ARM_SMMU_V3) += arm-smmu-v3.o

drivers/iommu/arm/arm-smmu/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
obj-$(CONFIG_QCOM_IOMMU) += qcom_iommu.o
3+
obj-$(CONFIG_ARM_SMMU) += arm_smmu.o
4+
arm_smmu-objs += arm-smmu.o arm-smmu-impl.o arm-smmu-nvidia.o arm-smmu-qcom.o
File renamed without changes.

0 commit comments

Comments
 (0)