Hi, This new version contains a change in patch 4 where, instead of changing every other Property array to use ARRAY_SIZE(), convert riscv_cpu_options[] to use DEFINE_PROP_END_OF_LIST(). This change makes no difference in the code deduplication that is done in the later patches, and will spare us from a future headache when exporting these arrays to other files.
No other changes made. Patches without reviews: 4. Changes from v6: - patch 4: - Instead of changing arrays to use ARRAY_SIZE(), change riscv_cpu_options[] to use DEFINE_PROP_END_OF_LIST() - v6 link: https://lore.kernel.org/qemu-riscv/20230727220927.62950-1-dbarb...@ventanamicro.com/ Daniel Henrique Barboza (12): target/riscv/cpu.c: split CPU options from riscv_cpu_extensions[] target/riscv/cpu.c: skip 'bool' check when filtering KVM props target/riscv/cpu.c: split kvm prop handling to its own helper target/riscv: add DEFINE_PROP_END_OF_LIST() to riscv_cpu_options[] target/riscv/cpu.c: split vendor exts from riscv_cpu_extensions[] target/riscv/cpu.c: split non-ratified exts from riscv_cpu_extensions[] target/riscv/cpu.c: add ADD_CPU_QDEV_PROPERTIES_ARRAY() macro target/riscv/cpu.c: add ADD_UNAVAIL_KVM_PROP_ARRAY() macro target/riscv/cpu.c: limit cfg->vext_spec log message target/riscv: add 'max' CPU type avocado, risc-v: add opensbi tests for 'max' CPU target/riscv: deprecate the 'any' CPU type docs/about/deprecated.rst | 12 +++ target/riscv/cpu-qom.h | 1 + target/riscv/cpu.c | 192 +++++++++++++++++++++++++-------- tests/avocado/riscv_opensbi.py | 16 +++ 4 files changed, 178 insertions(+), 43 deletions(-) -- 2.41.0