Re: [Qemu-devel] [PATCH 8/8] spapr: Clean up handling of LPCR power-saving exit bits

2018-05-03 Thread Cédric Le Goater
On 05/03/2018 01:59 PM, David Gibson wrote: > On Thu, May 03, 2018 at 09:47:18AM +0200, Cédric Le Goater wrote: >> On 05/03/2018 08:21 AM, David Gibson wrote: >>> To prevent spurious wakeups on cpus that are supposed to be disabled, we >>> need to clear the LPCR bits which control certain wakeup ev

Re: [Qemu-devel] [PATCH 8/8] spapr: Clean up handling of LPCR power-saving exit bits

2018-05-03 Thread David Gibson
On Thu, May 03, 2018 at 09:47:18AM +0200, Cédric Le Goater wrote: > On 05/03/2018 08:21 AM, David Gibson wrote: > > To prevent spurious wakeups on cpus that are supposed to be disabled, we > > need to clear the LPCR bits which control certain wakeup events. > > spapr_cpu_reset() has separate cases

Re: [Qemu-devel] [PATCH 8/8] spapr: Clean up handling of LPCR power-saving exit bits

2018-05-03 Thread Cédric Le Goater
On 05/03/2018 08:21 AM, David Gibson wrote: > To prevent spurious wakeups on cpus that are supposed to be disabled, we > need to clear the LPCR bits which control certain wakeup events. > spapr_cpu_reset() has separate cases here for boot and non-boot (initially > inactive) cpus. rtas_start_cpu()

[Qemu-devel] [PATCH 8/8] spapr: Clean up handling of LPCR power-saving exit bits

2018-05-02 Thread David Gibson
To prevent spurious wakeups on cpus that are supposed to be disabled, we need to clear the LPCR bits which control certain wakeup events. spapr_cpu_reset() has separate cases here for boot and non-boot (initially inactive) cpus. rtas_start_cpu() then turns the LPCR bits on when the non-boot cpus a