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

Leo Liang
2025-01-16T07:20:56Z

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@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@andestech.com>