]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/riscv: Promote svade to a normal extension
authorAndrew Jones <ajones@ventanamicro.com>
Thu, 15 Feb 2024 22:39:55 +0000 (19:39 -0300)
committerAlistair Francis <alistair.francis@wdc.com>
Fri, 8 Mar 2024 06:35:28 +0000 (16:35 +1000)
commitadb49752dd18e556427c634ed1d3570378e87819
treebdf63ecdfe98a94605a25fc0fa2208afaaee69bb
parent70d22fd92c3bacd15e6ba423999a1cf4a5e2e819
target/riscv: Promote svade to a normal extension

Named features are extensions which don't make sense for users to
control and are therefore not exposed on the command line. However,
svade is an extension which makes sense for users to control, so treat
it like a "normal" extension. The default is false, even for the max
cpu type, since QEMU has always implemented hardware A/D PTE bit
updating, so users must opt into svade (or get it from a CPU type
which enables it by default).

Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20240215223955.969568-7-dbarboza@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
target/riscv/cpu.c
target/riscv/tcg/tcg-cpu.c