From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH 0/6] x86: 5-level paging enabling for v4.12, Part 1 Date: Tue, 14 Mar 2017 08:47:29 +0100 Message-ID: <20170314074729.GA23151@gmail.com> References: <20170313143309.16020-1-kirill.shutemov@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-wm0-f68.google.com ([74.125.82.68]:34873 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750914AbdCNHre (ORCPT ); Tue, 14 Mar 2017 03:47:34 -0400 Content-Disposition: inline In-Reply-To: <20170313143309.16020-1-kirill.shutemov@linux.intel.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: "Kirill A. Shutemov" Cc: Linus Torvalds , Andrew Morton , x86@kernel.org, Thomas Gleixner , Ingo Molnar , Arnd Bergmann , "H. Peter Anvin" , Andi Kleen , Dave Hansen , Andy Lutomirski , Michal Hocko , linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org * Kirill A. Shutemov wrote: > Here's the first bunch of patches of 5-level patchset. Let's see if I'm on > right track addressing Ingo's feedback. :) > > These patches prepare x86 code to be switched from > to . It's a stepping stone for adding 5-level > paging support. > > Please review and consider applying. > > Kirill A. Shutemov (6): > x86/mm: Extend headers with basic definitions to support 5-level > paging > x86/mm: Convert trivial cases of page table walk to 5-level paging > x86/gup: Add 5-level paging support > x86/ident_map: Add 5-level paging support > x86/vmalloc: Add 5-level paging support > x86/power: Add 5-level paging support > > arch/x86/include/asm/pgtable-2level_types.h | 1 + > arch/x86/include/asm/pgtable-3level_types.h | 1 + > arch/x86/include/asm/pgtable.h | 26 +++++++++--- > arch/x86/include/asm/pgtable_64_types.h | 1 + > arch/x86/include/asm/pgtable_types.h | 30 ++++++++++++- > arch/x86/kernel/tboot.c | 6 ++- > arch/x86/kernel/vm86_32.c | 6 ++- > arch/x86/mm/fault.c | 66 +++++++++++++++++++++++++---- > arch/x86/mm/gup.c | 33 ++++++++++++--- > arch/x86/mm/ident_map.c | 51 +++++++++++++++++++--- > arch/x86/mm/init_32.c | 22 +++++++--- > arch/x86/mm/ioremap.c | 3 +- > arch/x86/mm/pgtable.c | 4 +- > arch/x86/mm/pgtable_32.c | 8 +++- > arch/x86/platform/efi/efi_64.c | 13 ++++-- > arch/x86/power/hibernate_32.c | 7 ++- > arch/x86/power/hibernate_64.c | 50 ++++++++++++++++------ > 17 files changed, 269 insertions(+), 59 deletions(-) Much better! I've applied them, with (very) minor readability edits here and there, and will push them out into tip:x86/mm and tip:master after some testing - you can use that as a base for the remaining submissions. I've also applied the GUP patch, with the assumption that you'll address Linus's request to switch x86 over to the generic version. Thanks, Ingo From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f197.google.com (mail-wr0-f197.google.com [209.85.128.197]) by kanga.kvack.org (Postfix) with ESMTP id B59126B038A for ; Tue, 14 Mar 2017 03:47:33 -0400 (EDT) Received: by mail-wr0-f197.google.com with SMTP id v66so49260300wrc.4 for ; Tue, 14 Mar 2017 00:47:33 -0700 (PDT) Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com. [2a00:1450:400c:c09::242]) by mx.google.com with ESMTPS id z46si3968029wrz.204.2017.03.14.00.47.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Mar 2017 00:47:32 -0700 (PDT) Received: by mail-wm0-x242.google.com with SMTP id v190so13394780wme.3 for ; Tue, 14 Mar 2017 00:47:32 -0700 (PDT) Date: Tue, 14 Mar 2017 08:47:29 +0100 From: Ingo Molnar Subject: Re: [PATCH 0/6] x86: 5-level paging enabling for v4.12, Part 1 Message-ID: <20170314074729.GA23151@gmail.com> References: <20170313143309.16020-1-kirill.shutemov@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170313143309.16020-1-kirill.shutemov@linux.intel.com> Sender: owner-linux-mm@kvack.org List-ID: To: "Kirill A. Shutemov" Cc: Linus Torvalds , Andrew Morton , x86@kernel.org, Thomas Gleixner , Ingo Molnar , Arnd Bergmann , "H. Peter Anvin" , Andi Kleen , Dave Hansen , Andy Lutomirski , Michal Hocko , linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org * Kirill A. Shutemov wrote: > Here's the first bunch of patches of 5-level patchset. Let's see if I'm on > right track addressing Ingo's feedback. :) > > These patches prepare x86 code to be switched from > to . It's a stepping stone for adding 5-level > paging support. > > Please review and consider applying. > > Kirill A. Shutemov (6): > x86/mm: Extend headers with basic definitions to support 5-level > paging > x86/mm: Convert trivial cases of page table walk to 5-level paging > x86/gup: Add 5-level paging support > x86/ident_map: Add 5-level paging support > x86/vmalloc: Add 5-level paging support > x86/power: Add 5-level paging support > > arch/x86/include/asm/pgtable-2level_types.h | 1 + > arch/x86/include/asm/pgtable-3level_types.h | 1 + > arch/x86/include/asm/pgtable.h | 26 +++++++++--- > arch/x86/include/asm/pgtable_64_types.h | 1 + > arch/x86/include/asm/pgtable_types.h | 30 ++++++++++++- > arch/x86/kernel/tboot.c | 6 ++- > arch/x86/kernel/vm86_32.c | 6 ++- > arch/x86/mm/fault.c | 66 +++++++++++++++++++++++++---- > arch/x86/mm/gup.c | 33 ++++++++++++--- > arch/x86/mm/ident_map.c | 51 +++++++++++++++++++--- > arch/x86/mm/init_32.c | 22 +++++++--- > arch/x86/mm/ioremap.c | 3 +- > arch/x86/mm/pgtable.c | 4 +- > arch/x86/mm/pgtable_32.c | 8 +++- > arch/x86/platform/efi/efi_64.c | 13 ++++-- > arch/x86/power/hibernate_32.c | 7 ++- > arch/x86/power/hibernate_64.c | 50 ++++++++++++++++------ > 17 files changed, 269 insertions(+), 59 deletions(-) Much better! I've applied them, with (very) minor readability edits here and there, and will push them out into tip:x86/mm and tip:master after some testing - you can use that as a base for the remaining submissions. I've also applied the GUP patch, with the assumption that you'll address Linus's request to switch x86 over to the generic version. Thanks, Ingo -- 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