Message ID | 20231222122235.545235-1-dbarboza@ventanamicro.com |
---|---|
Headers | show |
Series | target/riscv: deprecate riscv_cpu_options[] | expand |
22.12.2023 15:22, Daniel Henrique Barboza wrote: > > Hi, > > This new version fixes all instances of 'const PropertyInfo' added, > changing it to 'static const PropertyInfo', like suggested by Richard in > v1. > > Patches based on Alistair's riscv-to-apply.next. Series is also found > here: > > https://gitlab.com/danielhb/qemu/-/tree/fix_cpu_opts_v2 > > Changes from v1: > - changed 'const PropertyInfo' to 'static const PropertyInfo' in all > relevant patches. > - v1 link: https://lore.kernel.org/qemu-riscv/20231221175137.497379-1-dbarboza@ventanamicro.com/ > > Daniel Henrique Barboza (16): > target/riscv/cpu_cfg.h: remove user_spec and bext_spec > target/riscv: move 'pmu-mask' and 'pmu-num' to riscv_cpu_properties[] > target/riscv: make riscv_cpu_is_generic() public > target/riscv: move 'mmu' to riscv_cpu_properties[] > target/riscv: move 'pmp' to riscv_cpu_properties[] > target/riscv: rework 'priv_spec' > target/riscv: rework 'vext_spec' > target/riscv: move 'vlen' to riscv_cpu_properties[] > target/riscv: move 'elen' to riscv_cpu_properties[] > target/riscv: create finalize_features() for KVM > target/riscv: move 'cbom_blocksize' to riscv_cpu_properties[] > target/riscv: move 'cboz_blocksize' to riscv_cpu_properties[] > target/riscv: remove riscv_cpu_options[] > target/riscv/cpu.c: move 'mvendorid' to riscv_cpu_properties[] > target/riscv/cpu.c: move 'mimpid' to riscv_cpu_properties[] > target/riscv/cpu.c: move 'marchid' to riscv_cpu_properties[] > > target/riscv/cpu.c | 584 +++++++++++++++++++++++++++++------ > target/riscv/cpu.h | 7 +- > target/riscv/cpu_cfg.h | 4 - > target/riscv/kvm/kvm-cpu.c | 94 +++--- > target/riscv/kvm/kvm_riscv.h | 1 + > target/riscv/tcg/tcg-cpu.c | 63 ---- > 6 files changed, 561 insertions(+), 192 deletions(-) > > -- > 2.43.0 > > For whole series and TCG part: Tested-by: Vladimir Isaev <vladimir.isaev@syntacore.com>