]> 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)
commit86c0a8062dd68d8acd3d55011164402922f9b5fd
treed876370cdfb6a53e205ed1535522253108e6cdf2
parent865fff84fcd69dfc671541fe83079774f4a07346
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