Re: [PATCH 05/22] target/riscv: merge riscv_cpu_class_init with the class_base function

2025-03-05 Thread Alistair Francis
On Fri, Feb 28, 2025 at 8:33 PM Paolo Bonzini wrote: > > Since all TYPE_RISCV_CPU subclasses support a class_data of type > RISCVCPUDef, process it even before calling the .class_init function > for the subclasses. > > Signed-off-by: Paolo Bonzini Reviewed-by: Alistair Francis Alistair > ---

[PATCH 05/22] target/riscv: merge riscv_cpu_class_init with the class_base function

2025-02-28 Thread Paolo Bonzini
Since all TYPE_RISCV_CPU subclasses support a class_data of type RISCVCPUDef, process it even before calling the .class_init function for the subclasses. Signed-off-by: Paolo Bonzini --- target/riscv/cpu.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git