diff options
| author | Bjorn Helgaas <bhelgaas@google.com> | 2026-08-21 16:40:34 -0500 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2026-08-21 16:40:34 -0500 |
| commit | ea55835bc53825bd3486a2eaa59af4b326baa4cd (patch) | |
| tree | b323cff2208b9f809367071fc3ac33b4e811f76f | |
| parent | 749fa6a99e73e66b96225868bbf15b66751c06fc (diff) | |
| parent | 97ca178c899d0049210d325b123ed024eb5ac000 (diff) | |
| download | linux-ea55835bc53825bd3486a2eaa59af4b326baa4cd.tar.gz linux-ea55835bc53825bd3486a2eaa59af4b326baa4cd.zip | |
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
| -rw-r--r-- | drivers/pci/pcie/portdrv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pcie/portdrv.c b/drivers/pci/pcie/portdrv.c index 2d6aa488fe7b..65f502602dee 100644 --- a/drivers/pci/pcie/portdrv.c +++ b/drivers/pci/pcie/portdrv.c @@ -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. */ |
