Commit 0325837c authored by Raymond Pang's avatar Raymond Pang Committed by Bjorn Helgaas
Browse files

PCI: Add ACS quirk for Zhaoxin multi-function devices

Some Zhaoxin endpoints are implemented as multi-function devices without an
ACS capability, but they actually don't support peer-to-peer transactions.
Add ACS quirks to declare DMA isolation.

Link: https://lore.kernel.org/r/20200327091148.5190-3-RaymondPang-oc@zhaoxin.com


Signed-off-by: default avatarRaymond Pang <RaymondPang-oc@zhaoxin.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 33755906
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4701,6 +4701,10 @@ static const struct pci_dev_acs_enabled {
	{ PCI_VENDOR_ID_BROADCOM, 0xD714, pci_quirk_brcm_acs },
	/* Amazon Annapurna Labs */
	{ PCI_VENDOR_ID_AMAZON_ANNAPURNA_LABS, 0x0031, pci_quirk_al_acs },
	/* Zhaoxin multi-function devices */
	{ PCI_VENDOR_ID_ZHAOXIN, 0x3038, pci_quirk_mf_endpoint_acs },
	{ PCI_VENDOR_ID_ZHAOXIN, 0x3104, pci_quirk_mf_endpoint_acs },
	{ PCI_VENDOR_ID_ZHAOXIN, 0x9083, pci_quirk_mf_endpoint_acs },
	{ 0 }
};