Frederic Barrat <fbar...@linux.ibm.com> writes: > The 'resume_as_sreset' attribute of a cpu can be 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 > cleaned on reset or a thread might be re-routed unexpectedly after a > reset, when it was not in a stop state and/or when the appropriate > exception handler isn't set up yet. > > Signed-off-by: Frederic Barrat <fbar...@linux.ibm.com>
Reviewed-by: Fabiano Rosas <faro...@linux.ibm.com>