[PATCHv3 0/7] x86: 5-level paging enabling for v4.12, Part 3

From: Kirill A. Shutemov
Date: Thu Mar 30 2017 - 04:09:13 EST


Here's the third bunch of patches of 5-level patchset.

This time we prepare code to handle non-folded version of the additional page
table level.

v3:
- rebased onto tip/master;
v2:
- address Ingo's and Peter's feedback;

Kirill A. Shutemov (7):
x86/boot: Detect 5-level paging support
x86/asm: Remove __VIRTUAL_MASK_SHIFT==47 assert
x86/mm: Define virtual memory map for 5-level paging
x86/paravirt: Make paravirt code support 5-level paging
x86/mm: Add basic defines/helpers for CONFIG_X86_5LEVEL
x86/kasan: Extend to support 5-level paging
x86/espfix: Add support 5-level paging

Documentation/x86/x86_64/mm.txt | 33 +++++++++++++++++++++++++---
arch/x86/Kconfig | 1 +
arch/x86/boot/cpucheck.c | 9 ++++++++
arch/x86/boot/cpuflags.c | 12 +++++++++--
arch/x86/entry/entry_64.S | 7 ++----
arch/x86/include/asm/disabled-features.h | 8 ++++++-
arch/x86/include/asm/kasan.h | 9 +++++---
arch/x86/include/asm/page_64_types.h | 10 +++++++++
arch/x86/include/asm/paravirt.h | 37 ++++++++++++++++++++++----------
arch/x86/include/asm/paravirt_types.h | 7 +++++-
arch/x86/include/asm/pgalloc.h | 2 ++
arch/x86/include/asm/pgtable_64.h | 11 ++++++++++
arch/x86/include/asm/pgtable_64_types.h | 28 +++++++++++++++++++++++-
arch/x86/include/asm/pgtable_types.h | 10 ++++++++-
arch/x86/include/asm/required-features.h | 8 ++++++-
arch/x86/include/asm/sparsemem.h | 9 ++++++--
arch/x86/kernel/espfix_64.c | 12 ++++++-----
arch/x86/kernel/paravirt.c | 9 ++++++--
arch/x86/mm/kasan_init_64.c | 18 ++++++++++++++--
arch/x86/mm/pgtable.c | 32 ++++++++++++++++++++++++++-
20 files changed, 231 insertions(+), 41 deletions(-)

--
2.11.0