diff options
author | Lukas Wunner <[email protected]> | 2018-07-19 17:27:54 -0500 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2018-07-31 11:07:59 -0500 |
commit | 469e764c4a3c7260b353b7bc1bd56c283cb001da (patch) | |
tree | 1e07c0b18b5c7ede6ba7208777e660dc1a18f542 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7903782460ee1813d6779c968b28d0ac71b9b3ae (diff) |
PCI: pciehp: Obey compulsory command delay after resume
Upon resume from system sleep, the Slot Control register is written via:
pci_pm_resume_noirq()
pci_pm_default_resume_early()
pci_restore_state()
pci_restore_pcie_state()
PCIe r4.0, sec 6.7.3.2 says that after "issuing a write transaction that
targets any portion of the Port's Slot Control register, [...] software
must wait for [the] command to complete before issuing the next command".
pciehp currently fails to enforce that rule after the above-mentioned
write. Fix it.
(Moving restoration of the Slot Control register to pciehp doesn't seem
to make sense because the other PCIe hotplug drivers may need it as
well.)
Signed-off-by: Lukas Wunner <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions