diff options
author | Borislav Petkov <[email protected]> | 2016-03-31 16:21:02 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-04-13 11:52:19 +0200 |
commit | 91ed140d6c1e168b11bbbddac4f6066f40a0c6b5 (patch) | |
tree | e583014dbc2759b04ba3e1ff09af0e1683f09ad7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 60a0e2039e3df6c0a2b896bd78af36ff36fb629c (diff) |
x86/asm: Make sure verify_cpu() has a good stack
04633df0c43d ("x86/cpu: Call verify_cpu() after having entered long mode too")
added the call to verify_cpu() for sanitizing CPU configuration.
The latter uses the stack minimally and it can happen that we land in
startup_64() directly from a 64-bit bootloader. Then we want to use our
own, known good stack.
Do that.
APs don't need this as the trampoline sets up a stack for them.
Reported-by: Tom Lendacky <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mika Penttilä <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions