Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1993311yba; Sat, 27 Apr 2019 11:38:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxTTlcmgI5CdFfUHESao6IK/b/YyZ47ExQp7gzsq892mR/ZgYxiDQ+PTUeMzLgSHFPrrhde X-Received: by 2002:a17:902:7689:: with SMTP id m9mr328050pll.274.1556390313186; Sat, 27 Apr 2019 11:38:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556390313; cv=none; d=google.com; s=arc-20160816; b=We53RRJBfSA+EIfh1RKSmPSgzRRVDdKHIEs+UiUVzi/G6M2ebW8zu2440BOS3Bi2G/ cfoZgmZoEF8N4V8xV75oo03N8YEqll95RAHL0KubGKZQPgnUXNxwB4uMNpASncrNAi7a 9l8hAkpjDKG7znlPx5dw4lrGeW/l+u3Dq2ldbRqTf2kRmkCAMR8Q7aTszWvoMml/2ieA /JbSzcUOiw0zSxsuWfvJCyUr9serS3LYu4wrPPEcIwpi6O/sR89s9POMSVaRkD8ndaoS CrMybGDj35Yy1DAjJ7jhq4k5byhWj7EktsWrbMTsuPVY9qADfDz8XNBgZh4zyjhIAyQV CAVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=WQj6gXdzFR8miqmqebftfIL9RL+iHbuv/4bZGOk/lPI=; b=RsfIWFR8ORIKyk9RgLhb7CUUCK/fv7cIwj0apEOnfA+6U8N5DZeE5DctbOGfMZ/JZg hYFttzIadLXnKGMhKAnn/c9ZbbhH7bKLXEACYHz+GzFlUBLD4tZFr+exYPBtcVx1Xykt V5Jp38SRChOfp0DJqZsbTgrLBs0BUtoh7W99pDXa8f59VVgh10Q/Ox7QTgKPCb5ahNSA wUsFPE+pz1pFxvkEQ3HL1tO2fegvOHqoqQSaah65vqPfYy2F8R4p2MmFsCdbnjb7j8V0 xls7zpVD2K5BvLaHdvBy7+Fb1DUvtQKFk4RTr3X2js1wFwtrQa/8zROlmQUHuLFOfp1S EW4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=SSrgUtCl; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a20si26756043pgw.465.2019.04.27.11.38.17; Sat, 27 Apr 2019 11:38:33 -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; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=SSrgUtCl; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726380AbfD0SgN (ORCPT + 99 others); Sat, 27 Apr 2019 14:36:13 -0400 Received: from casper.infradead.org ([85.118.1.10]:52398 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725942AbfD0SgN (ORCPT ); Sat, 27 Apr 2019 14:36:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=WQj6gXdzFR8miqmqebftfIL9RL+iHbuv/4bZGOk/lPI=; b=SSrgUtClOHxQ3RNxLQrl4adp6C fR8zqK3PUGkHTRmjRU3asYhs9mlJCKdygFny8+VVFrymeuEALMCEkScAD1UOJToARL8YmZCBIgCIh f+fX1B3EokfNwdK9H2LE2m/V5/WJNAWaBKn3pXcJf8R5Eqt4klWV5ovbyK7hojRobEUJllxNF2nZ5 DI47+gc+qwjZNc19LU5jQ8cOyBUiXl2zitAMJ+OurPlJZvjRsS6EhVIsxsAicLy0ArIZzl/gTf15i 486bl6Uk3uyIc6i9O+E9ZTO0OdQa7W/UYzQUVB4DZd31AW3tabFKuPS6EX2bODDELr9CkMULLmxmL inAc898Q==; Received: from 177.17.250.151.dynamic.adsl.gvt.net.br ([177.17.250.151] helo=coco.lan) by casper.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hKSBD-00059f-GC; Sat, 27 Apr 2019 18:36:08 +0000 Date: Sat, 27 Apr 2019 15:36:02 -0300 From: Mauro Carvalho Chehab To: Changbin Du Cc: Jonathan Corbet , tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, x86@kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 24/27] Documentation: x86: convert x86_64/5level-paging.txt to reST Message-ID: <20190427153602.14835973@coco.lan> In-Reply-To: <20190426153150.21228-25-changbin.du@gmail.com> References: <20190426153150.21228-1-changbin.du@gmail.com> <20190426153150.21228-25-changbin.du@gmail.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, 26 Apr 2019 23:31:47 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. > > Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab > --- > .../{5level-paging.txt => 5level-paging.rst} | 16 +++++++++++----- > Documentation/x86/x86_64/index.rst | 1 + > 2 files changed, 12 insertions(+), 5 deletions(-) > rename Documentation/x86/x86_64/{5level-paging.txt => 5level-paging.rst} (91%) > > diff --git a/Documentation/x86/x86_64/5level-paging.txt b/Documentation/x86/x86_64/5level-paging.rst > similarity index 91% > rename from Documentation/x86/x86_64/5level-paging.txt > rename to Documentation/x86/x86_64/5level-paging.rst > index 2432a5ef86d9..ab88a4514163 100644 > --- a/Documentation/x86/x86_64/5level-paging.txt > +++ b/Documentation/x86/x86_64/5level-paging.rst > @@ -1,5 +1,11 @@ > -== Overview == > +.. SPDX-License-Identifier: GPL-2.0 > > +============== > +5-level paging > +============== > + > +Overview > +======== > Original x86-64 was limited by 4-level paing to 256 TiB of virtual address > space and 64 TiB of physical address space. We are already bumping into > this limit: some vendors offers servers with 64 TiB of memory today. > @@ -16,16 +22,17 @@ QEMU 2.9 and later support 5-level paging. > Virtual memory layout for 5-level paging is described in > Documentation/x86/x86_64/mm.txt > > -== Enabling 5-level paging == > > +Enabling 5-level paging > +======================= > CONFIG_X86_5LEVEL=y enables the feature. > > Kernel with CONFIG_X86_5LEVEL=y still able to boot on 4-level hardware. > In this case additional page table level -- p4d -- will be folded at > runtime. > > -== User-space and large virtual address space == > - > +User-space and large virtual address space > +========================================== > On x86, 5-level paging enables 56-bit userspace virtual address space. > Not all user space is ready to handle wide addresses. It's known that > at least some JIT compilers use higher bits in pointers to encode their > @@ -58,4 +65,3 @@ One important case we need to handle here is interaction with MPX. > MPX (without MAWA extension) cannot handle addresses above 47-bit, so we > need to make sure that MPX cannot be enabled we already have VMA above > the boundary and forbid creating such VMAs once MPX is enabled. > - > diff --git a/Documentation/x86/x86_64/index.rst b/Documentation/x86/x86_64/index.rst > index 4b65d29ef459..7b8c82151358 100644 > --- a/Documentation/x86/x86_64/index.rst > +++ b/Documentation/x86/x86_64/index.rst > @@ -10,3 +10,4 @@ x86_64 Support > boot-options > uefi > mm > + 5level-paging Thanks, Mauro