]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
irqchip/irq-msi-lib: Select CONFIG_GENERIC_MSI_IRQ
authorNam Cao <namcao@linutronix.de>
Mon, 30 Jun 2025 10:26:14 +0000 (12:26 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 30 Jun 2025 14:59:12 +0000 (16:59 +0200)
irq-msi-lib directly uses struct msi_domain_info and more things which are
only available when CONFIG_GENERIC_MSI_IRQ=y.

However, there is no dependency specified and CONFIG_IRQ_MSI_LIB can be
enabled without CONFIG_GENERIC_MSI_IRQ, which causes the kernel build fail.

Make IRQ_MSI_LIB select GENEREIC_MSI_IRQ to prevent that.

Fixes: 72e257c6f058 ("irqchip: Provide irq-msi-lib")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/b0c44007f3b7e062228349a2395f8d850050db33.1751277765.git.namcao@linutronix.de
Closes: https://lore.kernel.org/oe-kbuild-all/202506282256.cHlEHrdc-lkp@intel.com/
drivers/irqchip/Kconfig

index 0d196e44714266f8ea91e5d72951ef16af44a5df..c3928ef79344900d61432e06810628fd24439625 100644 (file)
@@ -74,6 +74,7 @@ config ARM_VIC_NR
 
 config IRQ_MSI_LIB
        bool
+       select GENERIC_MSI_IRQ
 
 config ARMADA_370_XP_IRQ
        bool