All of lore.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests RFC 0/3] x86/pmu: Add AMD vPMU testing code
@ 2017-08-04  4:24 Wei Huang
  2017-08-04  4:24 ` [kvm-unit-tests RFC 1/3] x86/pmu: Move common x86 PMU definitions to pmu.h Wei Huang
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Wei Huang @ 2017-08-04  4:24 UTC (permalink / raw)
  To: kvm; +Cc: pbonzini, rkrcmar, wei

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

-- 
2.7.5

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-08-04 15:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-04  4:24 [kvm-unit-tests RFC 0/3] x86/pmu: Add AMD vPMU testing code Wei Huang
2017-08-04  4:24 ` [kvm-unit-tests RFC 1/3] x86/pmu: Move common x86 PMU definitions to pmu.h Wei Huang
2017-08-04  7:59   ` Andrew Jones
2017-08-04  4:24 ` [kvm-unit-tests RFC 2/3] x86/pmu: Rename pmu.c code to intel_pmu.c Wei Huang
2017-08-04  8:00   ` Andrew Jones
2017-08-04 15:44     ` Wei Huang
2017-08-04  4:24 ` [kvm-unit-tests RFC 3/3] x86/pmu: Create AMD PMU test code Wei Huang
2017-08-04  8:14   ` Andrew Jones
2017-08-04 15:49     ` Wei Huang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.