]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit2cde3716321ec64a1faeaf567bd94100c7b4160f
tree2894440e99d3d8b0d92e9cafb5df18e8840cb721
parentac64115a66c18c01745bbd3c47a36b124e5fd8c0
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: 1704a81ccebc ("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