OSDN Git Service

X86/Hyper-V: Add flush HvFlushGuestPhysicalAddressSpace hypercall support
authorTianyu Lan <Tianyu.Lan@microsoft.com>
Thu, 19 Jul 2018 08:40:06 +0000 (08:40 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Aug 2018 15:59:04 +0000 (17:59 +0200)
commiteb914cfe72f4c948b2318b1381f6d2e08d43b63c
tree7fcb5c02989a8db5ddaf9c1a8ca7a4e9619408f0
parent3553ae5690a84a5baae5baa329467b3df2d99f72
X86/Hyper-V: Add flush HvFlushGuestPhysicalAddressSpace hypercall support

Hyper-V supports a pv hypercall HvFlushGuestPhysicalAddressSpace to
flush nested VM address space mapping in l1 hypervisor and it's to
reduce overhead of flushing ept tlb among vcpus. This patch is to
implement it.

Signed-off-by: Lan Tianyu <Tianyu.Lan@microsoft.com>
Acked-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/hyperv/Makefile
arch/x86/hyperv/nested.c [new file with mode: 0644]
arch/x86/include/asm/hyperv-tlfs.h
arch/x86/include/asm/mshyperv.h