]> git.baikalelectronics.ru Git - kernel.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)
commit1d55a353c7b51e075e83071cd966a9c38197a056
treed876370cdfb6a53e205ed1535522253108e6cdf2
parent5dfc11c514ae26875e7ae019cbee295994c9b5a8
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