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 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>