File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4709,17 +4709,21 @@ static int pci_quirk_xgene_acs(struct pci_dev *dev, u16 acs_flags)
47094709 * But the implementation could block peer-to-peer transactions between them
47104710 * and provide ACS-like functionality.
47114711 */
4712- static int pci_quirk_zhaoxin_pcie_ports_acs (struct pci_dev * dev , u16 acs_flags )
4712+ static int pci_quirk_zhaoxin_pcie_ports_acs (struct pci_dev * dev , u16 acs_flags )
47134713{
47144714 if (!pci_is_pcie (dev ) ||
47154715 ((pci_pcie_type (dev ) != PCI_EXP_TYPE_ROOT_PORT ) &&
47164716 (pci_pcie_type (dev ) != PCI_EXP_TYPE_DOWNSTREAM )))
47174717 return - ENOTTY ;
47184718
4719+ /*
4720+ * Future Zhaoxin Root Ports and Switch Downstream Ports will
4721+ * implement ACS capability in accordance with the PCIe Spec.
4722+ */
47194723 switch (dev -> device ) {
47204724 case 0x0710 ... 0x071e :
47214725 case 0x0721 :
4722- case 0x0723 ... 0x0732 :
4726+ case 0x0723 ... 0x0752 :
47234727 return pci_acs_ctrl_enabled (acs_flags ,
47244728 PCI_ACS_SV | PCI_ACS_RR | PCI_ACS_CR | PCI_ACS_UF );
47254729 }
You can’t perform that action at this time.
0 commit comments