Revert "riscv: Set more data to cacheinfo"
authorSong Shuai <suagrfillet@gmail.com>
Wed, 8 Mar 2023 06:47:34 +0000 (14:47 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Tue, 11 Apr 2023 23:07:53 +0000 (16:07 -0700)
commit6a24915145c922b79d3ac78f681137a4c14a6d6b
tree061c62cbff849ce28adc620343d66f028094e082
parent9c2598d43510eff09c658f9c0e0f921ba1871c4b
Revert "riscv: Set more data to cacheinfo"

This reverts commit baf7cbd94b5688f167443a2cc3dcea3300132099.

There are some duplicate cache attributes populations executed
in both ci_leaf_init() and later cache_setup_properties().

Revert the commit baf7cbd94b56 ("riscv: Set more data to cacheinfo")
to setup only the level and type attributes at this early place.

Signed-off-by: Song Shuai <suagrfillet@gmail.com>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230308064734.512457-1-suagrfillet@gmail.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/cacheinfo.c