Skip to contentSkip to conversation

iommu/tegra: smmu: Change SMMU's dependency on ARCH_TEGRA

PATCH Applied Hiroshi Doyu 2 participants 4 messages Jan 31, 2013 – Feb 4, 2013 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 iommu/tegra: smmu: Change SMMU's dependency on ARCH_TEGRA

Theoretically TEGRA_IOMMU_SMMU depends on ARCH_TEGRA_3x_SOC and ARCH_TEGRA_114_SOC only. This patch allows a Tegra20 only kernel to enable SMMU(Tegra20 doesn't have a SMMU), which could avoid editing this Kconfig entry every time we add a new chip later.

---
v1:
http://lists.linuxfoundation.org/pipermail/iommu/2013-January/005051.html

---
 drivers/iommu/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iommu/Kconfig +1 -1
index e39f9db..3f0b15a1 100644
@@ -158,7 +158,7 @@ config TEGRA_IOMMU_GART
 
 config TEGRA_IOMMU_SMMU
 	bool "Tegra SMMU IOMMU Support"
-	depends on ARCH_TEGRA_3x_SOC && TEGRA_AHB
+	depends on ARCH_TEGRA && TEGRA_AHB
 	select IOMMU_API
 	help
 	  Enables support for remapping discontiguous physical memory
Signature · 1 line
1.7.9.5

A message that is not in the archive (sent off-list or not yet received): 1359628988-3678-1-git-send-email-hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org

#2 lore raw

Hi Joerg,

Hiroshi Doyu <[email protected]> wrote @ Thu, 31 Jan 2013 11:43:08 +0100:

Quoted 4 lines

Theoretically TEGRA_IOMMU_SMMU depends on ARCH_TEGRA_3x_SOC and ARCH_TEGRA_114_SOC only. This patch allows a Tegra20 only kernel to enable SMMU(Tegra20 doesn't have a SMMU), which could avoid editing this Kconfig entry every time we add a new chip later.

Is there any chance to get this patch merged in v3.9?

Also there's another patch for v3.9:
[v2 1/1] iommu/tegra: smmu: Change SMMU's dependency on ARCH_TEGRA
http://lists.linuxfoundation.org/pipermail/iommu/2013-January/005129.html

A message that is not in the archive (sent off-list or not yet received): 20130204.102732.652026294649237107.hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org

#4 lore raw

Hiroshi Doyu <[email protected]> wrote @ Mon, 04 Feb 2013 10:27:32 +0200 (EET):

Quoted 9 lines

Hi Joerg,

Hiroshi Doyu <[email protected]> wrote @ Thu, 31 Jan 2013 11:43:08 +0100:

Quoted 4 lines

Theoretically TEGRA_IOMMU_SMMU depends on ARCH_TEGRA_3x_SOC and ARCH_TEGRA_114_SOC only. This patch allows a Tegra20 only kernel to enable SMMU(Tegra20 doesn't have a SMMU), which could avoid editing this Kconfig entry every time we add a new chip later.

Quoted 5 lines

Is there any chance to get this patch merged in v3.9?

Also there's another patch for v3.9:
[v2 1/1] iommu/tegra: smmu: Change SMMU's dependency on ARCH_TEGRA
http://lists.linuxfoundation.org/pipermail/iommu/2013-January/005129.html

The above link is pointing this mail wrongly. So the pending patches for v3.9 are:

- [v3 1/1] iommu/tegra: smmu: Support variable MMIO ranges/blocks
http://lists.linuxfoundation.org/pipermail/iommu/2013-January/005127.html

- [v2 1/1] iommu/tegra: smmu: Change SMMU's dependency on ARCH_TEGRA
http://lists.linuxfoundation.org/pipermail/iommu/2013-January/005129.html

Joerg, could you take them merged in for v3.9?