diff options
author | Alexandre Ghiti | 2021-12-06 11:46:51 +0100 |
---|---|---|
committer | Palmer Dabbelt | 2022-01-19 17:54:09 -0800 |
commit | e8a62cc26ddf53a3c6ba2a8d33036cf7b84f3923 (patch) | |
tree | 15b9020880a651c756268a4560b8c6c720fc1031 /fs/efs/Makefile | |
parent | 60639f74c2f4fcc3ffa2ac0b120eaa874ccc713f (diff) |
riscv: Implement sv48 support
By adding a new 4th level of page table, give the possibility to 64bit
kernel to address 2^48 bytes of virtual address: in practice, that offers
128TB of virtual address space to userspace and allows up to 64TB of
physical memory.
If the underlying hardware does not support sv48, we will automatically
fallback to a standard 3-level page table by folding the new PUD level into
PGDIR level. In order to detect HW capabilities at runtime, we
use SATP feature that ignores writes with an unsupported mode.
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'fs/efs/Makefile')
0 files changed, 0 insertions, 0 deletions