Re: [PATCH 1/2] powerpc/64: Re-fix race condition between going idle and entering guest

2016-10-25 Thread Gautham R Shenoy
Hi Paul, [Added Shreyas's current e-mail address ] On Fri, Oct 21, 2016 at 08:03:05PM +1100, Paul Mackerras wrote: > Commit 8117ac6a6c2f ("powerpc/powernv: Switch off MMU before entering > nap/sleep/rvwinkle mode", 2014-12-10) fixed a race condition where one > thread entering a KVM guest could s

Re: [PATCH 1/2] powerpc/64: Re-fix race condition between going idle and entering guest

2016-10-21 Thread Shreyas B. Prabhu
On Fri, Oct 21, 2016 at 5:03 AM, Paul Mackerras wrote: > Commit 8117ac6a6c2f ("powerpc/powernv: Switch off MMU before entering > nap/sleep/rvwinkle mode", 2014-12-10) fixed a race condition where one > thread entering a KVM guest could switch the MMU context to the guest > while another thread wa

[PATCH 1/2] powerpc/64: Re-fix race condition between going idle and entering guest

2016-10-21 Thread Paul Mackerras
Commit 8117ac6a6c2f ("powerpc/powernv: Switch off MMU before entering nap/sleep/rvwinkle mode", 2014-12-10) fixed a race condition where one thread entering a KVM guest could switch the MMU context to the guest while another thread was still in host kernel context with the MMU on. That commit moved