From c787cbc43e853db7849e58a128e577f7d33ada5b Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Wed, 2 Apr 2025 15:25:22 +0100 Subject: [PATCH] PCI: pcie-brcmstb: fake MSIx support on internal MSI target Apparently some NVMe SSD implementations don't fall back to MSI cleanly, instead making the driver allocate one queue via the legacy interrupt. There are still only 32 vectors available, but should be sufficient for the majority of use-cases on BCM2711. Signed-off-by: Jonathan Bell --- drivers/pci/controller/pcie-brcmstb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/pcie-brcmstb.c b/drivers/pci/controller/pcie-brcmstb.c index c9cc08c5657a3e..a8e82e7d4f4bee 100644 --- a/drivers/pci/controller/pcie-brcmstb.c +++ b/drivers/pci/controller/pcie-brcmstb.c @@ -666,7 +666,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_NO_AFFINITY | MSI_FLAG_MULTI_PCI_MSI, + MSI_FLAG_NO_AFFINITY | MSI_FLAG_MULTI_PCI_MSI | MSI_FLAG_PCI_MSIX, .chip = &brcm_msi_irq_chip, };