aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJuan J. Alvarez <[email protected]>2018-02-15 12:49:51 -0600
committerMichael Ellerman <[email protected]>2018-02-21 11:12:27 +1100
commit521ca5a9859a870e354d1a6b84a6ff4c07bbceb0 (patch)
treebb86044c2d681abbee81543b30b26e42b42e0f94 /tools/perf/scripts/python/export-to-postgresql.py
parent91ab883eb21325ad80f3473633f794c78ac87f51 (diff)
powerpc/eeh: Fix crashes in eeh_report_resume()
The notify_resume() callback in eeh_ops is NULL on powernv, leading to crashes: NIP (null) LR eeh_report_resume+0x218/0x220 Call Trace: eeh_report_resume+0x1f0/0x220 (unreliable) eeh_pe_dev_traverse+0x98/0x170 eeh_handle_normal_event+0x3f4/0x650 eeh_handle_event+0x54/0x380 eeh_event_handler+0x14c/0x210 kthread+0x168/0x1b0 ret_from_kernel_thread+0x5c/0xb4 Fix it by adding a check before calling it. Fixes: 856e1eb9bdd4 ("PCI/AER: Add uevents in AER and EEH error/resume") Signed-off-by: Juan J. Alvarez <[email protected]> Reviewed-by: Bryant G. Ly <[email protected]> Tested-by: Carol L. Soto <[email protected]> Reviewed-by: Andrew Donnellan <[email protected]> Tested-by: Mauro S. M. Rodrigues <[email protected]> Acked-by: Michael Neuling <[email protected]> [mpe: Rewrite change log] Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions