riscv: Set more data to cacheinfo

Set cacheinfo.{size,sets,line_size} for each cache node, then we can
get these information from userland through auxiliary vector.

Signed-off-by: Zong Li <zong.li@sifive.com>
Reviewed-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
Zong Li 2020-08-31 15:33:48 +08:00 • committed by Palmer Dabbelt
commit baf7cbd94b
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889