summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSong Shuai <suagrfillet@gmail.com>2023-08-09 11:10:23 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-11-28 17:20:13 +0000
commitbf564cf9cac7d9e72c1455fc015f0b81408c3703 (patch)
tree6341aeec3d2bfb4921808c5dfe1519e55b2250b9 /arch
parenta08b414d1ecec1ddc22b2d87f5c189aab1b3097b (diff)
downloadlinux-bf564cf9cac7d9e72c1455fc015f0b81408c3703.tar.gz
linux-bf564cf9cac7d9e72c1455fc015f0b81408c3703.tar.bz2
linux-bf564cf9cac7d9e72c1455fc015f0b81408c3703.zip
riscv: mm: Update the comment of CONFIG_PAGE_OFFSET
commit 559fe94a449cba5b50a7cffea60474b385598c00 upstream. 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@gmail.com> Link: https://lore.kernel.org/r/20230809031023.3575407-1-songshuaishuai@tinylab.org Cc: stable@vger.kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/riscv/include/asm/page.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/riscv/include/asm/page.h b/arch/riscv/include/asm/page.h
index 5488ecc337b6..57e887bfa34c 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)