PCI: Add ACS quirk for Broadcom BCM57414 NIC
authorSriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Sat, 22 May 2021 01:13:17 +0000 (21:13 -0400)
committerSasha Levin <sashal@kernel.org>
Wed, 30 Jun 2021 12:48:53 +0000 (08:48 -0400)
commit3aceaeefedfb88df35fcd67ff861f0973b86639e
tree97905168ea355c7b3e8b3beea54ce0b5ec43845a
parent0deb965d5bed0c367f175b988487c8b524bb061e
PCI: Add ACS quirk for Broadcom BCM57414 NIC

commit db2f77e2bd99dbd2fb23ddde58f0fae392fe3338 upstream.

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/1621645997-16251-1-git-send-email-michael.chan@broadcom.com
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/quirks.c