Skip to contentSkip to conversation

qemuriscv: Use RVA23S64 profile for cpu

PATCH New Khem Raj 1 participant 1 message Sep 24, 2025 RISC-V

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 qemuriscv: Use RVA23S64 profile for cpu

Enables RVV extensions uniformly across gcc and clang as it is mandatory in RVA23 spec.

https://github.com/riscv/riscv-profiles/blob/main/src/rva23-profile.adoc

---
 meta/conf/machine/include/riscv/qemuriscv.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/machine/include/riscv/qemuriscv.inc +1 -1
index 35961272022..b755d32c9d1 100644
@@ -27,7 +27,7 @@ UBOOT_ENTRYPOINT:riscv64 = "0x80200000"
 # qemuboot options
 QB_SMP ?= "-smp 4"
 QB_KERNEL_CMDLINE_APPEND = "earlycon=sbi"
-QB_CPU:riscv64 ?= "-cpu rva22s64"
+QB_CPU:riscv64 ?= "-cpu rva23s64"
 QB_MACHINE = "-machine virt"
 QB_DEFAULT_BIOS = "fw_jump.elf"
 QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no"