Skip to content

KVM: x86/pmu: Segregate Intel and AMD specific logic

Ravi Bangoria kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/pmu: Add INTEL_ prefix in some Intel specific macrosarch/x86/events/intel/core.c arch/x86/events/intel/ds.c arch/x86/events/perf_event.h +3 more+22 -220 replies
2/3x86/pmu: Replace X86_ALL_EVENT_FLAGS with INTEL_ALL_EVENT_FLAGSarch/x86/events/intel/core.c arch/x86/events/perf_event.h arch/x86/include/asm/perf_event.h+18 -180 replies
3/3KVM: x86/pmu: Segregate Intel and AMD specific logicarch/x86/kvm/pmu.c arch/x86/kvm/pmu.h arch/x86/kvm/svm/pmu.c +1 more+51 -297 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] KVM: x86/pmu: Segregate Intel and AMD specific logic

Use INTEL_ prefix for some Intel specific macros. Plus segregate Intel and AMD specific logic in kvm code.

Patches prepared on top of kvm/master (710c476514313)

Ravi Bangoria (3):
x86/pmu: Add INTEL_ prefix in some Intel specific macros x86/pmu: Replace X86_ALL_EVENT_FLAGS with INTEL_ALL_EVENT_FLAGS
KVM: x86/pmu: Segregate Intel and AMD specific logic

 arch/x86/events/intel/core.c      | 14 +++----
 arch/x86/events/intel/ds.c        |  2 +-
 arch/x86/events/perf_event.h      | 34 ++++++++--------
 arch/x86/include/asm/perf_event.h | 14 +++----
 arch/x86/kvm/pmu.c                | 68 +++++++++++++++++++------------
 arch/x86/kvm/pmu.h                |  4 +-
 arch/x86/kvm/svm/pmu.c            |  6 ++-
 arch/x86/kvm/vmx/pmu_intel.c      |  6 +--
 8 files changed, 85 insertions(+), 63 deletions(-)
Signature · 1 line
2.27.0