From e8120277d4a392e6c7100470252881d6ef521f35 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(-) --- a/drivers/pci/controller/pcie-brcmstb.c +++ b/drivers/pci/controller/pcie-brcmstb.c @@ -537,7 +537,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, };