Skip to content

Commit 7fd8539

Browse files
inochisaMingcongBai
authored andcommitted
FROMLIST: 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 it also supports multiple PCI MSI interrupts. Add MSI_FLAG_MULTI_PCI_MSI flag for the supported_flags of SG2044 msi_parent_ops so the PCIe controller driver can use this feature if it also supports this feature. Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Link: https://lore.kernel.org/r/20250813232835.43458-5-inochiama@gmail.com Signed-off-by: Han Gao <rabenda.cn@gmail.com>
1 parent 1361f63 commit 7fd8539

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/irqchip/irq-sg2042-msi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ static const struct msi_parent_ops sg2042_msi_parent_ops = {
212212
MSI_FLAG_PCI_MSI_STARTUP_PARENT)
213213

214214
#define SG2044_MSI_FLAGS_SUPPORTED (MSI_GENERIC_FLAGS_MASK | \
215+
MSI_FLAG_MULTI_PCI_MSI | \
215216
MSI_FLAG_PCI_MSIX)
216217

217218
static const struct msi_parent_ops sg2044_msi_parent_ops = {

0 commit comments

Comments
 (0)