perf/x86/intel: KVM: PT intr handler fix and cleanup
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | KVM: x86: Register perf callbacks after calling vendor's hardware_setup()arch/ | +4 | 0 replies | |
| 2/3 | KVM: x86: Register Processor Trace interrupt hook iff PT enabled in guestarch/ arch/ arch/ +1 more | +6 | 5 replies | |
| 3/3 | perf/x86/intel: Fold current_vcpu check into KVM's PT intr handlerarch/ arch/ arch/ +1 more | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] perf/x86/intel: KVM: PT intr handler fix and cleanup
Patches 1 and 2 fix a bug where PT PMIs in guest are forwarded to KVM's PT intr handler even if PT is configured for system mode, i.e. when the host is the sole owner of PT.
Patch 3 is a related cleanup/optimization.
The PT specific stuff is effectively compile-tested only.
Sean Christopherson (3):
KVM: x86: Register perf callbacks after calling vendor's
hardware_setup()
KVM: x86: Register Processor Trace interrupt hook iff PT enabled in
guest
perf/x86/intel: Fold current_vcpu check into KVM's PT intr handler
arch/x86/events/intel/core.c | 7 +++---- arch/x86/include/asm/kvm_host.h | 1 + arch/x86/kvm/pmu.h | 1 + arch/x86/kvm/vmx/vmx.c | 1 + arch/x86/kvm/x86.c | 17 ++++++++++++----- include/linux/perf_event.h | 2 +- 6 files changed, 19 insertions(+), 10 deletions(-)
Signature · 1 line
2.33.0.rc2.250.ged5fa647cd-goog