[PATCH v1 1/2] riscv: Enhance extension probing

Leo Liang ycliang at andestech.com
Thu Jan 16 08:20:35 CET 2025


On Mon, Jan 06, 2025 at 01:04:04PM +0000, Mayuresh Chitale wrote:
> Enhance the existing extension probing mechanism by adding support for
> more extensions and probing using the "riscv,isa" property. This patch
> is ported from the latest upstream linux.
> 
> Signed-off-by: Mayuresh Chitale <mchitale at ventanamicro.com>
> ---
>  arch/riscv/cpu/cpu.c                | 557 ++++++++++++++++++++++++++++
>  arch/riscv/include/asm/cpufeature.h |  37 ++
>  arch/riscv/include/asm/hwcap.h      | 105 ++++++
>  3 files changed, 699 insertions(+)
>  create mode 100644 arch/riscv/include/asm/cpufeature.h
>  create mode 100644 arch/riscv/include/asm/hwcap.h

Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>


More information about the U-Boot mailing list