PCI: Add ACS quirk for Broadcom BCM5760X NIC
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Fri, 10 May 2024 20:42:28 +0000 (13:42 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 28 May 2024 16:13:28 +0000 (11:13 -0500)
commit524e057b2d66b61f9b63b6db30467ab7b0bb4796
treeaa50e0ccc91a5eab0e7a91ee27dd73c12ee88165
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
PCI: Add ACS quirk for Broadcom BCM5760X NIC

The Broadcom BCM5760X 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 ok 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.

[kwilczynski: commit log]
Link: https://lore.kernel.org/linux-pci/20240510204228.73435-1-ajit.khaparde@broadcom.com
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Signed-off-by: Krzysztof WilczyƄski <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Andy Gospodarek <gospo@broadcom.com>
drivers/pci/quirks.c