Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

irqchip/sg2042-msi: Set MSI_FLAG_MULTI_PCI_MSI flags for SG2044

The MSI controller on SG2044 has the ability to allocate multiple PCI MSI
interrupts. So the PCIe controller driver can use this feature if the
hardware supports multiple PCI MSI interrupts.

Add the MSI_FLAG_MULTI_PCI_MSI flag to the supported_flags of SG2044
msi_parent_ops to enable this functionality.

Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Chen Wang <unicorn_wang@outlook.com> # Pioneerbox
Reviewed-by: Chen Wang <unicorn_wang@outlook.com>
Link: https://lore.kernel.org/all/20250813232835.43458-5-inochiama@gmail.com

authored by

Inochi Amaoto and committed by
Thomas Gleixner
7ee4a5a2 9d8c4181

+1
+1
drivers/irqchip/irq-sg2042-msi.c
··· 212 212 MSI_FLAG_PCI_MSI_STARTUP_PARENT) 213 213 214 214 #define SG2044_MSI_FLAGS_SUPPORTED (MSI_GENERIC_FLAGS_MASK | \ 215 + MSI_FLAG_MULTI_PCI_MSI | \ 215 216 MSI_FLAG_PCI_MSIX) 216 217 217 218 static const struct msi_parent_ops sg2044_msi_parent_ops = {