diff mbox series

[v2,2/4] arch: arm: update Kconfig to select IRQ when GIC_V3_ITS is enabled

Message ID 20210308154816.2870528-2-wasim.khan@oss.nxp.com
State Accepted
Commit 504f8648f036fe2ddf8a65a93d0d27871e32c71d
Delegated to: Tom Rini
Headers show
Series [v2,1/4] misc: make CONFIG_IRQ selectable for all platforms | expand

Commit Message

Wasim Khan March 8, 2021, 3:48 p.m. UTC
From: Wasim Khan <wasim.khan@nxp.com>

GIC_V3_ITS uses UCLASS_IRQ driver. Update Kconfig to select
IRQ when GIC_V3_ITS is enabled.

Signed-off-by: Wasim Khan <wasim.khan@nxp.com>
Reviewed-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
---
Changes in v2:
 - no change

 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Vladimir Oltean March 8, 2021, 5:31 p.m. UTC | #1
On Mon, Mar 08, 2021 at 04:48:14PM +0100, Wasim Khan wrote:
> From: Wasim Khan <wasim.khan@nxp.com>
> 
> GIC_V3_ITS uses UCLASS_IRQ driver. Update Kconfig to select
> IRQ when GIC_V3_ITS is enabled.
> 
> Signed-off-by: Wasim Khan <wasim.khan@nxp.com>
> Reviewed-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
> ---

Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com>

Needs this patch to actually work properly, so that should be accepted
as well:
https://patchwork.ozlabs.org/project/uboot/patch/20210305070235.13547-1-Zhiqiang.Hou@nxp.com/

> Changes in v2:
>  - no change
> 
>  arch/arm/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index fbe90875ae..f8b4d422d9 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -67,6 +67,7 @@ config GIC_V3_ITS
>  	bool "ARM GICV3 ITS"
>  	select REGMAP
>  	select SYSCON
> +	select IRQ
>  	help
>  	  ARM GICV3 Interrupt translation service (ITS).
>  	  Basic support for programming locality specific peripheral
> -- 
> 2.25.1
>
Priyanka Jain April 20, 2021, 5:24 a.m. UTC | #2
>-----Original Message-----
>From: U-Boot <u-boot-bounces@lists.denx.de> On Behalf Of Wasim Khan
>Sent: Monday, March 8, 2021 9:18 PM
>To: sjg@chromium.org; bmeng.cn@gmail.com; mario.six@gdsys.cc;
>bharat.gooty@broadcom.com; rayagonda.kokatanur@broadcom.com; t-
>kristo@ti.com; Varun Sethi <V.Sethi@nxp.com>
>Cc: u-boot@lists.denx.de; Wasim Khan <wasim.khan@nxp.com>; Z.q. Hou
><zhiqiang.hou@nxp.com>
>Subject: [PATCH v2 2/4] arch: arm: update Kconfig to select IRQ when
>GIC_V3_ITS is enabled
>
>From: Wasim Khan <wasim.khan@nxp.com>
>
>GIC_V3_ITS uses UCLASS_IRQ driver. Update Kconfig to select IRQ when
>GIC_V3_ITS is enabled.
>
>Signed-off-by: Wasim Khan <wasim.khan@nxp.com>
>Reviewed-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
>Reviewed-by: Simon Glass <sjg@chromium.org>
>---
>Changes in v2:
> - no change
>
> arch/arm/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index
>fbe90875ae..f8b4d422d9 100644
>--- a/arch/arm/Kconfig
>+++ b/arch/arm/Kconfig
>@@ -67,6 +67,7 @@ config GIC_V3_ITS
> 	bool "ARM GICV3 ITS"
> 	select REGMAP
> 	select SYSCON
>+	select IRQ
> 	help
> 	  ARM GICV3 Interrupt translation service (ITS).
> 	  Basic support for programming locality specific peripheral
>--
>2.25.1

Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>

Tom,

Kindly help to merge this patch.
This is required to fix boot issue on many of NXP fsl-qoriq platforms like lx2160ardb.

Thanks
Priyanka
Tom Rini April 20, 2021, 2:19 p.m. UTC | #3
On Mon, Mar 08, 2021 at 04:48:14PM +0100, Wasim Khan wrote:

> From: Wasim Khan <wasim.khan@nxp.com>
> 
> GIC_V3_ITS uses UCLASS_IRQ driver. Update Kconfig to select
> IRQ when GIC_V3_ITS is enabled.
> 
> Signed-off-by: Wasim Khan <wasim.khan@nxp.com>
> Reviewed-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
> Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index fbe90875ae..f8b4d422d9 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -67,6 +67,7 @@  config GIC_V3_ITS
 	bool "ARM GICV3 ITS"
 	select REGMAP
 	select SYSCON
+	select IRQ
 	help
 	  ARM GICV3 Interrupt translation service (ITS).
 	  Basic support for programming locality specific peripheral