mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
Merge branch 'pci/dpc'
- Allow DPC on all Downstream Ports, not just Root Ports, when OS controls AER (Darshit Shah) * pci/dpc: PCI/DPC: Allow DPC on all Downstream Ports when OS controls AER
This commit is contained in:
commit
ea55835bc5
|
|
@ -264,7 +264,7 @@ static int get_port_device_capability(struct pci_dev *dev)
|
|||
*/
|
||||
if (pci_find_ext_capability(dev, PCI_EXT_CAP_ID_DPC) &&
|
||||
pci_aer_available() &&
|
||||
(pcie_ports_dpc_native || (services & PCIE_PORT_SERVICE_AER)))
|
||||
(pcie_ports_dpc_native || host->native_aer))
|
||||
services |= PCIE_PORT_SERVICE_DPC;
|
||||
|
||||
/* Enable bandwidth control if more than one speed is supported. */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user