Skip to content

Commit 3d22023

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 e3f4055 commit 3d22023

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/pci/controller/pcie-brcmstb.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,8 @@ static void brcm_pcie_set_outbound_win(struct brcm_pcie *pcie,
667667
MSI_FLAG_NO_AFFINITY)
668668

669669
#define BRCM_MSI_FLAGS_SUPPORTED (MSI_GENERIC_FLAGS_MASK | \
670-
MSI_FLAG_MULTI_PCI_MSI)
670+
MSI_FLAG_MULTI_PCI_MSI | \
671+
MSI_FLAG_PCI_MSIX)
671672

672673
static const struct msi_parent_ops brcm_msi_parent_ops = {
673674
.required_flags = BRCM_MSI_FLAGS_REQUIRED,

0 commit comments

Comments
 (0)