Skip to content

RFC x86/pmu: Add AMD vPMU testing code

Wei Huang kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/pmu: Move common x86 PMU definitions to pmu.hx86/pmu.c x86/pmu.h+44 -361 reply
2/3x86/pmu: Rename pmu.c code to intel_pmu.cx86/Makefile.common x86/intel_pmu.c x86/pmu.c +1 more+382 -3822 replies
3/3x86/pmu: Create AMD PMU test codex86/Makefile.common x86/amd_pmu.c x86/unittests.cfg+271 -12 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAndrew Jones
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [kvm-unit-tests RFC 0/3] x86/pmu: Add AMD vPMU testing code

This patchset adds the PMU testing case for AMD CPU. The original pmu test code is re-named to intel_pmu. And common PMU event and counter definitions are moved to pmu.h, which is shared between intel_pmu and amd_pmc.

Thanks,
-Wei

Wei Huang (3):
pmu: move common x86 PMU definitions to pmu.h
pmu: Rename pmu.c code to intel_pmu.c
pmu: Create AMD PMU test code

 x86/Makefile.common |   3 +-
 x86/amd_pmu.c       | 265 +++++++++++++++++++++++++++++++++
 x86/intel_pmu.c     | 379 +++++++++++++++++++++++++++++++++++++++++++++++
 x86/pmu.c           | 413 ----------------------------------------------------
 x86/pmu.h           |  42 ++++++
 x86/unittests.cfg   |   8 +-
 6 files changed, 694 insertions(+), 416 deletions(-)
 create mode 100644 x86/amd_pmu.c
 create mode 100644 x86/intel_pmu.c
 delete mode 100644 x86/pmu.c
 create mode 100644 x86/pmu.h
Signature · 1 line
2.7.5