riscv: Fallback to riscv,isa
authorMayuresh Chitale <mchitale@ventanamicro.com>
Mon, 6 Jan 2025 13:04:05 +0000 (13:04 +0000)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 16 Jan 2025 07:34:18 +0000 (15:34 +0800)
commit4492c8db60f0cd452151e0cdfd1b5aaf671baaca
tree4940a621478ec6c050cd94fa64a15e4a30095c6f
parentab15e20ea9c71c73003d8e165811b51dbf042ff7
riscv: Fallback to riscv,isa

Update the cpu probing to fallback to "riscv,isa" property if
"riscv,isa-extensions" is not available and modify the riscv CMO code
to use the block size that was probed during cpu setup.

Signed-off-by: Mayuresh Chitale <mchitale@ventanamicro.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/cpu/cpu.c
arch/riscv/lib/cache.c