[tip: irq/urgent] irqchip/irq-msi-lib: Select CONFIG_GENERIC_MSI_IRQ

tip-bot2 for Nam Cao posted 1 patch 3 months, 1 week ago
drivers/irqchip/Kconfig | 1 +
1 file changed, 1 insertion(+)
[tip: irq/urgent] irqchip/irq-msi-lib: Select CONFIG_GENERIC_MSI_IRQ
Posted by tip-bot2 for Nam Cao 3 months, 1 week ago
The following commit has been merged into the irq/urgent branch of tip:

Commit-ID:     eb2c93e7028b4c9fe4761734d65ee40712d1c242
Gitweb:        https://git.kernel.org/tip/eb2c93e7028b4c9fe4761734d65ee40712d1c242
Author:        Nam Cao <namcao@linutronix.de>
AuthorDate:    Mon, 30 Jun 2025 12:26:14 +02:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Mon, 30 Jun 2025 16:59:12 +02:00

irqchip/irq-msi-lib: Select CONFIG_GENERIC_MSI_IRQ

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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 0d196e4..c3928ef 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -74,6 +74,7 @@ config ARM_VIC_NR
 
 config IRQ_MSI_LIB
 	bool
+	select GENERIC_MSI_IRQ
 
 config ARMADA_370_XP_IRQ
 	bool