Re: [Qemu-devel] [PATCH 2/2] spapr/rtas: do not reset the MSR in stop-self command

2017-10-06 Thread David Gibson
On Thu, Oct 05, 2017 at 06:49:59PM +0200, Cédric Le Goater wrote: > When a CPU is stopped with the 'stop-self' RTAS call, its state > 'halted' is switched to 1 and, in this case, the MSR is not taken into > account anymore in the cpu_has_work() routine. Only the pending > hardware interrupts are ch

[Qemu-devel] [PATCH 2/2] spapr/rtas: do not reset the MSR in stop-self command

2017-10-05 Thread Cédric Le Goater
When a CPU is stopped with the 'stop-self' RTAS call, its state 'halted' is switched to 1 and, in this case, the MSR is not taken into account anymore in the cpu_has_work() routine. Only the pending hardware interrupts are checked with their LPCR:PECE* enablement bit. The CPU is now also protected