From: Paolo Bonzini <pbonzini@redhat.com>
To: Krish Sadhukhan <krish.sadhukhan@oracle.com>, kvm@vger.kernel.org
Cc: rkrcmar@redhat.com, jmattson@google.com
Subject: Re: [PATCH 0/2] kvm-unit-test: x86: Implement a generic wrapper for cpuid/cpuid_indexed calls
Date: Sat, 3 Aug 2019 08:06:44 +0200 [thread overview]
Message-ID: <960ef4d5-93e5-e9cd-3507-f0358abb4579@redhat.com> (raw)
In-Reply-To: <20190730215256.26695-1-krish.sadhukhan@oracle.com>
On 30/07/19 23:52, Krish Sadhukhan wrote:
> This patch-set implements a generic wrapper for the cpuid/cpuid_index calls in
> the kvm-unit-test source code. This is similar to what we have in the kernel
> source code except that here we retrieve the data on the fly.
> This implementation makes it convenient to define various CPUID feature bits
> in one place and re-use them in places which need to check if a given CPUID
> feature bit is supported by the current CPU.
>
>
> [PATCH 1/2] kvm-unit-test: x86: Implement a generic wrapper for cpuid/cpuid_indexed
> [PATCH 2/2] kvm-unit-test: x86: Replace cpuid/cpuid_indexed calls with
>
> lib/x86/processor.h | 147 +++++++++++++++++++++++++++++++++++-----------
> x86/access.c | 13 ++--
> x86/apic.c | 8 +--
> x86/emulator.c | 4 +-
> x86/memory.c | 16 ++---
> x86/pcid.c | 10 +---
> x86/pku.c | 3 +-
> x86/smap.c | 4 +-
> x86/svm.c | 6 +-
> x86/tsc.c | 16 +----
> x86/tsc_adjust.c | 2 +-
> x86/tscdeadline_latency.c | 2 +-
> x86/umip.c | 6 +-
> x86/vmexit.c | 6 +-
> x86/vmx.c | 2 +-
> x86/vmx_tests.c | 11 ++--
> x86/xsave.c | 15 ++---
> 17 files changed, 153 insertions(+), 118 deletions(-)
>
> Krish Sadhukhan (2):
> x86: Implement a generic wrapper for cpuid/cpuid_indexed functions
> x86: Replace cpuid/cpuid_indexed calls with this_cpu_has()
>
Queued, thanks.
Paolo
prev parent reply other threads:[~2019-08-03 6:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-30 21:52 [PATCH 0/2] kvm-unit-test: x86: Implement a generic wrapper for cpuid/cpuid_indexed calls Krish Sadhukhan
2019-07-30 21:52 ` [PATCH 1/2] kvm-unit-test: x86: Implement a generic wrapper for cpuid/cpuid_indexed functions Krish Sadhukhan
2019-07-30 21:52 ` [PATCH 2/2] kvm-unit-test: x86: Replace cpuid/cpuid_indexed calls with this_cpu_has() Krish Sadhukhan
2019-08-03 6:06 ` Paolo Bonzini [this message]
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=960ef4d5-93e5-e9cd-3507-f0358abb4579@redhat.com \
--to=pbonzini@redhat.com \
--cc=jmattson@google.com \
--cc=krish.sadhukhan@oracle.com \
--cc=kvm@vger.kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).