summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/Kconfig
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2024-06-23 17:18:34 +0200
committerThomas Gleixner <tglx@linutronix.de>2024-07-18 20:31:19 +0200
commit72e257c6f058032daba1c4fe0c81003d545d0f81 (patch)
tree6b67f1b769d51e846efd94bf20b23a9144fa9d87 /drivers/irqchip/Kconfig
parent7d189c77106ed6df09829f7a419e35ada67b2bd0 (diff)
downloadlinux-stable-72e257c6f058032daba1c4fe0c81003d545d0f81.tar.gz
linux-stable-72e257c6f058032daba1c4fe0c81003d545d0f81.tar.bz2
linux-stable-72e257c6f058032daba1c4fe0c81003d545d0f81.zip
irqchip: Provide irq-msi-lib
All irqdomains which provide MSI parent domain functionality for per device MSI domains need to provide a select() callback for the irqdomain and a function to initialize the child domain. Most of these functions would just be copy&paste with minimal modifications, so provide a library function which implements the required functionality and is customizable via parent_domain::msi_parent_ops. The check for the supported bus tokens in msi_lib_init_dev_msi_info() is expanded step by step within the next patches. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de> Signed-off-by: Shivamurthy Shastri <shivamurthy.shastri@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20240623142234.840975799@linutronix.de
Diffstat (limited to 'drivers/irqchip/Kconfig')
-rw-r--r--drivers/irqchip/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 14464716bacb..2bf8d940504c 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -74,6 +74,9 @@ config ARM_VIC_NR
The maximum number of VICs available in the system, for
power management.
+config IRQ_MSI_LIB
+ bool
+
config ARMADA_370_XP_IRQ
bool
select GENERIC_IRQ_CHIP