[PATCH 0/4] x86/boot/compressed/64: Switch between paging modes using trampoline

From: Kirill A. Shutemov
Date: Mon Mar 12 2018 - 06:03:28 EST


This patchset changes kernel decompression code to use trampoline to
switch between paging modes.

The patchset is replacement for previously reverted patch "Handle 5-level
paging boot if kernel is above 4G".

Please review and consider applying.

Kirill A. Shutemov (4):
x86/boot/compressed/64: Make sure we have 32-bit code segment
x86/boot/compressed/64: Use stack from trampoline memory
x86/boot/compressed/64: Use page table in trampoline memory
x86/boot/compressed/64: Handle 5-level paging boot if kernel is above 4G

arch/x86/boot/compressed/head_64.S | 128 ++++++++++++++++++++++++++-----------
1 file changed, 90 insertions(+), 38 deletions(-)

--
2.16.1