From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f69.google.com (mail-pg0-f69.google.com [74.125.83.69]) by kanga.kvack.org (Postfix) with ESMTP id 17BAB6B0397 for ; Thu, 30 Mar 2017 04:07:40 -0400 (EDT) Received: by mail-pg0-f69.google.com with SMTP id 79so37530996pgf.2 for ; Thu, 30 Mar 2017 01:07:40 -0700 (PDT) Received: from mga03.intel.com (mga03.intel.com. [134.134.136.65]) by mx.google.com with ESMTPS id a11si1434418pfl.214.2017.03.30.01.07.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Mar 2017 01:07:39 -0700 (PDT) From: "Kirill A. Shutemov" Subject: [PATCHv3 0/7] x86: 5-level paging enabling for v4.12, Part 3 Date: Thu, 30 Mar 2017 11:07:24 +0300 Message-Id: <20170330080731.65421-1-kirill.shutemov@linux.intel.com> Sender: owner-linux-mm@kvack.org List-ID: To: Linus Torvalds , Andrew Morton , x86@kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" Cc: Andi Kleen , Dave Hansen , Andy Lutomirski , linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Kirill A. Shutemov" 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 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org