Re: [PATCH 14/27] target/riscv: convert abstract CPU classes to RISCVCPUDef

2025-04-23 Thread Alistair Francis
On Sun, Apr 6, 2025 at 5:03 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 sp

[PATCH 14/27] target/riscv: convert abstract CPU classes to RISCVCPUDef

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