[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 00/16] target/riscv: deprecate riscv_cpu_options[]
From: |
Vladimir Isaev |
Subject: |
Re: [PATCH v2 00/16] target/riscv: deprecate riscv_cpu_options[] |
Date: |
Fri, 29 Dec 2023 14:24:40 +0300 |
User-agent: |
Mozilla Thunderbird |
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:
> 20231221175137.497379-1-dbarboza@ventanamicro.com/">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>
- [PATCH v2 10/16] target/riscv: create finalize_features() for KVM, (continued)
- [PATCH v2 10/16] target/riscv: create finalize_features() for KVM, Daniel Henrique Barboza, 2023/12/22
- [PATCH v2 11/16] target/riscv: move 'cbom_blocksize' to riscv_cpu_properties[], Daniel Henrique Barboza, 2023/12/22
- [PATCH v2 08/16] target/riscv: move 'vlen' to riscv_cpu_properties[], Daniel Henrique Barboza, 2023/12/22
- [PATCH v2 12/16] target/riscv: move 'cboz_blocksize' to riscv_cpu_properties[], Daniel Henrique Barboza, 2023/12/22
- [PATCH v2 13/16] target/riscv: remove riscv_cpu_options[], Daniel Henrique Barboza, 2023/12/22
- [PATCH v2 14/16] target/riscv/cpu.c: move 'mvendorid' to riscv_cpu_properties[], Daniel Henrique Barboza, 2023/12/22
- [PATCH v2 15/16] target/riscv/cpu.c: move 'mimpid' to riscv_cpu_properties[], Daniel Henrique Barboza, 2023/12/22
- [PATCH v2 16/16] target/riscv/cpu.c: move 'marchid' to riscv_cpu_properties[], Daniel Henrique Barboza, 2023/12/22
- Re: [PATCH v2 00/16] target/riscv: deprecate riscv_cpu_options[],
Vladimir Isaev <=