diff options
author | Yazen Ghannam <[email protected]> | 2017-06-13 18:28:34 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-06-14 07:32:09 +0200 |
commit | ec33838244c8535b23b8d24b167996fd1318bb68 (patch) | |
tree | 09eead47a92bd03c99288bf8f3f4723fc0086e0e /tools/perf/util/trace-event-scripting.c | |
parent | 86d2eac5a7045933a88c97f0453f22106bb90b54 (diff) |
x86/mce: Don't disable MCA banks when offlining a CPU on AMD
AMD systems have non-core, shared MCA banks within a die. These banks
are controlled by a master CPU per die. If this CPU is offlined then all
the shared banks are disabled in addition to the CPU's core banks.
Also, Fam17h systems may have SMT enabled. The MCA_CTL register is shared
between SMT thread siblings. If a CPU is offlined then all its sibling's
MCA banks are also disabled.
Extend the existing vendor check to AMD too.
Signed-off-by: Yazen Ghannam <[email protected]>
[ Fix up comment. ]
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions