Skip to content

Commit 19311a3

Browse files
inochisaRevySR
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 interrupt if the controller supports it. Add the missing flag so the controller can make full use of it. Signed-off-by: Inochi Amaoto <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Han Gao <[email protected]>
1 parent 5c4b7ea commit 19311a3

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)