projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd16ac4
)
riscv: mm: Update the comment of CONFIG_PAGE_OFFSET
author
Song Shuai
<suagrfillet@gmail.com>
Wed, 9 Aug 2023 03:10:23 +0000
(11:10 +0800)
committer
Palmer Dabbelt
<palmer@rivosinc.com>
Wed, 1 Nov 2023 02:15:55 +0000
(19:15 -0700)
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>
arch/riscv/include/asm/page.h
patch
|
blob
|
history
diff --git
a/arch/riscv/include/asm/page.h
b/arch/riscv/include/asm/page.h
index 5488ecc337b63fd5505c92165695131723d85bff..57e887bfa34cb70b3d829d13dbb80c3fc6bf7ba9 100644
(file)
--- 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 SV
48
address space so
- * define the PAGE_OFFSET value for SV39.
+ * By default, CONFIG_PAGE_OFFSET value corresponds to SV
57
address space so
+ * define the PAGE_OFFSET value for SV
48 and SV
39.
*/
#define PAGE_OFFSET_L4 _AC(0xffffaf8000000000, UL)
#define PAGE_OFFSET_L3 _AC(0xffffffd800000000, UL)