Re: [PATCH 25/26] target/riscv: remove .instance_post_init

2025-05-14 Thread Alistair Francis
On Mon, May 12, 2025 at 7:54 PM Paolo Bonzini wrote: > > Unlike other uses of .instance_post_init, accel_cpu_instance_init() > *registers* properties, and therefore must be run before > device_post_init() which sets them to their values from -global. > > In order to move all registration of proper

Re: [PATCH 25/26] target/riscv: remove .instance_post_init

2025-05-12 Thread Paolo Bonzini
On Mon, May 12, 2025 at 12:35 PM Philippe Mathieu-Daudé wrote: > > Hi Paolo, > > On 12/5/25 11:52, Paolo Bonzini wrote: > > Unlike other uses of .instance_post_init, accel_cpu_instance_init() > > *registers* properties, and therefore must be run before > > device_post_init() which sets them to the

Re: [PATCH 25/26] target/riscv: remove .instance_post_init

2025-05-12 Thread Philippe Mathieu-Daudé
Hi Paolo, On 12/5/25 11:52, Paolo Bonzini wrote: Unlike other uses of .instance_post_init, accel_cpu_instance_init() *registers* properties, and therefore must be run before device_post_init() which sets them to their values from -global. Does x86_cpu_post_initfn() suffer from the same problem