
16 Jan
2025
16 Jan
'25
8:20 a.m.
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