RFC x86/pmu: Add AMD vPMU testing code
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | x86/pmu: Move common x86 PMU definitions to pmu.hx86/ x86/ | +44 | 1 reply | |
| 2/3 | x86/pmu: Rename pmu.c code to intel_pmu.cx86/ x86/ x86/ +1 more | +382 | 2 replies | |
| 3/3 | x86/pmu: Create AMD PMU test codex86/ x86/ x86/ | +271 | 2 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Andrew Jones |
|---|---|
| 1/3 | R-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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