Skip to content

Commit 66d2694

Browse files
Xiao Congopsiff
authored andcommitted
PCI: Add ACS quirk for phytium root and switch ports
The phytium PCIe root ports and X100 switch do not support ACS at this point. However, the hardware provides isolation and source validation through the SMMU. The stream ID generated by the PCIe ports contain both the bus/device/function number as well as the port ID in its 3 most significant bits. Turn on ACS but disable all the peer-to-peer features. Mainline: Open-Source Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn> Signed-off-by: Xiao Cong <xiaocong1866@phytium.com.cn> Change-Id: I468f41916ea98f7bc27744e5f9913aec47042638
1 parent 1d6aa09 commit 66d2694

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

drivers/pci/quirks.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5380,6 +5380,10 @@ static const struct pci_dev_acs_enabled {
53805380
{ PCI_VENDOR_ID_MUCSE, 0x1c21, pci_quirk_mf_endpoint_acs },
53815381
{ PCI_VENDOR_ID_MUCSE, 0x1061, pci_quirk_mf_endpoint_acs },
53825382
{ PCI_VENDOR_ID_MUCSE, 0x1c61, pci_quirk_mf_endpoint_acs },
5383+
/* Phytium Technology */
5384+
{ PCI_VENDOR_ID_PLX, PCI_ANY_ID, pci_quirk_xgene_acs },
5385+
{ PCI_VENDOR_ID_CDNS, PCI_ANY_ID, pci_quirk_xgene_acs },
5386+
{ PCI_VENDOR_ID_PHYTIUM, PCI_ANY_ID, pci_quirk_xgene_acs },
53835387
{ 0 }
53845388
};
53855389

0 commit comments

Comments
 (0)