public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Sean Christopherson <seanjc@google.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org, Sean Christopherson <seanjc@google.com>,
	Jim Mattson <jmattson@google.com>
Subject: [kvm-unit-tests PATCH 0/2] x86: msr: MCi_XXX testcases
Date: Thu, 12 May 2022 23:30:43 +0000	[thread overview]
Message-ID: <20220512233045.4125471-1-seanjc@google.com> (raw)

Add tests for MCi_XXX MSRs in the 0x400-0x479 (inclusive) range to verify
they all follow architecturally defined behavior, e.g. CTL MSRs allow '0'
or all ones, STATUS MSRs only allow '0', non-existent MSRs #GP on read and
write, etc...

Sean Christopherson (2):
  x86: msr: Take the MSR index and name separately in low level helpers
  x86: msr: Add tests for MCE bank MSRs

 x86/msr.c | 102 +++++++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 82 insertions(+), 20 deletions(-)


base-commit: 6a7a83ed106211fc0ee530a3a05f171f6a4c4e66
-- 
2.36.0.550.gb090851708-goog


             reply	other threads:[~2022-05-12 23:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-12 23:30 Sean Christopherson [this message]
2022-05-12 23:30 ` [kvm-unit-tests PATCH 1/2] x86: msr: Take the MSR index and name separately in low level helpers Sean Christopherson
2022-05-12 23:30 ` [kvm-unit-tests PATCH 2/2] x86: msr: Add tests for MCE bank MSRs Sean Christopherson

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=20220512233045.4125471-1-seanjc@google.com \
    --to=seanjc@google.com \
    --cc=jmattson@google.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@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