Skip to contentSkip to conversation

irqchip/mbigen: add COMPILE_TEST support

PATCH New Rosen Penev 1 participant 1 message May 13 irqchip drivers

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 irqchip/mbigen: add COMPILE_TEST support

Add description to bool to do so.

Remove ARM_GIC_V3 as the driver does not need it to compile. GIC_V3* is always selected for ARM64 so moot point there.

Add GENERIC_MSI_IRQ as it's now needed for non ARM64 builds where ARM_GIC_V3_ITS is not automatically selected.

Assisted-by Codex-GPT-5.5

---
v3: reword description.
v2: add GENERIC_MSI_IRQ

 drivers/irqchip/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/irqchip/Kconfig +3 -3
index eb8428d9fa61..e7d559472790 100644
@@ -208,9 +208,9 @@ config FARADAY_FTINTC010
 	select SPARSE_IRQ
 
 config HISILICON_IRQ_MBIGEN
-	bool
-	select ARM_GIC_V3
-	select ARM_GIC_V3_ITS
+	bool "HiSilicon MBIGEN interrupt controller"
+	depends on ARCH_HISI || COMPILE_TEST
+	select GENERIC_MSI_IRQ
 
 config IMGPDC_IRQ
 	bool

--
2.54.0