diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-08-18 12:10:58 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2017-08-24 20:02:01 +1000 |
commit | bb9b52bd51dcb17b965a30167d0812902c1b9927 (patch) | |
tree | 95d4860f9d51e445ac460c20264d6c1e43e87c9e /arch/mips | |
parent | 2c4fb78f78b6e420604ee1b05bdfb5c1d637869f (diff) | |
download | lwn-bb9b52bd51dcb17b965a30167d0812902c1b9927.tar.gz lwn-bb9b52bd51dcb17b965a30167d0812902c1b9927.zip |
KVM: PPC: Book3S HV: Add missing barriers to XIVE code and document them
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. The
symptom then is hangs or stalls in the guest.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Tested-by: Guilherme G. Piccoli <gpiccoli@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/mips')
0 files changed, 0 insertions, 0 deletions