KVM: x86: Add support of clear Trace_ToPA_PMI status
authorLuwei Kang <luwei.kang@intel.com>
Tue, 19 Feb 2019 00:26:08 +0000 (19:26 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 30 Apr 2019 19:32:14 +0000 (21:32 +0200)
commitc715eb9fe9027ed118630adb0d59acf36b848d4f
tree7bffa7b65c4a5c4a1f48900747d93b39b584b4ad
parent8479e04e7d6b1974629a0f657afa8ec5f17d2e90
KVM: x86: Add support of clear Trace_ToPA_PMI status

Let guests clear the Intel PT ToPA PMI status (bit 55 of
MSR_CORE_PERF_GLOBAL_OVF_CTRL).

Signed-off-by: Luwei Kang <luwei.kang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/include/asm/msr-index.h
arch/x86/kvm/vmx/pmu_intel.c