summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-msi-lib.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2024-06-23 17:18:44 +0200
committerThomas Gleixner <tglx@linutronix.de>2024-07-18 20:31:20 +0200
commit64a855324311ddad7a85fc0b25ce1f3914ed3425 (patch)
tree702c22ecf945d390502841d53f5554ceaaffa0d7 /drivers/irqchip/irq-msi-lib.c
parentfbfe7e13641efe811a273e1fd237929245376fe0 (diff)
irqchip/irq-msi-lib: Prepare for DOMAIN_BUS_WIRED_TO_MSI
Add the new bus token to the accepted list of child domain tokens. 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/20240623142235.207343466@linutronix.de
Diffstat (limited to 'drivers/irqchip/irq-msi-lib.c')
-rw-r--r--drivers/irqchip/irq-msi-lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/irqchip/irq-msi-lib.c b/drivers/irqchip/irq-msi-lib.c
index b98a2191c860..d20a0e6e0d36 100644
--- a/drivers/irqchip/irq-msi-lib.c
+++ b/drivers/irqchip/irq-msi-lib.c
@@ -69,6 +69,8 @@ bool msi_lib_init_dev_msi_info(struct device *dev, struct irq_domain *domain,
/* Core managed MSI descriptors */
info->flags = MSI_FLAG_ALLOC_SIMPLE_MSI_DESCS | MSI_FLAG_FREE_MSI_DESCS;
+ fallthrough;
+ case DOMAIN_BUS_WIRED_TO_MSI:
/* Remove PCI specific flags */
required_flags &= ~MSI_FLAG_PCI_MSI_MASK_PARENT;
break;