diff options
author | Pali Rohár <[email protected]> | 2021-10-28 20:56:58 +0200 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2021-10-29 10:25:31 +0100 |
commit | bc4fac42e5f8460af09c0a7f2f1915be09e20c71 (patch) | |
tree | 8b9793f529b7545558eaa5016fdec018eaafc1e0 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 84e1b4045dc887b78bdc87d92927093dc3a465aa (diff) |
PCI: aardvark: Fix support for PCI_BRIDGE_CTL_BUS_RESET on emulated bridge
Aardvark supports PCIe Hot Reset via PCIE_CORE_CTRL1_REG.
Use it for implementing PCI_BRIDGE_CTL_BUS_RESET bit of PCI_BRIDGE_CONTROL
register on emulated bridge.
With this, the function pci_reset_secondary_bus() starts working and can
reset connected PCIe card. Custom userspace script [1] which uses setpci
can trigger PCIe Hot Reset and reset the card manually.
[1] https://alexforencich.com/wiki/en/pcie/hot-reset-linux
Link: https://lore.kernel.org/r/[email protected]
Fixes: 8a3ebd8de328 ("PCI: aardvark: Implement emulated root PCI bridge config space")
Signed-off-by: Pali Rohár <[email protected]>
Signed-off-by: Marek Behún <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions