aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorHidetoshi Seto <[email protected]>2009-08-26 16:20:36 +0900
committerIngo Molnar <[email protected]>2009-08-26 20:21:11 +0200
commit680b6cfd3cee30a7d997d49430fb73af84523853 (patch)
treeb1ba1c3acb3611fc84aaaa5d5216a64db3b6a06e /tools/perf/scripts/python/check-perf-trace.py
parentbf783f9f7d33576815bc89f9f1856a7309ea2f17 (diff)
x86, mce: CE in last bank prevents panic by unknown MCE
If MCE handler is called but none of mces_seen have machine check event which might signal the MCE (i.e. event higher than MCE_KEEP_SEVERITY), panic with "Machine check from unknown source" will be taken since the MCE is assumed to be signaled from external agent or so. Usually mces_seen never point MCE_KEEP_SEVERITY event such as CE. But it can happen because initial value of mces_seen is accidentally modified by mce_no_way_out() - in case if mce_no_way_out() run through all banks and the last bank has the CE, mces_seen points the CE and the "panic by unknown" will not be taken. This patch fixes this undesired behavior, and clarifies the logic. Signed-off-by: Hidetoshi Seto <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Jin Dongming <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Reported-by: Jin Dongming <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions