Skip to content

Commit 73cbaad

Browse files
P33Mpopcornmix
authored andcommitted
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 <jonathan@raspberrypi.com>
1 parent bccdd49 commit 73cbaad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/controller/pcie-brcmstb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ static struct irq_chip brcm_msi_irq_chip = {
663663

664664
static struct msi_domain_info brcm_msi_domain_info = {
665665
.flags = MSI_FLAG_USE_DEF_DOM_OPS | MSI_FLAG_USE_DEF_CHIP_OPS |
666-
MSI_FLAG_NO_AFFINITY | MSI_FLAG_MULTI_PCI_MSI,
666+
MSI_FLAG_NO_AFFINITY | MSI_FLAG_MULTI_PCI_MSI | MSI_FLAG_PCI_MSIX,
667667
.chip = &brcm_msi_irq_chip,
668668
};
669669

0 commit comments

Comments
 (0)