aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2023-01-13 23:46:19 +0100
committerDavid S. Miller <[email protected]>2023-01-16 13:38:28 +0000
commitce870af39558448dcfabef7114b9aa389f3f895a (patch)
tree408faa00d371d55ca3edcd8360735e9cb92d34f0 /tools/perf/scripts/python/intel-pt-events.py
parent9627c981ac82209c66c1b6c0e15c6cceb8656f01 (diff)
r8169: reset bus if NIC isn't accessible after tx timeout
ASPM issues may result in the NIC not being accessible any longer. In this case disabling ASPM may not work. Therefore detect this case by checking whether register reads return ~0, and try to make the NIC accessible again by resetting the secondary bus. v2: - add exception handling for the case that pci_reset_bus() fails Suggested-by: Alexander Duyck <[email protected]> Signed-off-by: Heiner Kallweit <[email protected]> Reviewed-by: Alexander Duyck <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions