Home
last modified time | relevance | path

Searched hist:"73 c7c8f6" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/riscv/kernel/
H A Dcpu.c73c7c8f6 Mon Dec 06 04:46:52 CST 2021 Alexandre Ghiti <alexandre.ghiti@canonical.com> 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>