Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3905339rdb; Thu, 14 Sep 2023 06:26:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IENaKqjCvmHXMDk3pY13s7EAn7QD7WpEZAmJpwg93ESsv9aW+k/Hul0WSpSQXUkP25XLTHG X-Received: by 2002:a05:6358:52c8:b0:135:85ec:a080 with SMTP id z8-20020a05635852c800b0013585eca080mr5079479rwz.32.1694697971370; Thu, 14 Sep 2023 06:26:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694697971; cv=none; d=google.com; s=arc-20160816; b=DizzNGXvycMFSLX+4J8rbj2O/0ttigBCL0oFLPPQXB9AR6tZr2E3UtpjfkPk/o7tkK J1ec5c93jmDt/nY9pcZxlInge82uFa78CK/7FuYfgkPUdBl67u5lYfmFjki83tTF/i96 6kKOi7kPP0IAwLa+E1/s23L1gW6+2dfXtFyVewT/bwsITq6gToiclhdV81/7A3mgi/uH v9Nl/ELVDtY+wR7Ald1jotwIezWos9JG1nh5nzuyH8tCW1/Q9P0NzHOl3KrNqxf5+9qB hNWjtjuuCO4oc61WAmOufP0852P6ZNv3ZGpTnKtxt8JGxd9NElZDD9sxJCiLQnhvIJZo tdjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=1OfD2OkoRfQyy1jdkiRqmez3LLiLCnLchd58BEe/6mI=; fh=c/Ef63DvmTV6akjkL4zQWgPL1gRW8akWAcHCcODPUzg=; b=JNLg/AK1GsFQ9tVBh5Wqe1z3awp67sKUGdHmkGK+TMiYxf51bV9HqgCwj1VZ+pqdPi +6KHVNzjBEki11qPMvisKtj7AQA09MMZoDzDps2U+AjrvlbmbeR+sQXFKymDt77K5ZZ1 LLfNTKo3BjtCE/WCZdruAN1E+HIa7CWQmh2TODopiXUJbF8ufIYVMTDtqJAYU4zFQDg9 8fP3uQodxY6wnD/BHmKwvYzt09AoanTC04w23XQnwHTN6hsiV3wspaSIfAkFKfpvpUo+ e3/Q+qJb5wC+ONvB8Knq+amR7dPZZPhUaHrQo2xgVi3Q1fHTSYBivag/NkBsaXxEtOUs kxag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Z+xLrXsf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id e66-20020a636945000000b00577a7c39aacsi1458228pgc.275.2023.09.14.06.26.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 06:26:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Z+xLrXsf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 4AA5081E14EC; Wed, 13 Sep 2023 19:09:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234367AbjINCJm (ORCPT + 99 others); Wed, 13 Sep 2023 22:09:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233549AbjINCJV (ORCPT ); Wed, 13 Sep 2023 22:09:21 -0400 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1A65271E for ; Wed, 13 Sep 2023 19:08:18 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id 98e67ed59e1d1-2746889aa89so160237a91.2 for ; Wed, 13 Sep 2023 19:08:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694657298; x=1695262098; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=1OfD2OkoRfQyy1jdkiRqmez3LLiLCnLchd58BEe/6mI=; b=Z+xLrXsfP0sQEntmtaUpgvaImem0bXokWi+vKHgvw0q3zxAD9dztFHEpIAas+nuaHe e6eavu8kFvxjurkikxdbRFZ4OpiumJDS37iEScrdjjUzEFMq3VQSz6U7i3d0NTgXONLa Ye/Bw+hR+NqKm4DVk8O+3EyB1newmH/x1wWYeunpWLM52qTAeFQ2aOGzV0jjcMSk5O0B Uab4HfkQXOgC7ycsn3F+kSn/6NZeFCh56voAKJmV42OHHxQoj2jIchYCCuXRrCfzOOzs sJCA0+7AbjiykapztK+MWg1s6eW0RV9M/L22DPQEjplDm3fdQMuZIHi7xah+MqxrJh1P KbGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694657298; x=1695262098; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1OfD2OkoRfQyy1jdkiRqmez3LLiLCnLchd58BEe/6mI=; b=RIm4NBHRwOphqQQi1txGUZmebz2SQ6FuqSF68g1RziIIQ3DpgS1g+OWxL59iOBx4Zt PvAqVTHFvzSFFjyHe9LW1hipuIkpXWqzDW3aLeCAS7iOWEyyM9rOSOkvtKNeWwLTH7cI EyHztU6J86aF+452mt1TAoskGMwZRu644LY+s/oGzF/m8hr+2IznfQVkvS9deQEqadnr J+hYoxvXjlWgVIyekdSYaQidDL6jKu6v3QjqlvrTOOtD0zRZrRYztvAtfy4p+zijt5zg jEz3z3QEJ1P5/nqg9oYa4juUbkum//2c6ElWo5Z+Y+Qi+F8RWAytyIS5mBB1SxxwPtkx pEAA== X-Gm-Message-State: AOJu0YwQFWlca/oxghueEymFPLYFDWpaMC64CevmXFUFfuHnLLUefpRz rZCiG6x0bwlFiIM38svQ6XlQJH0K4BnZpa2SYzE= X-Received: by 2002:a17:90b:1d0c:b0:268:7ec:51ae with SMTP id on12-20020a17090b1d0c00b0026807ec51aemr3760831pjb.41.1694657298319; Wed, 13 Sep 2023 19:08:18 -0700 (PDT) MIME-Version: 1.0 References: <20230809031023.3575407-1-songshuaishuai@tinylab.org> In-Reply-To: <20230809031023.3575407-1-songshuaishuai@tinylab.org> From: Song Shuai Date: Thu, 14 Sep 2023 02:08:06 +0000 Message-ID: Subject: Re: [PATCH] riscv: mm: Update the comment of CONFIG_PAGE_OFFSET To: Song Shuai Cc: 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, panqinglin2020@iscas.ac.cn, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 13 Sep 2023 19:09:46 -0700 (PDT) Song Shuai =E4=BA=8E2023=E5=B9=B48=E6=9C=889= =E6=97=A5=E5=91=A8=E4=B8=89 03:12=E5=86=99=E9=81=93=EF=BC=9A > > 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 spac= e so > - * define the PAGE_OFFSET value for SV39. > + * By default, CONFIG_PAGE_OFFSET value corresponds to SV57 address spac= e 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 > Ping... --=20 Thanks, Song