riscv: mm: Set sv57 on defaultly

This patch sets sv57 on defaultly if CONFIG_64BIT. And do fallback to try
to set sv48 on boot time if sv57 is not supported in current hardware.

Signed-off-by: Qinglin Pan <panqinglin2020@iscas.ac.cn>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
This commit is contained in:
Qinglin Pan 2022-01-27 10:48:43 +08:00 • committed by Palmer Dabbelt
commit 011f09d120
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889
5 changed files with 34 additions and 11 deletions