Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1137774pxb; Sun, 12 Sep 2021 09:03:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYbPT7dWibz0ttqfqRd46076RmVLNZbBXKLL2ePu0EifBJhb+hC66bV0QjwKuYXuMaqz0Y X-Received: by 2002:a17:906:b782:: with SMTP id dt2mr8044169ejb.310.1631462598923; Sun, 12 Sep 2021 09:03:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631462598; cv=none; d=google.com; s=arc-20160816; b=GGjT7V3NXeV6bHrFosO6aVxoYnk2DKvQnOmLzMl4AmtwaT277Hub6sLEZ9eil+VRFA UbvFZ2ey39aYiPyQd5ZsgObb5tvMYA8EUZljmCmwMSYBt+AhrmszHdwIA3LTkXHoEdOI IglQn2eJka0s6zMt7oHE5x9MrEOI145zsMM/FcVrwPSui17Dr7xPo+7sIAWxVUha1FNL bzhv1kPPx0tItdDoSkXIfMS7dK+8iZFkjtkHRhzXiI3gmDZGUcxHB5dloXMmLMDYa6h3 jZVtLj6KEva8tog0C+xW/Q17aKyVv5eOnP3m/tODwF/lpJJaDvO477bqRFq/1mx/qds9 rCvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=upvN2MYelUzY5lyDQ8+XbtdOGtkzwLZsz1vj/wPeCMI=; b=jDXBZH639QUPmm8fabysrID24WdgTx2oWz+ncUiA8psp7SOi7a1oq5yjsa9J2aZQsq cooatd9/iV8Ku8NdTGuIjrjLevHh8WTzD2mWK6GoQHDVxXKPMtSLQNgj0M4CuG3GBSDV P2uWoiISIcsRK8t3qpPqAcnuxcd6Dzrdca6tyOAZakF+kQqXXjiRFcmCWqmD6+jTniqb tL2QxH9wjAZk+wvA20uqMA2VQhAu6kxct1PQ4jO3WjIZQq/C6u8jTBMiGm8tPQdFsX4q 6EnyUIEeMbuLL7yt7AoPwSeyTYHAQk/kdGc9rdOgsTdL9w4+AUc/J8gv3AWQWcayPw+0 BgTw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j13si4593050edw.440.2021.09.12.09.02.53; Sun, 12 Sep 2021 09:03:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235626AbhILQAc (ORCPT + 99 others); Sun, 12 Sep 2021 12:00:32 -0400 Received: from atcsqr.andestech.com ([60.248.187.195]:43868 "EHLO ATCSQR.andestech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235577AbhILQAb (ORCPT ); Sun, 12 Sep 2021 12:00:31 -0400 Received: from ATCSQR.andestech.com (localhost [127.0.0.2] (may be forged)) by ATCSQR.andestech.com with ESMTP id 18CFqNbK066105; Sun, 12 Sep 2021 23:52:23 +0800 (GMT-8) (envelope-from ycliang@andestech.com) Received: from mail.andestech.com (ATCPCS16.andestech.com [10.0.1.222]) by ATCSQR.andestech.com with ESMTP id 18CFppbW066052; Sun, 12 Sep 2021 23:51:51 +0800 (GMT-8) (envelope-from ycliang@andestech.com) Received: from ubuntu01.andestech.com (192.168.21.16) by ATCPCS16.andestech.com (10.0.1.222) with Microsoft SMTP Server id 14.3.498.0; Sun, 12 Sep 2021 23:51:54 +0800 From: Leo Yu-Chi Liang To: , , , , CC: , Subject: [PATCH 1/2] doc: Fix typo in Documentation/riscv/vm-layout Date: Sun, 12 Sep 2021 15:51:49 +0000 Message-ID: <20210912155149.130332-1-ycliang@andestech.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [192.168.21.16] X-DNSRBL: X-MAIL: ATCSQR.andestech.com 18CFqNbK066105 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Leo Yu-Chi Liang Fix a typo of the End Addr field for `direct mapping` section. The value 0xffffffff7fffffff - 0xffffffe000000000 is 126 GB and is not equal to value in the size field. Update the value to make sense of the memory layout table. Signed-off-by: Leo Yu-Chi Liang --- Documentation/riscv/vm-layout.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/riscv/vm-layout.rst b/Documentation/riscv/vm-layout.rst index b7f98930d38d..2525cf0d6794 100644 --- a/Documentation/riscv/vm-layout.rst +++ b/Documentation/riscv/vm-layout.rst @@ -52,7 +52,7 @@ RISC-V Linux Kernel SV39 ffffffceff000000 | -196 GB | ffffffceffffffff | 16 MB | PCI io ffffffcf00000000 | -196 GB | ffffffcfffffffff | 4 GB | vmemmap ffffffd000000000 | -192 GB | ffffffdfffffffff | 64 GB | vmalloc/ioremap space - ffffffe000000000 | -128 GB | ffffffff7fffffff | 124 GB | direct mapping of all physical memory + ffffffe000000000 | -128 GB | fffffffeffffffff | 124 GB | direct mapping of all physical memory __________________|____________|__________________|_________|____________________________________________________________ | | -- 2.25.1