public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] amba/iommu: tegra: enable compile testing
@ 2025-09-25 15:31 Johan Hovold
  2025-09-25 15:31 ` [PATCH 1/2] amba: tegra-ahb: " Johan Hovold
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Johan Hovold @ 2025-09-25 15:31 UTC (permalink / raw)
  To: Joerg Roedel, Will Deacon, Russell King, Thierry Reding,
	Jonathan Hunter
  Cc: iommu, linux-kernel, 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


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(-)

-- 
2.49.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/2] amba: tegra-ahb: enable compile testing
  2025-09-25 15:31 [PATCH 0/2] amba/iommu: tegra: enable compile testing Johan Hovold
@ 2025-09-25 15:31 ` Johan Hovold
  2025-09-25 15:31 ` [PATCH 2/2] iommu: tegra: " Johan Hovold
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Johan Hovold @ 2025-09-25 15:31 UTC (permalink / raw)
  To: Joerg Roedel, Will Deacon, Russell King, Thierry Reding,
	Jonathan Hunter
  Cc: iommu, linux-kernel, Johan Hovold

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).

Signed-off-by: Johan Hovold <johan@kernel.org>
---
 drivers/amba/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/amba/Kconfig b/drivers/amba/Kconfig
index fb6c7e0b4cce..14bb61ff801e 100644
--- a/drivers/amba/Kconfig
+++ b/drivers/amba/Kconfig
@@ -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,
-- 
2.49.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/2] iommu: tegra: enable compile testing
  2025-09-25 15:31 [PATCH 0/2] amba/iommu: tegra: enable compile testing Johan Hovold
  2025-09-25 15:31 ` [PATCH 1/2] amba: tegra-ahb: " Johan Hovold
@ 2025-09-25 15:31 ` Johan Hovold
  2025-10-27 11:19   ` Joerg Roedel
  2025-09-30 18:22 ` [PATCH 0/2] amba/iommu: " Jason Gunthorpe
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 8+ messages in thread
From: Johan Hovold @ 2025-09-25 15:31 UTC (permalink / raw)
  To: Joerg Roedel, Will Deacon, Russell King, Thierry Reding,
	Jonathan Hunter
  Cc: iommu, linux-kernel, Johan Hovold

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

Signed-off-by: Johan Hovold <johan@kernel.org>
---
 drivers/iommu/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index 70d29b14d851..da7d7495c8a8 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -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
-- 
2.49.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/2] amba/iommu: tegra: enable compile testing
  2025-09-25 15:31 [PATCH 0/2] amba/iommu: tegra: enable compile testing Johan Hovold
  2025-09-25 15:31 ` [PATCH 1/2] amba: tegra-ahb: " Johan Hovold
  2025-09-25 15:31 ` [PATCH 2/2] iommu: tegra: " Johan Hovold
@ 2025-09-30 18:22 ` Jason Gunthorpe
  2025-10-06  9:39 ` Jon Hunter
  2025-10-27 13:40 ` Johan Hovold
  4 siblings, 0 replies; 8+ messages in thread
From: Jason Gunthorpe @ 2025-09-30 18:22 UTC (permalink / raw)
  To: Johan Hovold
  Cc: Joerg Roedel, Will Deacon, Russell King, Thierry Reding,
	Jonathan Hunter, iommu, linux-kernel

On Thu, Sep 25, 2025 at 05:31:18PM +0200, Johan Hovold wrote:
> 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!

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>

Jason

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/2] amba/iommu: tegra: enable compile testing
  2025-09-25 15:31 [PATCH 0/2] amba/iommu: tegra: enable compile testing Johan Hovold
                   ` (2 preceding siblings ...)
  2025-09-30 18:22 ` [PATCH 0/2] amba/iommu: " Jason Gunthorpe
@ 2025-10-06  9:39 ` Jon Hunter
  2025-10-27 13:40 ` Johan Hovold
  4 siblings, 0 replies; 8+ messages in thread
From: Jon Hunter @ 2025-10-06  9:39 UTC (permalink / raw)
  To: Johan Hovold, Joerg Roedel, Will Deacon, Russell King,
	Thierry Reding
  Cc: iommu, linux-kernel, linux-tegra@vger.kernel.org


On 25/09/2025 16:31, Johan Hovold wrote:
> 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(-)
> 

Looks good to me.

Reviewed-by: Jon Hunter <jonathanh@nvidia.com>

Thanks
Jon

-- 
nvpublic


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/2] iommu: tegra: enable compile testing
  2025-09-25 15:31 ` [PATCH 2/2] iommu: tegra: " Johan Hovold
@ 2025-10-27 11:19   ` Joerg Roedel
  0 siblings, 0 replies; 8+ messages in thread
From: Joerg Roedel @ 2025-10-27 11:19 UTC (permalink / raw)
  To: Johan Hovold
  Cc: Will Deacon, Russell King, Thierry Reding, Jonathan Hunter, iommu,
	linux-kernel

On Thu, Sep 25, 2025 at 05:31:20PM +0200, Johan Hovold wrote:
> There seems to be nothing preventing this driver from being compile
> tested so enable that to increase build coverage.
> 
> Signed-off-by: Johan Hovold <johan@kernel.org>
> ---
>  drivers/iommu/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/2] amba/iommu: tegra: enable compile testing
  2025-09-25 15:31 [PATCH 0/2] amba/iommu: tegra: enable compile testing Johan Hovold
                   ` (3 preceding siblings ...)
  2025-10-06  9:39 ` Jon Hunter
@ 2025-10-27 13:40 ` Johan Hovold
  2025-10-27 14:11   ` Joerg Roedel
  4 siblings, 1 reply; 8+ messages in thread
From: Johan Hovold @ 2025-10-27 13:40 UTC (permalink / raw)
  To: Joerg Roedel, Will Deacon, Russell King, Thierry Reding,
	Jonathan Hunter
  Cc: iommu, linux-kernel

On Thu, Sep 25, 2025 at 05:31:18PM +0200, Johan Hovold wrote:
> 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?

>   iommu: tegra: enable compile testing

Johan

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/2] amba/iommu: tegra: enable compile testing
  2025-10-27 13:40 ` Johan Hovold
@ 2025-10-27 14:11   ` Joerg Roedel
  0 siblings, 0 replies; 8+ messages in thread
From: Joerg Roedel @ 2025-10-27 14:11 UTC (permalink / raw)
  To: Johan Hovold
  Cc: Will Deacon, Russell King, Thierry Reding, Jonathan Hunter, iommu,
	linux-kernel

On Mon, Oct 27, 2025 at 02:40:38PM +0100, Johan Hovold wrote:
> On Thu, Sep 25, 2025 at 05:31:18PM +0200, Johan Hovold wrote:
> > 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?

Done.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-10-27 14:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-25 15:31 [PATCH 0/2] amba/iommu: tegra: enable compile testing Johan Hovold
2025-09-25 15:31 ` [PATCH 1/2] amba: tegra-ahb: " Johan Hovold
2025-09-25 15:31 ` [PATCH 2/2] iommu: tegra: " Johan Hovold
2025-10-27 11:19   ` Joerg Roedel
2025-09-30 18:22 ` [PATCH 0/2] amba/iommu: " Jason Gunthorpe
2025-10-06  9:39 ` Jon Hunter
2025-10-27 13:40 ` Johan Hovold
2025-10-27 14:11   ` Joerg Roedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox