Re: [PATCH v1 0/2] Risc-V ISA Extension Probing

Simon Glass
2025-01-06T14:39:04Z

Hi Mayuresh,

On Mon, 6 Jan 2025 at 06:04, Mayuresh Chitale <mchitale@ventanamicro.com> wrote:
>
> This series aims to enchance the ISA probing support by porting the
> corresponding code from kernel and using it when probing for CMO
> extensions.
>
> Mayuresh Chitale (2):
> riscv: Enhance extension probing
> riscv: Fallback to riscv,isa
>
> arch/riscv/cpu/cpu.c | 600 ++++++++++++++++++++++++++--
> arch/riscv/include/asm/cpufeature.h | 37 ++
> arch/riscv/include/asm/hwcap.h | 105 +++++
> arch/riscv/lib/cache.c | 26 +-
> 4 files changed, 710 insertions(+), 58 deletions(-)
> create mode 100644 arch/riscv/include/asm/cpufeature.h
> create mode 100644 arch/riscv/include/asm/hwcap.h

Somewhat related, I mentioned some time back that we have
IH_ARCH_RISCV but need to have 32- and 64-bit versions, like on ARM.

Would you have time to do that?

Regards,
Simon