Re: [PATCH 12/26] target/riscv: convert abstract CPU classes to RISCVCPUDef

2025-05-14 Thread Alistair Francis
On Mon, May 12, 2025 at 7:53 PM Paolo Bonzini wrote: > > Start from the top of the hierarchy: dynamic and vendor CPUs are just > markers, whereas bare CPUs can have their instance_init function > replaced by RISCVCPUDef. > > The only difference is that the maximum supported SATP mode has to > be s

[PATCH 12/26] target/riscv: convert abstract CPU classes to RISCVCPUDef

2025-05-12 Thread Paolo Bonzini
Start from the top of the hierarchy: dynamic and vendor CPUs are just markers, whereas bare CPUs can have their instance_init function replaced by RISCVCPUDef. The only difference is that the maximum supported SATP mode has to be specified separately for 32-bit and 64-bit modes. Signed-off-by: Pa