From: Phil Elwell Date: Thu, 3 Dec 2020 13:44:42 +0000 (+0000) Subject: PCI: brcmstb: Advertise MSI-X support X-Git-Tag: accepted/tizen/unified/20240422.153132~711 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b98a9a291539df62272195f6694bb690593b40e;p=platform%2Fkernel%2Flinux-rpi.git 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 --- diff --git a/drivers/pci/controller/pcie-brcmstb.c b/drivers/pci/controller/pcie-brcmstb.c index 0399c82..60e33e0 100644 --- a/drivers/pci/controller/pcie-brcmstb.c +++ b/drivers/pci/controller/pcie-brcmstb.c @@ -442,7 +442,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, };