Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2909868yba; Tue, 16 Apr 2019 00:05:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqzMFhtkG4v+qXK3HzJUiBa1vFAYAroRSL8NCl9AgBhCZeNm70qPgBt1cJ6eHScZE0mbaUyp X-Received: by 2002:a17:902:f084:: with SMTP id go4mr77734232plb.235.1555398337853; Tue, 16 Apr 2019 00:05:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555398337; cv=none; d=google.com; s=arc-20160816; b=LNq1xoxxzJrs2sd78Wo/ysE6fHlg1+dsUMSVzrjZ9iu6vGm5LwySfiDPKwLjle9P1/ trIp6+Ul/2B8nyHmG5VtUTrc7d7Ka9gFDSs6x9Pljvef01+0gHSB6q7eHVh2z2XK92RW AuFHnOeU2+OQAM+XTR8X3V9ln2Vra8pc0gF2O4qxVXKyrLUuGHj8C9YxFN7sEo4oklbw fAENBBfcn4j4TBUHMEl55ATvgIgIh+sbLX5RgkP6wgnnM4uAidPtY475wNHjhafZwO1r rUq4bFkrCJL7naI+qTGSwljEZSUfcibImpfIO7tq8A0a4nAVg2qGJM3fwQWMZ01kS9+j 6OfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date; bh=8XFP0dt3YRNEOUcxzVMrCIBgzLR+LHKDP3dZ1VC2ZIY=; b=SjhAnQD60qNWZpZt3Jk06qnGFyuiL5/I4HQ/LMvnAcFmppK0W5vGcqhHxg0l7CK+tU 7Qg3Ck3my1uMK2WUWFtTiXn/9XQjk1vUXl1z6O4gByJs7FmCT18GujnP5pFA8kkdZXc6 9Ufy8NthlFUc5+9LBZFli5tKECBMPSpHgoIMUE4V5lblQ8ufni8Zq6zoeZpUmADqbL5b YHSYEhbCpYGmOxIn6xHr1so26M86GjPqrL5cyETW4C2Xy5nOXu/7bxMvMxZXEKBrjTAf sddOvKMVQGOc5rWOxSa4MgpGvqnbw7oFLTZEg8RYSljkuAhizGDYWlZChIqBXTYdGdHp aPeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m79si50285904pfi.81.2019.04.16.00.05.21; Tue, 16 Apr 2019 00:05:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727916AbfDPHEm (ORCPT + 99 others); Tue, 16 Apr 2019 03:04:42 -0400 Received: from terminus.zytor.com ([198.137.202.136]:56717 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726147AbfDPHEm (ORCPT ); Tue, 16 Apr 2019 03:04:42 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id x3G74BlA3322917 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 16 Apr 2019 00:04:11 -0700 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id x3G749NN3322913; Tue, 16 Apr 2019 00:04:09 -0700 Date: Tue, 16 Apr 2019 00:04:09 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Stephen Kitt Message-ID: Cc: brgerst@gmail.com, bp@alien8.de, riel@surriel.com, mingo@kernel.org, steve@sk2.org, tglx@linutronix.de, dave.hansen@linux.intel.com, hpa@zytor.com, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, luto@kernel.org, peterz@infradead.org Reply-To: mingo@kernel.org, steve@sk2.org, torvalds@linux-foundation.org, riel@surriel.com, hpa@zytor.com, bp@alien8.de, brgerst@gmail.com, peterz@infradead.org, luto@kernel.org, dave.hansen@linux.intel.com, linux-kernel@vger.kernel.org, tglx@linutronix.de In-Reply-To: <20190415150853.10354-1-steve@sk2.org> References: <20190415150853.10354-1-steve@sk2.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/mm] x86/mm: Fix the 56-bit addresses memory map in Documentation/x86/x86_64/mm.txt Git-Commit-ID: 89502a01979033a1c0c0c4d6d9aef07e59021005 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=2.4 required=5.0 tests=ALL_TRUSTED,BAYES_00, DATE_IN_FUTURE_12_24,FREEMAIL_FORGED_REPLYTO autolearn=no autolearn_force=no version=3.4.2 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 89502a01979033a1c0c0c4d6d9aef07e59021005 Gitweb: https://git.kernel.org/tip/89502a01979033a1c0c0c4d6d9aef07e59021005 Author: Stephen Kitt AuthorDate: Mon, 15 Apr 2019 17:08:53 +0200 Committer: Ingo Molnar CommitDate: Tue, 16 Apr 2019 09:00:34 +0200 x86/mm: Fix the 56-bit addresses memory map in Documentation/x86/x86_64/mm.txt This fixes a PT typo, and the following 56-bit address-space addresses: * the hole extends from 0100000000000000 to feffffffffffffff * the KASAN shadow memory area stops at fffffbffffffffff (see kasan.h) Signed-off-by: Stephen Kitt Cc: Andy Lutomirski Cc: Borislav Petkov Cc: Brian Gerst Cc: Dave Hansen Cc: H. Peter Anvin Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Rik van Riel Cc: Thomas Gleixner Cc: alex.popov@linux.com Cc: bhe@redhat.com Cc: corbet@lwn.net Cc: kirill.shutemov@linux.intel.com Cc: linux-doc@vger.kernel.org Link: http://lkml.kernel.org/r/20190415150853.10354-1-steve@sk2.org Signed-off-by: Ingo Molnar --- Documentation/x86/x86_64/mm.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/x86/x86_64/mm.txt b/Documentation/x86/x86_64/mm.txt index 804f9426ed17..6cbe652d7a49 100644 --- a/Documentation/x86/x86_64/mm.txt +++ b/Documentation/x86/x86_64/mm.txt @@ -72,7 +72,7 @@ Complete virtual memory map with 5-level page tables Notes: - With 56-bit addresses, user-space memory gets expanded by a factor of 512x, - from 0.125 PB to 64 PB. All kernel mappings shift down to the -64 PT starting + from 0.125 PB to 64 PB. All kernel mappings shift down to the -64 PB starting offset and many of the regions expand to support the much larger physical memory supported. @@ -83,7 +83,7 @@ Notes: 0000000000000000 | 0 | 00ffffffffffffff | 64 PB | user-space virtual memory, different per mm __________________|____________|__________________|_________|___________________________________________________________ | | | | - 0000800000000000 | +64 PB | ffff7fffffffffff | ~16K PB | ... huge, still almost 64 bits wide hole of non-canonical + 0100000000000000 | +64 PB | feffffffffffffff | ~16K PB | ... huge, still almost 64 bits wide hole of non-canonical | | | | virtual memory addresses up to the -64 PB | | | | starting offset of kernel mappings. __________________|____________|__________________|_________|___________________________________________________________ @@ -99,7 +99,7 @@ ____________________________________________________________|___________________ ffd2000000000000 | -11.5 PB | ffd3ffffffffffff | 0.5 PB | ... unused hole ffd4000000000000 | -11 PB | ffd5ffffffffffff | 0.5 PB | virtual memory map (vmemmap_base) ffd6000000000000 | -10.5 PB | ffdeffffffffffff | 2.25 PB | ... unused hole - ffdf000000000000 | -8.25 PB | fffffdffffffffff | ~8 PB | KASAN shadow memory + ffdf000000000000 | -8.25 PB | fffffbffffffffff | ~8 PB | KASAN shadow memory __________________|____________|__________________|_________|____________________________________________________________ | | Identical layout to the 47-bit one from here on: