]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: Use msgsync with hypervisor doorbells on POWER9
authorNicholas Piggin <npiggin@gmail.com>
Sun, 12 Mar 2017 17:03:49 +0000 (03:03 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Thu, 24 Aug 2017 10:01:39 +0000 (20:01 +1000)
commitc168d78dc5120d70fbfc3bfdf2efa6b377a956e6
tree7887a3e0f241b09ecf4147c873a80676c1e40984
parent6ebdbdea583cf1a75c5a10dbaeb4150db1c5045b
KVM: PPC: Book3S HV: Use msgsync with hypervisor doorbells on POWER9

When msgsnd is used for IPIs to other cores, msgsync must be executed by
the target to order stores performed on the source before its msgsnd
(provided the source executes the appropriate sync).

Fixes: 86c0a8062dd6 ("KVM: PPC: Book3S HV: Use msgsnd for IPIs to other cores on POWER9")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/book3s_hv_rmhandlers.S