aboutsummaryrefslogtreecommitdiff
path: root/qemu-io.c
diff options
context:
space:
mode:
authorClément Chigot <chigot@adacore.com>2023-11-14 13:39:13 +0100
committerAlistair Francis <alistair.francis@wdc.com>2023-11-22 13:56:13 +1000
commit9bbf03275e1f02044a473634929724acb6b8eb32 (patch)
treef74abbea431eb91fdbe9b3fea83dfeef5593a197 /qemu-io.c
parent7a87ba8956e59bec8cc4677c6aa5141e4c023a7d (diff)
downloadqemu-9bbf03275e1f02044a473634929724acb6b8eb32.zip
qemu-9bbf03275e1f02044a473634929724acb6b8eb32.tar.gz
qemu-9bbf03275e1f02044a473634929724acb6b8eb32.tar.bz2
target/riscv: don't verify ISA compatibility for zicntr and zihpm
The extensions zicntr and zihpm were officially added in the privilege instruction set specification 1.12. However, QEMU has been implemented them long before it and thus they are forced to be on during the cpu initialization to ensure compatibility (see riscv_cpu_init). riscv_cpu_disable_priv_spec_isa_exts was not updated when the above behavior was introduced, resulting in these extensions to be disabled after all. Signed-off-by: Clément Chigot <chigot@adacore.com> Fixes: c004099330 ("target/riscv: add zicntr extension flag for TCG") Fixes: 0824121660 ("target/riscv: add zihpm extension flag for TCG") Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-ID: <20231114123913.536194-1-chigot@adacore.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions