[PATCH 0/8] 5-level paging enabling for v4.14

From: Kirill A. Shutemov
Date: Sun Jul 16 2017 - 19:01:52 EST


Hi,

As Ingo requested, I'm resending the rebased patchset after merge window to be
queued for v4.14.

The patches was reordered and few more fixes added: for Xen and dump_pagetables.

Please consider applying.

Kirill A. Shutemov (8):
x86/dump_pagetables: Generalize address normalization
x86/dump_pagetables: Fix printout of p4d level
x86/xen: Redefine XEN_ELFNOTE_INIT_P2M using PUD_SIZE * PTRS_PER_PUD
x86/mm: Rename tasksize_32bit/64bit to task_size_32bit/64bit
x86/mpx: Do not allow MPX if we have mappings above 47-bit
x86/mm: Prepare to expose larger address space to userspace
x86/mm: Allow userspace have mapping above 47-bit
x86: Enable 5-level paging support

Documentation/x86/x86_64/5level-paging.txt | 64 ++++++++++++++++++++++++++++++
arch/x86/Kconfig | 18 +++++++++
arch/x86/include/asm/elf.h | 4 +-
arch/x86/include/asm/mpx.h | 9 +++++
arch/x86/include/asm/processor.h | 12 ++++--
arch/x86/kernel/sys_x86_64.c | 30 ++++++++++++--
arch/x86/mm/dump_pagetables.c | 29 +++++++-------
arch/x86/mm/hugetlbpage.c | 27 +++++++++++--
arch/x86/mm/mmap.c | 12 +++---
arch/x86/mm/mpx.c | 33 ++++++++++++++-
arch/x86/xen/Kconfig | 5 +++
arch/x86/xen/xen-head.S | 2 +-
12 files changed, 210 insertions(+), 35 deletions(-)
create mode 100644 Documentation/x86/x86_64/5level-paging.txt

--
2.11.0