Re: [PATCH v2] target/ppc: cpu_init: Clean up stop state on cpu reset

2022-06-18 Thread Cédric Le Goater
On 6/17/22 11:52, Frederic Barrat wrote: The 'resume_as_sreset' attribute of a cpu is set when a thread is entering a stop state on ppc books. It causes the thread to be re-routed to vector 0x100 when woken up by an exception. So it must be cleared on reset or a thread might be re-routed unexpect

Re: [PATCH v2] target/ppc: cpu_init: Clean up stop state on cpu reset

2022-06-17 Thread Daniel Henrique Barboza
Queued in gitlab.com/danielhb/qemu/tree/ppc-next after adding Cedric's R-b from v1. Thanks, Daniel On 6/17/22 06:52, Frederic Barrat wrote: The 'resume_as_sreset' attribute of a cpu is set when a thread is entering a stop state on ppc books. It causes the thread to be re-routed to vector 0x1

Re: [PATCH v2] target/ppc: cpu_init: Clean up stop state on cpu reset

2022-06-17 Thread Fabiano Rosas
Frederic Barrat writes: > The 'resume_as_sreset' attribute of a cpu is set when a thread is > entering a stop state on ppc books. It causes the thread to be > re-routed to vector 0x100 when woken up by an exception. So it must be > cleared on reset or a thread might be re-routed unexpectedly afte

[PATCH v2] target/ppc: cpu_init: Clean up stop state on cpu reset

2022-06-17 Thread Frederic Barrat
The 'resume_as_sreset' attribute of a cpu is set when a thread is entering a stop state on ppc books. It causes the thread to be re-routed to vector 0x100 when woken up by an exception. So it must be cleared on reset or a thread might be re-routed unexpectedly after a reset, when it was not in a st