diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2018-05-18 13:35:25 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-05-19 11:56:57 +0200 |
commit | 372fddf709041743a93e381556f4c41aad1e28f8 (patch) | |
tree | 318f2d073ebfdd56e25f726d2675c4dd09544986 /arch/x86/boot/compressed/head_64.S | |
parent | ed7588d5dc6f5e7202fb9bbeb14d94706ba225d7 (diff) | |
download | linux-0-day-372fddf709041743a93e381556f4c41aad1e28f8.tar.gz linux-0-day-372fddf709041743a93e381556f4c41aad1e28f8.tar.xz |
x86/mm: Introduce the 'no5lvl' kernel parameter
This kernel parameter allows to force kernel to use 4-level paging even
if hardware and kernel support 5-level paging.
The option may be useful to work around regressions related to 5-level
paging.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Hugh Dickins <hughd@google.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180518103528.59260-5-kirill.shutemov@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/boot/compressed/head_64.S')
-rw-r--r-- | arch/x86/boot/compressed/head_64.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/boot/compressed/head_64.S b/arch/x86/boot/compressed/head_64.S index 8169e8b7a4dc1..64037895b0859 100644 --- a/arch/x86/boot/compressed/head_64.S +++ b/arch/x86/boot/compressed/head_64.S @@ -365,6 +365,7 @@ ENTRY(startup_64) * this function call. */ pushq %rsi + movq %rsi, %rdi /* real mode address */ call paging_prepare popq %rsi |