]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: Explicit comment about user virtual address space size
authorAlexandre Ghiti <alexandre.ghiti@canonical.com>
Mon, 6 Dec 2021 10:46:53 +0000 (11:46 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 20 Jan 2022 01:54:11 +0000 (17:54 -0800)
commit28f58f1d8a1e596ed20f9cd9652b48dcc72a198d
tree55a52cb6081fb56cd7a1a849f98ff813da6f99c4
parentbae95e757403dcb90e72c5fb86b03ac328a0adbc
riscv: Explicit comment about user virtual address space size

Define precisely the size of the user accessible virtual space size
for sv32/39/48 mmu types and explain why the whole virtual address
space is split into 2 equal chunks between kernel and user space.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/pgtable.h