public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Wei Huang <wei@redhat.com>
To: kvm@vger.kernel.org
Cc: pbonzini@redhat.com, rkrcmar@redhat.com, wei@redhat.com
Subject: [kvm-unit-tests RFC 0/3] x86/pmu: Add AMD vPMU testing code
Date: Thu,  3 Aug 2017 23:24:27 -0500	[thread overview]
Message-ID: <1501820670-23194-1-git-send-email-wei@redhat.com> (raw)

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

             reply	other threads:[~2017-08-04  4:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-04  4:24 Wei Huang [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1501820670-23194-1-git-send-email-wei@redhat.com \
    --to=wei@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=rkrcmar@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox