[PATCH 0/6] x86: 5-level paging enabling for v4.12, Part 2

From: Kirill A. Shutemov
Date: Fri Mar 17 2017 - 14:57:38 EST


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

These patches finish switching x86 from <asm-generic/5level-fixup.h>
to <asm-generic/pgtable-nop4d.h>.

Please review and consider applying.

Kirill A. Shutemov (6):
x86/kexec: Add 5-level paging support
x86/efi: Add 5-level paging support
x86/mm/pat: Add 5-level paging support
x86/kasan: Prepare clear_pgds() to switch to
<asm-generic/pgtable-nop4d.h>
x86/xen: Change __xen_pgd_walk() and xen_cleanmfnmap() to support p4d
x86: Convert the rest of the code to support p4d_t

arch/x86/include/asm/kexec.h | 1 +
arch/x86/include/asm/paravirt.h | 33 ++-
arch/x86/include/asm/paravirt_types.h | 12 +-
arch/x86/include/asm/pgalloc.h | 35 ++-
arch/x86/include/asm/pgtable.h | 59 ++++-
arch/x86/include/asm/pgtable_64.h | 12 +-
arch/x86/include/asm/pgtable_types.h | 10 +-
arch/x86/include/asm/xen/page.h | 8 +-
arch/x86/kernel/machine_kexec_32.c | 4 +-
arch/x86/kernel/machine_kexec_64.c | 14 +-
arch/x86/kernel/paravirt.c | 10 +-
arch/x86/mm/init_64.c | 183 ++++++++++++----
arch/x86/mm/kasan_init_64.c | 15 +-
arch/x86/mm/pageattr.c | 54 +++--
arch/x86/platform/efi/efi_64.c | 36 ++-
arch/x86/xen/mmu.c | 397 ++++++++++++++++++++--------------
arch/x86/xen/mmu.h | 1 +
include/trace/events/xen.h | 28 +--
18 files changed, 646 insertions(+), 266 deletions(-)

--
2.11.0