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

2025-02-17 Thread Alistair Francis
On Fri, Feb 7, 2025 at 4:29 AM 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 04/22] target/riscv: merge riscv_cpu_class_init with the class_base function

2025-02-06 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