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

Mayuresh Chitale
2025-01-06T13:04:28Z

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

--
2.34.1