]> git.baikalelectronics.ru Git - kernel.git/commit
x86/hyper-v: Use 'fast' hypercall for HVCALL_SEND_IPI
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 22 Jun 2018 17:06:23 +0000 (19:06 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 3 Jul 2018 07:00:33 +0000 (09:00 +0200)
commit1fd2602781db8d5314aa97894b6c612c8e1a6cf4
tree7da4e56bb4512352f4e8594012ec174d5000b43d
parentd69211eba545d920e46a8d5751c77b02d1d0d5f8
x86/hyper-v: Use 'fast' hypercall for HVCALL_SEND_IPI

Current Hyper-V TLFS (v5.0b) claims that HvCallSendSyntheticClusterIpi
hypercall can't be 'fast' (passing parameters through registers) but
apparently this is not true, Windows always uses 'fast' version. We can
do the same in Linux too.

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-3-vkuznets@redhat.com
arch/x86/hyperv/hv_apic.c