]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: PPC: Book3S HV: Use msgsnd for IPIs to other cores on POWER9
authorPaul Mackerras <paulus@ozlabs.org>
Thu, 17 Nov 2016 21:47:08 +0000 (08:47 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Wed, 23 Nov 2016 22:24:23 +0000 (09:24 +1100)
commit1704a81ccebc69b5223220df97cde8a645271828
treed876370cdfb6a53e205ed1535522253108e6cdf2
parent7c5b06cadf274f2867523c1130c11387545f808e
KVM: PPC: Book3S HV: Use msgsnd for IPIs to other cores on POWER9

On POWER9, the msgsnd instruction is able to send interrupts to
other cores, as well as other threads on the local core.  Since
msgsnd is generally simpler and faster than sending an IPI via the
XICS, we use msgsnd for all IPIs sent by KVM on POWER9.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/kvm/book3s_hv_builtin.c