aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Elwell <phil@raspberrypi.com>2020-12-03 13:44:42 +0000
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2024-02-09 10:08:53 +0200
commiteeb64c2a6dbf116079a1d88452079fa4ffbb8e06 (patch)
treeea5bccf08af474b52511bb1ee7346a161b406d5c
parent43912119adbf83b1ce0079c818fc1bd1b6597efd (diff)
downloadlinux-eeb64c2a6dbf116079a1d88452079fa4ffbb8e06.tar.gz
PCI: brcmstb: Advertise MSI-X support
Although the BRCMSTB PCIe interface doesn't technically support the MSI-X spec, in practise it seems to work provided no more than 32 MSI-Xs are required. Add the required flag to the driver to allow experimentation with devices that demand MSI-X support. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-rw-r--r--drivers/pci/controller/pcie-brcmstb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/pcie-brcmstb.c b/drivers/pci/controller/pcie-brcmstb.c
index 5b0730c3891b84..d9f9bd3dacff03 100644
--- a/drivers/pci/controller/pcie-brcmstb.c
+++ b/drivers/pci/controller/pcie-brcmstb.c
@@ -446,7 +446,7 @@ static struct irq_chip brcm_msi_irq_chip = {
static struct msi_domain_info brcm_msi_domain_info = {
.flags = (MSI_FLAG_USE_DEF_DOM_OPS | MSI_FLAG_USE_DEF_CHIP_OPS |
- MSI_FLAG_MULTI_PCI_MSI),
+ MSI_FLAG_MULTI_PCI_MSI | MSI_FLAG_PCI_MSIX),
.chip = &brcm_msi_irq_chip,
};