diff options
author | Yazen Ghannam <[email protected]> | 2018-02-21 11:18:59 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-02-21 17:00:55 +0100 |
commit | 27bd59502702fe51d9eb00450a75b727ec6bfcb4 (patch) | |
tree | d1a4e47c1e01dd549cf91105aadb36de9b963dd0 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 68627a697c195937672ce07683094c72b1174786 (diff) |
x86/mce/AMD: Get address from already initialized block
The block address is saved after the block is initialized when
threshold_init_device() is called.
Use the saved block address, if available, rather than trying to
rediscover it.
This will avoid a call trace, when resuming from suspend, due to the
rdmsr_safe_on_cpu() call in get_block_address(). The rdmsr_safe_on_cpu()
call issues an IPI but we're running with interrupts disabled. This
triggers:
WARNING: CPU: 0 PID: 11523 at kernel/smp.c:291 smp_call_function_single+0xdc/0xe0
Signed-off-by: Yazen Ghannam <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: <[email protected]> # 4.14.x
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/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions