aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api-macros/src
diff options
context:
space:
mode:
authorMax Chou <max.chou@sifive.com>2025-01-24 17:05:38 +0800
committerAlistair Francis <alistair.francis@wdc.com>2025-03-04 15:42:54 +1000
commitbf3adf93f16730ca5aaa6c26cf969e64eeff6e7b (patch)
tree968ac057d00e0f7e455cda5843fbff81663c955a /rust/qemu-api-macros/src
parentffd455963f230c7dc04965609d6675da687a5a78 (diff)
downloadqemu-bf3adf93f16730ca5aaa6c26cf969e64eeff6e7b.zip
qemu-bf3adf93f16730ca5aaa6c26cf969e64eeff6e7b.tar.gz
qemu-bf3adf93f16730ca5aaa6c26cf969e64eeff6e7b.tar.bz2
target/riscv: rvv: Fix incorrect vlen comparison in prop_vlen_set
In prop_vlen_set function, there is an incorrect comparison between vlen(bit) and vlenb(byte). This will cause unexpected error when user applies the `vlen=1024` cpu option with a vendor predefined cpu type that the default vlen is 1024(vlenb=128). Fixes: 4f6d036ccc ("target/riscv/cpu.c: remove cpu->cfg.vlen") Signed-off-by: Max Chou <max.chou@sifive.com> Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Message-ID: <20250124090539.2506448-1-max.chou@sifive.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'rust/qemu-api-macros/src')
0 files changed, 0 insertions, 0 deletions