[PATCHv2 0/5] x86/boot/compressed/64: Prepare trampoline memory

From: Kirill A. Shutemov
Date: Tue Feb 27 2018 - 10:42:59 EST


Here's re-split of the patch that prepares trampoline memory, but doesn't
actually uses it yet. The original patch turned out to be problematic.

The functionality should match the original patch (although I've moved a
bit more into C).

Please review and consider applying.

v2:
- Add Tested-by from Borislav
- s/__ASSEMBLER__/__ASSEMBLY__/

Kirill A. Shutemov (5):
x86/boot/compressed/64: Describe the logic behind LA57 check
x86/boot/compressed/64: Find a place for 32-bit trampoline
x86/boot/compressed/64: Save and restore trampoline memory
x86/boot/compressed/64: Set up trampoline memory
x86/boot/compressed/64: Prepare new top-level page table for
trampoline

arch/x86/boot/compressed/head_64.S | 13 +++-
arch/x86/boot/compressed/misc.c | 4 +
arch/x86/boot/compressed/pgtable.h | 20 +++++
arch/x86/boot/compressed/pgtable_64.c | 133 +++++++++++++++++++++++++++++++++-
4 files changed, 166 insertions(+), 4 deletions(-)
create mode 100644 arch/x86/boot/compressed/pgtable.h

--
2.16.1