[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAYs2=gV7qT=EjPuxBTyHPWW44qA1wEPuYnT-hz+4Cxz844KfQ@mail.gmail.com>
Date: Thu, 14 Sep 2023 02:08:06 +0000
From: Song Shuai <suagrfillet@...il.com>
To: Song Shuai <songshuaishuai@...ylab.org>
Cc: paul.walmsley@...ive.com, palmer@...belt.com,
aou@...s.berkeley.edu, ajones@...tanamicro.com,
alexghiti@...osinc.com, anup@...infault.org, guoren@...nel.org,
samuel@...lland.org, rppt@...nel.org, panqinglin2020@...as.ac.cn,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] riscv: mm: Update the comment of CONFIG_PAGE_OFFSET
Song Shuai <songshuaishuai@...ylab.org> 于2023年8月9日周三 03:12写道:
>
> From: Song Shuai <suagrfillet@...il.com>
>
> 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 <suagrfillet@...il.com>
> ---
> 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
>
Ping...
--
Thanks,
Song
Powered by blists - more mailing lists