Skip to content

Commit db2f77e

Browse files
sbasavapatnabjorn-helgaas
authored andcommitted
PCI: Add ACS quirk for Broadcom BCM57414 NIC
The Broadcom BCM57414 NIC may be a multi-function device. While it does not advertise an ACS capability, peer-to-peer transactions are not possible between the individual functions, so it is safe to treat them as fully isolated. Add an ACS quirk for this device so the functions can be in independent IOMMU groups and attached individually to userspace applications using VFIO. [bhelgaas: commit log] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sriharsha Basavapatna <[email protected]> Signed-off-by: Michael Chan <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Cc: [email protected]
1 parent e8946a5 commit db2f77e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/pci/quirks.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4840,6 +4840,8 @@ static const struct pci_dev_acs_enabled {
48404840
{ PCI_VENDOR_ID_AMPERE, 0xE00A, pci_quirk_xgene_acs },
48414841
{ PCI_VENDOR_ID_AMPERE, 0xE00B, pci_quirk_xgene_acs },
48424842
{ PCI_VENDOR_ID_AMPERE, 0xE00C, pci_quirk_xgene_acs },
4843+
/* Broadcom multi-function device */
4844+
{ PCI_VENDOR_ID_BROADCOM, 0x16D7, pci_quirk_mf_endpoint_acs },
48434845
{ PCI_VENDOR_ID_BROADCOM, 0xD714, pci_quirk_brcm_acs },
48444846
/* Amazon Annapurna Labs */
48454847
{ PCI_VENDOR_ID_AMAZON_ANNAPURNA_LABS, 0x0031, pci_quirk_al_acs },

0 commit comments

Comments
 (0)