Skip to contentSkip to conversation

amba/iommu: tegra: enable compile testing

PATCH Applied Johan Hovold 4 participants 8 messages Sep 25, 2025 – Oct 27, 2025

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

cover amba/iommu: tegra: enable compile testing

There seems to be nothing preventing us from enabling compile testing of the Tegra AHB and IOMMU drivers so enable that to increase build coverage.

Note that these could go in through separate trees, but compile testing of the IOMMU driver does depend on the AHB driver being enabled.

Johan

Johan Hovold (2):
amba: tegra-ahb: enable compile testing
iommu: tegra: enable compile testing

 drivers/amba/Kconfig  | 2 +-
 drivers/iommu/Kconfig | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.49.1
#1 lore raw

PATCH 1/2 amba: tegra-ahb: enable compile testing

There seems to be nothing preventing this driver from being compile tested so enable that to increase build coverage.

This also allows for compile testing of further Tegra drivers (e.g. IOMMU driver).

---
 drivers/amba/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/amba/Kconfig +1 -1
index fb6c7e0b4cce..14bb61ff801e 100644
@@ -5,7 +5,7 @@ config ARM_AMBA
 if ARM_AMBA
 
 config TEGRA_AHB
-	bool
+	bool "Enable AHB driver for NVIDIA Tegra SoCs" if COMPILE_TEST
 	default y if ARCH_TEGRA
 	help
 	  Adds AHB configuration functionality for NVIDIA Tegra SoCs,
Signature · 1 line
2.49.1
#2 lore raw

PATCH 2/2 iommu: tegra: enable compile testing

In reply to Johan Hovold

There seems to be nothing preventing this driver from being compile tested so enable that to increase build coverage.

---
 drivers/iommu/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iommu/Kconfig +1 -1
index 70d29b14d851..da7d7495c8a8 100644
@@ -247,7 +247,7 @@ config SUN50I_IOMMU
 
 config TEGRA_IOMMU_SMMU
 	bool "NVIDIA Tegra SMMU Support"
-	depends on ARCH_TEGRA
+	depends on ARCH_TEGRA || COMPILE_TEST
 	depends on TEGRA_AHB
 	depends on TEGRA_MC
 	select IOMMU_API
Signature · 1 line
2.49.1
Reviewed-by on the v1 series
#4 lore raw
In reply to Johan Hovold
Quoted 6 lines · Johan Hovold

There seems to be nothing preventing us from enabling compile testing of the Tegra AHB and IOMMU drivers so enable that to increase build coverage.

Note that these could go in through separate trees, but compile testing of the IOMMU driver does depend on the AHB driver being enabled.

Nice!

Jason

maintainer Reviewed-by on the v1 series
#5 lore raw
In reply to Johan Hovold
Quoted 10 lines · Johan Hovold

There seems to be nothing preventing us from enabling compile testing of the Tegra AHB and IOMMU drivers so enable that to increase build coverage.

Note that these could go in through separate trees, but compile testing of the IOMMU driver does depend on the AHB driver being enabled.

Johan

Quoted 8 lines

Johan Hovold (2):
amba: tegra-ahb: enable compile testing
iommu: tegra: enable compile testing

  drivers/amba/Kconfig  | 2 +-
  drivers/iommu/Kconfig | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)

Looks good to me.

Thanks
Jon

Signature · 1 line
nvpublic
maintainer Applied
#3 lore raw

Re: [PATCH 2/2] iommu: tegra: enable compile testing

In reply to Johan Hovold
Quoted 7 lines · Johan Hovold

There seems to be nothing preventing this driver from being compile tested so enable that to increase build coverage.

---
 drivers/iommu/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

#6 lore raw
In reply to Johan Hovold
Quoted 9 lines · Johan Hovold

There seems to be nothing preventing us from enabling compile testing of the Tegra AHB and IOMMU drivers so enable that to increase build coverage.

Note that these could go in through separate trees, but compile testing of the IOMMU driver does depend on the AHB driver being enabled.

Johan Hovold (2):
amba: tegra-ahb: enable compile testing

Joerg, could you consider taking also the amba patch through the iommu tree as a dependency with the nVidia guys' acks?

Quoted 1 line

iommu: tegra: enable compile testing

Johan

maintainer
#7 lore raw
Quoted 5 lines · Johan Hovold
Quoted 4 lines · Johan Hovold

There seems to be nothing preventing us from enabling compile testing of the Tegra AHB and IOMMU drivers so enable that to increase build coverage.

Quoted 8 lines
Quoted 5 lines

Note that these could go in through separate trees, but compile testing of the IOMMU driver does depend on the AHB driver being enabled.

Johan Hovold (2):
amba: tegra-ahb: enable compile testing

Joerg, could you consider taking also the amba patch through the iommu tree as a dependency with the nVidia guys' acks?

Done.