Re: [PATCH 2/2] kvm/xive: Add missing barriers and document them

2017-08-18 Thread Guilherme G. Piccoli
On 08/17/2017 11:10 PM, Benjamin Herrenschmidt wrote: > This adds missing memory barriers to order updates/tests of > the virtual CPPR and MFRR, thus fixing a lost IPI problem. > > While at it also document all barriers in this file > > This fixes a bug causing guest IPIs to occasionally get lost

[PATCH 2/2] kvm/xive: Add missing barriers and document them

2017-08-17 Thread Benjamin Herrenschmidt
This adds missing memory barriers to order updates/tests of the virtual CPPR and MFRR, thus fixing a lost IPI problem. While at it also document all barriers in this file This fixes a bug causing guest IPIs to occasionally get lost. Signed-off-by: Benjamin Herrenschmidt --- arch/powerpc/kvm/bo