aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/trace/hyperv.h
diff options
context:
space:
mode:
authorLan Tianyu <Tianyu.Lan@microsoft.com>2018-12-06 21:21:05 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2018-12-21 11:28:39 +0100
commitcc4edae4b924b39877b5abb25074065930c5a6d5 (patch)
tree5a600b596bac04d89b26fe75c24d1e7245ff6a59 /arch/x86/include/asm/trace/hyperv.h
parentKVM: Add tlb_remote_flush_with_range callback in kvm_x86_ops (diff)
downloadlinux-dev-cc4edae4b924b39877b5abb25074065930c5a6d5.tar.xz
linux-dev-cc4edae4b924b39877b5abb25074065930c5a6d5.zip
x86/hyper-v: Add HvFlushGuestAddressList hypercall support
Hyper-V provides HvFlushGuestAddressList() hypercall to flush EPT tlb with specified ranges. This patch is to add the hypercall support. Reviewed-by: Michael Kelley <mikelley@microsoft.com> Signed-off-by: Lan Tianyu <Tianyu.Lan@microsoft.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to '')
-rw-r--r--arch/x86/include/asm/trace/hyperv.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/x86/include/asm/trace/hyperv.h b/arch/x86/include/asm/trace/hyperv.h
index 2e6245a023ef..ace464f09681 100644
--- a/arch/x86/include/asm/trace/hyperv.h
+++ b/arch/x86/include/asm/trace/hyperv.h
@@ -42,6 +42,20 @@ TRACE_EVENT(hyperv_nested_flush_guest_mapping,
TP_printk("address space %llx ret %d", __entry->as, __entry->ret)
);
+TRACE_EVENT(hyperv_nested_flush_guest_mapping_range,
+ TP_PROTO(u64 as, int ret),
+ TP_ARGS(as, ret),
+
+ TP_STRUCT__entry(
+ __field(u64, as)
+ __field(int, ret)
+ ),
+ TP_fast_assign(__entry->as = as;
+ __entry->ret = ret;
+ ),
+ TP_printk("address space %llx ret %d", __entry->as, __entry->ret)
+ );
+
TRACE_EVENT(hyperv_send_ipi_mask,
TP_PROTO(const struct cpumask *cpus,
int vector),