x86/hyper-v: Use cheaper HVCALL_SEND_IPI hypercall when possible
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 22 Jun 2018 17:06:24 +0000 (19:06 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 3 Jul 2018 07:00:34 +0000 (09:00 +0200)
commit4bd06060762bc7e4834ecf9daeb78834f7a29582
tree14139b23e23d5e98ca60f911dd31b8b1690d3d5e
parentd8e6b232cfdd5d141c03e40a14c1c781480ea05e
x86/hyper-v: Use cheaper HVCALL_SEND_IPI hypercall when possible

When there is no need to send an IPI to a CPU with VP number > 64
we can do the job with fast HVCALL_SEND_IPI hypercall.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Cc: devel@linuxdriverproject.org
Cc: "K. Y. Srinivasan" <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Tianyu Lan <Tianyu.Lan@microsoft.com>
Cc: "Michael Kelley (EOSG)" <Michael.H.Kelley@microsoft.com>
Link: https://lkml.kernel.org/r/20180622170625.30688-4-vkuznets@redhat.com
arch/x86/hyperv/hv_apic.c