Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp5087347rwb; Tue, 8 Aug 2023 20:48:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IElD+bIjMCBFA+AVrAjWy24tAyaXpJVoTwU9kO7R/zmfrSFZl4OoJpKNtMQBq1A3+dCpneR X-Received: by 2002:a05:6a00:891:b0:687:6184:def4 with SMTP id q17-20020a056a00089100b006876184def4mr1831315pfj.21.1691552888477; Tue, 08 Aug 2023 20:48:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691552888; cv=none; d=google.com; s=arc-20160816; b=B7/TBMryGOGgVaKcU/KlqN+vBXvxAaJCbEeXoN5j8V13knZMAEy8OhgUUZJQ7PXuCb MGv2ZH4BOigrJF+KYZRs+5nexh2yixGriZGYZbOGfnQAi4HjcQP+WAZ2sqKDodfLMX17 vVG2H+UoD+Gugdl9gjeWvNUb3ULPFJffz4FfFcbFBlwZrzxn8YR1cF7qa0Ljs7yiosqa yxRAiC1OZrUu73aiSUsFpiiCdUZhoFXAqlZh0Tm4snUr44xYEFfavMUDSl4C9RIJ/vSD jL/0yCxC5yR0+5TR8ht+ZaU3ujox1RVPY8hfhl9w6kKqCYcHIZJyjw6tIUB1t7tR6Gsx P10g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=1ZrBke0WgMBibWYclnNaStMELJURGf8OQ+4OrBv++kA=; fh=w/zWYm2VqkF/yP2EptOqtkVoM3zWRakb5lTWWN3g6nM=; b=0R9WGJQl7G6NC3mEDfdvLalALWG/uaCpkE67FPACaqj8k1oo/E0tpvCKgycC8052d7 LCoMgIOrQgqPpXy3sIjiEm1BE8IV2c/vRI3HsmMVGlDSvYIBDkcojmjSvYbKBDybtuMK Oth6kKaa9Nxcu4lY19txTvO3PxCTBqwN8AEiBH5vSe+ljfP47tMLz0YAtTvv3MoOLqyU m0krNr3xG4RTRXa5gjG8N7rjaoZKGIdbamlxFkR9TegiQB/PZ5S1sptHIVa0RQEfUJmt sOAnC5gniuS6SGc3bQkcWW4wxESL9Fk2GdjL7JLh9LFHeLzHnHFfTeRZN54c3cc7eL2y MRXg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h19-20020a056a00231300b0066e96a581c8si8598870pfh.261.2023.08.08.20.47.56; Tue, 08 Aug 2023 20:48:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229769AbjHIDL1 (ORCPT + 99 others); Tue, 8 Aug 2023 23:11:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229621AbjHIDL0 (ORCPT ); Tue, 8 Aug 2023 23:11:26 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4088A10F7 for ; Tue, 8 Aug 2023 20:11:22 -0700 (PDT) X-QQ-mid: bizesmtpipv601t1691550655tu60 Received: from localhost.localdomain ( [255.156.107.10]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 09 Aug 2023 11:10:46 +0800 (CST) X-QQ-SSF: 01200000000000B0B000000A0000000 X-QQ-FEAT: w8KaQ9l6q4grTOwgxeVA4itTHPKxUqvpEz73M6tPxHUQ8KoVfsJ5neYQsaOtB sKqbSt0Iy2eW9k9FsiD844IrMgJ6pC+H0KApXrbpjfoxoyHhD35EO7ouoASe2znGodHCFVf UAwDL5dASfiiZxI5FnhQRWZ1g61ZbXpLDwsrex2j3aWka30tdkqaKs5FdfFnkjaj9wZZM22 PCmQjIaCFnhR8mDxc0PtsInUuntMT0xezfQqv26+OppI5TpjpUZsb8KRXoplJG3em2ScNQB vNUpGg5wt/667B0u/ysaCSVGdKH3wQIkGve6QetD4LlfpG23M3tgbCUcPFKZzc8qHYMH9OG o9XfejTFv5tfMrmZQ0= X-QQ-GoodBg: 0 X-BIZMAIL-ID: 9490210224257605777 From: Song Shuai To: paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, ajones@ventanamicro.com, alexghiti@rivosinc.com, anup@brainfault.org, guoren@kernel.org, samuel@sholland.org, rppt@kernel.org, suagrfillet@gmail.com, panqinglin2020@iscas.ac.cn Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] riscv: mm: Update the comment of CONFIG_PAGE_OFFSET Date: Wed, 9 Aug 2023 11:10:23 +0800 Message-Id: <20230809031023.3575407-1-songshuaishuai@tinylab.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtpipv:tinylab.org:qybglogicsvrsz:qybglogicsvrsz4a-0 X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,RCVD_ILLEGAL_IP, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Song Shuai Since the commit 011f09d12052 set sv57 as default for CONFIG_64BIT, the comment of CONFIG_PAGE_OFFSET should be updated too. Fixes: 011f09d12052 ("riscv: mm: Set sv57 on defaultly") Signed-off-by: Song Shuai --- arch/riscv/include/asm/page.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/riscv/include/asm/page.h b/arch/riscv/include/asm/page.h index b55ba20903ec..53c00164c042 100644 --- a/arch/riscv/include/asm/page.h +++ b/arch/riscv/include/asm/page.h @@ -33,8 +33,8 @@ #define PAGE_OFFSET _AC(CONFIG_PAGE_OFFSET, UL) #endif /* - * By default, CONFIG_PAGE_OFFSET value corresponds to SV48 address space so - * define the PAGE_OFFSET value for SV39. + * By default, CONFIG_PAGE_OFFSET value corresponds to SV57 address space so + * define the PAGE_OFFSET value for SV48 and SV39. */ #define PAGE_OFFSET_L4 _AC(0xffffaf8000000000, UL) #define PAGE_OFFSET_L3 _AC(0xffffffd800000000, UL) -- 2.20.1