diff options
author | Aravind Gopalakrishnan <[email protected]> | 2016-03-07 14:02:19 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-03-08 11:48:14 +0100 |
commit | 8dd1e17a55b0bb1206c71c7a4344c5e3037cdf65 (patch) | |
tree | 965582ba90770e01a42f051b2af5351b1ae95911 /tools/perf/scripts/python/stackcollapse.py | |
parent | be0aec23bf4624fd55650629fe8df20483487049 (diff) |
x86/mce/AMD: Fix logic to obtain block address
In upcoming processors, the BLKPTR field is no longer used to indicate
the MSR number of the additional register. Insted, it simply indicates
the prescence of additional MSRs.
Fix the logic here to gather MSR address from MSR_AMD64_SMCA_MCx_MISC()
for newer processors and fall back to existing logic for older
processors.
[ Drop nextaddr_out label; style cleanups. ]
Signed-off-by: Aravind Gopalakrishnan <[email protected]>
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/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions