]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: POWER9 more doorbell fixes
authorNicholas Piggin <npiggin@gmail.com>
Tue, 10 Oct 2017 10:18:28 +0000 (20:18 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Sat, 14 Oct 2017 00:32:53 +0000 (11:32 +1100)
commitf298c960a9ca1d3f2d9b22e3ad33e297f1005ec5
tree2894440e99d3d8b0d92e9cafb5df18e8840cb721
parentb28eec80fbd8130b639be2656d68ead26bb35436
KVM: PPC: Book3S HV: POWER9 more doorbell fixes

- Add another case where msgsync is required.
- Required barrier sequence for global doorbells is msgsync ; lwsync

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")
Cc: stable@vger.kernel.org # v4.10+
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/book3s_hv_rmhandlers.S