]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
irqchip/irq-msi-lib: Prepare for DOMAIN_BUS_WIRED_TO_MSI
authorThomas Gleixner <tglx@linutronix.de>
Sun, 23 Jun 2024 15:18:44 +0000 (17:18 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 18 Jul 2024 18:31:20 +0000 (20:31 +0200)
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
drivers/irqchip/irq-msi-lib.c

index b98a2191c8600816e9b870fd185b76709b22422a..d20a0e6e0d362bdedea91dd809377f5d56e0f46e 100644 (file)
@@ -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;