File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -4699,17 +4699,21 @@ static int pci_quirk_xgene_acs(struct pci_dev *dev, u16 acs_flags)
4699
4699
* But the implementation could block peer-to-peer transactions between them
4700
4700
* and provide ACS-like functionality.
4701
4701
*/
4702
- static int pci_quirk_zhaoxin_pcie_ports_acs (struct pci_dev * dev , u16 acs_flags )
4702
+ static int pci_quirk_zhaoxin_pcie_ports_acs (struct pci_dev * dev , u16 acs_flags )
4703
4703
{
4704
4704
if (!pci_is_pcie (dev ) ||
4705
4705
((pci_pcie_type (dev ) != PCI_EXP_TYPE_ROOT_PORT ) &&
4706
4706
(pci_pcie_type (dev ) != PCI_EXP_TYPE_DOWNSTREAM )))
4707
4707
return - ENOTTY ;
4708
4708
4709
+ /*
4710
+ * Future Zhaoxin Root Ports and Switch Downstream Ports will
4711
+ * implement ACS capability in accordance with the PCIe Spec.
4712
+ */
4709
4713
switch (dev -> device ) {
4710
4714
case 0x0710 ... 0x071e :
4711
4715
case 0x0721 :
4712
- case 0x0723 ... 0x0732 :
4716
+ case 0x0723 ... 0x0752 :
4713
4717
return pci_acs_ctrl_enabled (acs_flags ,
4714
4718
PCI_ACS_SV | PCI_ACS_RR | PCI_ACS_CR | PCI_ACS_UF );
4715
4719
}
You can’t perform that action at this time.
0 commit comments