summaryrefslogtreecommitdiff
path: root/arch/riscv/configs
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@kernel.org>2021-09-08 20:30:29 +0300
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-10-05 00:16:58 +0300
commit21ccdccd21e4b0efc92fd95c9a99673c455838f0 (patch)
tree18de43d8f315a7cee64ada4fa2b6f9ac5d57bf6e /arch/riscv/configs
parentf2928e224d85e7cc139009ab17cefdfec2df5d11 (diff)
downloadlinux-21ccdccd21e4b0efc92fd95c9a99673c455838f0.tar.xz
riscv: mm: don't advertise 1 num_asid for 0 asid bits
Even if mmu doesn't support ASID, current code calculates @num_asids=1 which is misleading, so avoid setting any asid related variables in such case. Also while here, print the number of asid bits discovered even for the disabled case. Verified this on Hifive Unmatched. Reviewed-by: Anup Patel <anup@brainfault.org> Signed-off-by: Vineet Gupta <vgupta@kernel.org> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/configs')
0 files changed, 0 insertions, 0 deletions