summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2023-01-15 09:20:33 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-22 13:31:37 +0100
commitffe2318405e605f1b3985ce188eff69e6d1d1baa (patch)
treec923911625f79e0eb895f4a168578e06345f4ede /include/linux
parent09795f82aecc3e7a32271fbf9e2120be47fa0ce4 (diff)
downloadlinux-ffe2318405e605f1b3985ce188eff69e6d1d1baa.tar.gz
linux-ffe2318405e605f1b3985ce188eff69e6d1d1baa.tar.bz2
linux-ffe2318405e605f1b3985ce188eff69e6d1d1baa.zip
PCI/DPC: Await readiness of secondary bus after reset
commit 53b54ad074de1896f8b021615f65b27f557ce874 upstream. pci_bridge_wait_for_secondary_bus() is called after a Secondary Bus Reset, but not after a DPC-induced Hot Reset. As a result, the delays prescribed by PCIe r6.0 sec 6.6.1 are not observed and devices on the secondary bus may be accessed before they're ready. One affected device is Intel's Ponte Vecchio HPC GPU. It comprises a PCIe switch whose upstream port is not immediately ready after reset. Because its config space is restored too early, it remains in D0uninitialized, its subordinate devices remain inaccessible and DPC recovery fails with messages such as: i915 0000:8c:00.0: can't change power state from D3cold to D0 (config space inaccessible) intel_vsec 0000:8e:00.1: can't change power state from D3cold to D0 (config space inaccessible) pcieport 0000:89:02.0: AER: device recovery failed Fix it. Link: https://lore.kernel.org/r/9f5ff00e1593d8d9a4b452398b98aa14d23fca11.1673769517.git.lukas@wunner.de Tested-by: Ravi Kishore Koppuravuri <ravi.kishore.koppuravuri@intel.com> Signed-off-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions