Re: [PATCH 0/3] cpus: Avoid re-initializing fields cleared in cpu_common_reset_hold()

2025-01-09 Thread Philippe Mathieu-Daudé
On 30/12/24 16:39, Philippe Mathieu-Daudé wrote: Having this call tree: cpu_reset() -> device_cold_reset() -> DeviceClass::reset() -> target_cpu_reset() -> ResettablePhases::hold() -> CPUClass::phases::hold() -> cpu_common_reset_h

[PATCH 0/3] cpus: Avoid re-initializing fields cleared in cpu_common_reset_hold()

2024-12-30 Thread Philippe Mathieu-Daudé
Having this call tree: cpu_reset() -> device_cold_reset() -> DeviceClass::reset() -> target_cpu_reset() -> ResettablePhases::hold() -> CPUClass::phases::hold() -> cpu_common_reset_hold() If we call cpu_reset(), common fields will be reset