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

Simon Glass sjg at chromium.org
Mon Jan 6 15:38:44 CET 2025


Hi Mayuresh,

On Mon, 6 Jan 2025 at 06:04, Mayuresh Chitale <mchitale at 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


More information about the U-Boot mailing list