public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Yang Weijiang <weijiang.yang@intel.com>
To: seanjc@google.com, pbonzini@redhat.com, kvm@vger.kernel.org
Cc: Yang Weijiang <weijiang.yang@intel.com>
Subject: [kvm-unit-tests PATCH 0/4] Fixup and cleanup to pmu test applications
Date: Mon, 11 Jul 2022 00:18:37 -0400	[thread overview]
Message-ID: <20220711041841.126648-1-weijiang.yang@intel.com> (raw)

I Found a few pmu test failures when ran againt KVM/queue branch with pmu
disabled(enable_pmu=0), and posted a few fixup patches for the issues.
Maintainers reviewed and commented actively, which makes the fixup patches
evolved into this series. Besides two fixup patches, there're another two
cleanup patches included.

patch 1: Cleanup patch. Use report_skip() instead of printf() to make
output logs clean.
patch 2: Cleanup patch. Add helpers to check platform supported pmu
capabilities.
patch 3~4: Fixup patches. Fix test failures seen when pmu_enable=0.


Yang Weijiang (4):
  x86: Use report_skip to print messages when tests are skipped
  x86: Use helpers to fetch supported perf capabilities
  x86: Skip perf related tests when platform cannot support
  x86: Check platform pmu capabilities before run lbr tests

 lib/x86/processor.h |  70 ++++++++++++++++++++++++++++
 x86/pmu.c           |  28 ++++++------
 x86/pmu_lbr.c       |  33 ++++++--------
 x86/vmx_tests.c     | 109 +++++++++++++++++++++++---------------------
 4 files changed, 153 insertions(+), 87 deletions(-)


base-commit: ca85dda2671e88d34acfbca6de48a9ab32b1810d
-- 
2.31.1


             reply	other threads:[~2022-07-11  7:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-11  4:18 Yang Weijiang [this message]
2022-07-11  4:18 ` [kvm-unit-tests PATCH 1/4] x86: Use report_skip to print messages when tests are skipped Yang Weijiang
2022-07-11  4:18 ` [kvm-unit-tests PATCH 2/4] x86: Use helpers to fetch supported perf capabilities Yang Weijiang
2022-07-21 21:21   ` Sean Christopherson
2022-07-22  0:58     ` Yang, Weijiang
2022-07-11  4:18 ` [kvm-unit-tests PATCH 3/4] x86: Skip perf related tests when platform cannot support Yang Weijiang
2022-07-11  4:18 ` [kvm-unit-tests PATCH 4/4] x86: Check platform pmu capabilities before run lbr tests Yang Weijiang

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=20220711041841.126648-1-weijiang.yang@intel.com \
    --to=weijiang.yang@intel.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=seanjc@google.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