x86/hyper-v: allocate and use Virtual Processor Assist Pages
authorVitaly Kuznetsov <vkuznets@redhat.com>
Tue, 20 Mar 2018 14:02:08 +0000 (15:02 +0100)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 28 Mar 2018 20:47:06 +0000 (22:47 +0200)
commita46d15cc1ae5af905afac2af4cc0c188c2eb59b0
tree583e833789b6b1e72a6ecbad409227d9b42c1289
parentd4abc577bb03a3facc0f21cc1f2c6b27cd0f5d07
x86/hyper-v: allocate and use Virtual Processor Assist Pages

Virtual Processor Assist Pages usage allows us to do optimized EOI
processing for APIC, enable Enlightened VMCS support in KVM and more.
struct hv_vp_assist_page is defined according to the Hyper-V TLFS v5.0b.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/hyperv/hv_init.c
arch/x86/include/asm/hyperv-tlfs.h
arch/x86/include/asm/mshyperv.h