[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1547928284-2915-1-git-send-email-luwei.kang@intel.com>
Date: Sat, 19 Jan 2019 15:04:41 -0500
From: Luwei Kang <luwei.kang@...el.com>
To: kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: tglx@...utronix.de, mingo@...hat.com, bp@...en8.de, hpa@...or.com,
x86@...nel.org, songliubraving@...com, pbonzini@...hat.com,
rkrcmar@...hat.com, peterz@...radead.org, zsm@...omium.org,
alexander.shishkin@...ux.intel.com, konrad.wilk@...cle.com,
ak@...ux.intel.com, Luwei Kang <luwei.kang@...el.com>
Subject: [PATCH 0/3] Inject a PMI for KVM Guest when ToPA buffer is filled
Each intel processor trace table of physical addresses (ToPA) entry
has an INT bit. If this bit is set, the processor will signal a
performance-monitoring interrupt (PMI) when the corresponding trace
output region is filled. This patch set will inject a PMI for Intel
Processor Trace when ToPA buffer is filled.
Luwei Kang (3):
perf/x86/intel/pt: Move pt structure to global header
perf/x86/intel/pt: Inject PMI for KVM guest
KVM: x86: Add support of clear Trace_ToPA_PMI status
arch/x86/events/intel/pt.c | 12 +++++++++++-
arch/x86/events/intel/pt.h | 38 -------------------------------------
arch/x86/include/asm/intel_pt.h | 41 ++++++++++++++++++++++++++++++++++++++++
arch/x86/include/asm/kvm_host.h | 1 +
arch/x86/include/asm/msr-index.h | 8 ++++++++
arch/x86/kvm/vmx/pmu_intel.c | 8 +++++++-
arch/x86/kvm/x86.h | 6 ++++++
7 files changed, 74 insertions(+), 40 deletions(-)
--
1.8.3.1
Powered by blists - more mailing lists