aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorKirill A. Shutemov <[email protected]>2017-12-04 15:40:56 +0300
committerThomas Gleixner <[email protected]>2017-12-07 10:36:26 +0100
commit6d7e0ba2d2be9e50cccba213baf07e0e183c1b24 (patch)
tree7fd60dce0164cd66d4f68bc2b2158ab336f7e6b7 /tools/perf/util/c++/clang.cpp
parent08529078d8d9adf689bf39cc38d53979a0869970 (diff)
x86/boot/compressed/64: Print error if 5-level paging is not supported
If the machine does not support the paging mode for which the kernel was compiled, the boot process cannot continue. It's not possible to let the kernel detect the mismatch as it does not even reach the point where cpu features can be evaluted due to a triple fault in the KASLR setup. Instead of instantaneous silent reboot, emit an error message which gives the user the information why the boot fails. Fixes: 77ef56e4f0fb ("x86: Enable 5-level paging support via CONFIG_X86_5LEVEL=y") Reported-by: Borislav Petkov <[email protected]> Signed-off-by: Kirill A. Shutemov <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Borislav Petkov <[email protected]> Cc: Andi Kleen <[email protected]> Cc: [email protected] Cc: Andy Lutomirski <[email protected]> Cc: [email protected] Cc: Cyrill Gorcunov <[email protected]> Cc: Linus Torvalds <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions