From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752522AbdI2OJ6 (ORCPT ); Fri, 29 Sep 2017 10:09:58 -0400 Received: from mga03.intel.com ([134.134.136.65]:33711 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751972AbdI2OI3 (ORCPT ); Fri, 29 Sep 2017 10:08:29 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,452,1500966000"; d="scan'208";a="140911186" From: "Kirill A. Shutemov" To: Ingo Molnar , Linus Torvalds , x86@kernel.org, Thomas Gleixner , "H. Peter Anvin" Cc: Andrew Morton , Andy Lutomirski , Cyrill Gorcunov , Borislav Petkov , linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Kirill A. Shutemov" Subject: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1 Date: Fri, 29 Sep 2017 17:08:15 +0300 Message-Id: <20170929140821.37654-1-kirill.shutemov@linux.intel.com> X-Mailer: git-send-email 2.14.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The first bunch of patches that prepare kernel to boot-time switching between paging modes. Please review and consider applying. Andrey Ryabinin (1): x86/kasan: Use the same shadow offset for 4- and 5-level paging Kirill A. Shutemov (5): mm/sparsemem: Allocate mem_section at runtime for SPARSEMEM_EXTREME mm/zsmalloc: Prepare to variable MAX_PHYSMEM_BITS x86/xen: Provide pre-built page tables only for XEN_PV and XEN_PVH x86/xen: Drop 5-level paging support code from XEN_PV code x86/boot/compressed/64: Detect and handle 5-level paging at boot-time Documentation/x86/x86_64/mm.txt | 2 +- arch/x86/Kconfig | 1 - arch/x86/boot/compressed/head_64.S | 26 ++++- arch/x86/include/asm/pgtable-3level_types.h | 1 + arch/x86/include/asm/pgtable_64_types.h | 2 + arch/x86/kernel/Makefile | 3 +- arch/x86/kernel/head_64.S | 11 +- arch/x86/mm/kasan_init_64.c | 101 ++++++++++++++---- arch/x86/xen/mmu_pv.c | 159 +++++++++++----------------- include/linux/mmzone.h | 6 +- mm/page_alloc.c | 10 ++ mm/sparse.c | 17 +-- mm/zsmalloc.c | 13 +-- 13 files changed, 210 insertions(+), 142 deletions(-) -- 2.14.2 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f71.google.com (mail-pg0-f71.google.com [74.125.83.71]) by kanga.kvack.org (Postfix) with ESMTP id 1B6FF6B025E for ; Fri, 29 Sep 2017 10:08:30 -0400 (EDT) Received: by mail-pg0-f71.google.com with SMTP id u136so3651956pgc.5 for ; Fri, 29 Sep 2017 07:08:30 -0700 (PDT) Received: from mga03.intel.com (mga03.intel.com. [134.134.136.65]) by mx.google.com with ESMTPS id l18si3450613pfb.281.2017.09.29.07.08.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Sep 2017 07:08:28 -0700 (PDT) From: "Kirill A. Shutemov" Subject: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1 Date: Fri, 29 Sep 2017 17:08:15 +0300 Message-Id: <20170929140821.37654-1-kirill.shutemov@linux.intel.com> Sender: owner-linux-mm@kvack.org List-ID: To: Ingo Molnar , Linus Torvalds , x86@kernel.org, Thomas Gleixner , "H. Peter Anvin" Cc: Andrew Morton , Andy Lutomirski , Cyrill Gorcunov , Borislav Petkov , linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Kirill A. Shutemov" The first bunch of patches that prepare kernel to boot-time switching between paging modes. Please review and consider applying. Andrey Ryabinin (1): x86/kasan: Use the same shadow offset for 4- and 5-level paging Kirill A. Shutemov (5): mm/sparsemem: Allocate mem_section at runtime for SPARSEMEM_EXTREME mm/zsmalloc: Prepare to variable MAX_PHYSMEM_BITS x86/xen: Provide pre-built page tables only for XEN_PV and XEN_PVH x86/xen: Drop 5-level paging support code from XEN_PV code x86/boot/compressed/64: Detect and handle 5-level paging at boot-time Documentation/x86/x86_64/mm.txt | 2 +- arch/x86/Kconfig | 1 - arch/x86/boot/compressed/head_64.S | 26 ++++- arch/x86/include/asm/pgtable-3level_types.h | 1 + arch/x86/include/asm/pgtable_64_types.h | 2 + arch/x86/kernel/Makefile | 3 +- arch/x86/kernel/head_64.S | 11 +- arch/x86/mm/kasan_init_64.c | 101 ++++++++++++++---- arch/x86/xen/mmu_pv.c | 159 +++++++++++----------------- include/linux/mmzone.h | 6 +- mm/page_alloc.c | 10 ++ mm/sparse.c | 17 +-- mm/zsmalloc.c | 13 +-- 13 files changed, 210 insertions(+), 142 deletions(-) -- 2.14.2 -- 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