summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include/asm/pgtable.h
diff options
context:
space:
mode:
authorAlexandre Ghiti <alexandre.ghiti@canonical.com>2021-12-06 11:46:52 +0100
committerPalmer Dabbelt <palmer@rivosinc.com>2022-01-20 02:54:10 +0100
commit73c7c8f68e7266bd558227bd9c598cb90b1673cc (patch)
tree55cacfca9117a6eb158b241fa90daf30a9834554 /arch/riscv/include/asm/pgtable.h
parentriscv: Implement sv48 support (diff)
downloadlinux-73c7c8f68e7266bd558227bd9c598cb90b1673cc.tar.xz
linux-73c7c8f68e7266bd558227bd9c598cb90b1673cc.zip
riscv: Use pgtable_l4_enabled to output mmu_type in cpuinfo
Now that the mmu type is determined at runtime using SATP characteristic, use the global variable pgtable_l4_enabled to output mmu type of the processor through /proc/cpuinfo instead of relying on device tree infos. 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>
Diffstat (limited to 'arch/riscv/include/asm/pgtable.h')
0 files changed, 0 insertions, 0 deletions