* [PATCH] irqchip: gic-v3: fix unmet dependency on ARM_PSCI_FW
@ 2026-08-01 21:22 Julian Braha
2026-08-19 19:05 ` Thomas Gleixner
0 siblings, 1 reply; 2+ messages in thread
From: Julian Braha @ 2026-08-01 21:22 UTC (permalink / raw)
To: florian.fainelli, rjui, sbranden, linux, tglx, Frank.Li, s.hauer
Cc: bcm-kernel-feedback-list, radu, kernel, festevam,
linux-arm-kernel, linux-kernel, imx, arnd, Julian Braha
ARM_GIC_V3 selects HAVE_ARM_SMCCC_DISCOVERY without ensuring its
dependency, ARM_PSCI_FW is met. However, ARM_PSCI_FW should be
selected by the system type, so ARM_GIC_V3 should depend on ARM_PSCI_FW.
Additionally, the systems that select ARM_GIC_V3 (ARCH_BRCMSTB and
SOC_IMX8M) need to select its dependency, ARM_PSCI_FW, too.
This unmet dependency was found by kconfirm, a static analysis tool for
Kconfig.
Fixes: 35727af2b15d ("irqchip/gicv3: Workaround for NVIDIA erratum T241-FABRIC-4")
Signed-off-by: Julian Braha <julianbraha@gmail.com>
---
arch/arm/mach-bcm/Kconfig | 1 +
drivers/irqchip/Kconfig | 1 +
drivers/soc/imx/Kconfig | 1 +
3 files changed, 3 insertions(+)
diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig
index 24bc6e18d806..ff7c161df1f1 100644
--- a/arch/arm/mach-bcm/Kconfig
+++ b/arch/arm/mach-bcm/Kconfig
@@ -184,6 +184,7 @@ config ARCH_BRCMSTB
depends on ARCH_MULTI_V7
select ARCH_HAS_RESET_CONTROLLER
select ARM_AMBA
+ select ARM_PSCI_FW
select ARM_GIC
select ARM_GIC_V3
select ARM_ERRATA_798181 if SMP
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 20b77fbc51ee..726804295545 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -35,6 +35,7 @@ config GIC_NON_BANKED
config ARM_GIC_V3
bool
+ depends on ARM_PSCI_FW
select IRQ_DOMAIN_HIERARCHY
select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP
select HAVE_ARM_SMCCC_DISCOVERY
diff --git a/drivers/soc/imx/Kconfig b/drivers/soc/imx/Kconfig
index 2a90ddd20104..9f0be8b66c4f 100644
--- a/drivers/soc/imx/Kconfig
+++ b/drivers/soc/imx/Kconfig
@@ -6,6 +6,7 @@ config SOC_IMX8M
depends on ARCH_MXC || COMPILE_TEST
default ARCH_MXC && ARM64
select SOC_BUS
+ select ARM_PSCI_FW if ARCH_MXC && ARCH_MULTI_V7
select ARM_GIC_V3 if ARCH_MXC && ARCH_MULTI_V7
help
If you say yes here you get support for the NXP i.MX8M family
--
2.55.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] irqchip: gic-v3: fix unmet dependency on ARM_PSCI_FW
2026-08-01 21:22 [PATCH] irqchip: gic-v3: fix unmet dependency on ARM_PSCI_FW Julian Braha
@ 2026-08-19 19:05 ` Thomas Gleixner
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Gleixner @ 2026-08-19 19:05 UTC (permalink / raw)
To: Julian Braha, florian.fainelli, rjui, sbranden, linux, Frank.Li,
s.hauer
Cc: bcm-kernel-feedback-list, radu, kernel, festevam,
linux-arm-kernel, linux-kernel, imx, arnd, Julian Braha,
Marc Zyngier
On Sat, Aug 01 2026 at 22:22, Julian Braha wrote:
> ARM_GIC_V3 selects HAVE_ARM_SMCCC_DISCOVERY without ensuring its
> dependency, ARM_PSCI_FW is met. However, ARM_PSCI_FW should be
> selected by the system type, so ARM_GIC_V3 should depend on ARM_PSCI_FW.
>
> Additionally, the systems that select ARM_GIC_V3 (ARCH_BRCMSTB and
> SOC_IMX8M) need to select its dependency, ARM_PSCI_FW, too.
>
> This unmet dependency was found by kconfirm, a static analysis tool for
> Kconfig.
Marc?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-19 19:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-01 21:22 [PATCH] irqchip: gic-v3: fix unmet dependency on ARM_PSCI_FW Julian Braha
2026-08-19 19:05 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox