irqchip/sg2042-msi: Set MSI_FLAG_MULTI_PCI_MSI flags for SG2044
authorInochi Amaoto <inochiama@gmail.com>
Wed, 13 Aug 2025 23:28:34 +0000 (07:28 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 23 Aug 2025 19:21:13 +0000 (21:21 +0200)
commit7ee4a5a2ec3748facfb4ca96e4cce6cabbdecab2
tree6dc95132e73280b9b4fa6dc2a16b2eda6cd12467
parent9d8c41816bac518b4824f83b346ae30a1be83f68
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
drivers/irqchip/irq-sg2042-msi.c