From: Paolo Bonzini <pbonzini@redhat.com>
To: Like Xu <like.xu.linux@gmail.com>, Joerg Roedel <joro@8bytes.org>
Cc: Sean Christopherson <seanjc@google.com>,
Vitaly Kuznetsov <vkuznets@redhat.com>,
Wanpeng Li <wanpengli@tencent.com>,
Jim Mattson <jmattson@google.com>,
x86@kernel.org, linux-kernel@vger.kernel.org,
kvm@vger.kernel.org
Subject: Re: [PATCH] KVM: x86/cpuid: Expose the true number of available ASIDs
Date: Thu, 15 Jul 2021 13:19:16 +0200 [thread overview]
Message-ID: <3d2ad944-9e0c-dea7-f0e4-4e55072ccf99@redhat.com> (raw)
In-Reply-To: <20210715104505.96220-1-likexu@tencent.com>
On 15/07/21 12:45, Like Xu wrote:
> The original fixed number "8" was first introduced 11 years ago. Time has
> passed and now let KVM report the true number of address space identifiers
> (ASIDs) that are supported by the processor returned in Fn8000_000A_EBX.
>
> It helps user-space to make better decisions about guest values.
>
> - entry->ebx = 8; /* Lets support 8 ASIDs in case we add proper
> - ASID emulation to nested SVM */
Why, since we don't have ASID emulation yet anyway?
Paolo
next prev parent reply other threads:[~2021-07-15 11:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-15 10:45 Like Xu
2021-07-15 11:19 ` Paolo Bonzini [this message]
2021-07-15 11:51 ` Like Xu
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=3d2ad944-9e0c-dea7-f0e4-4e55072ccf99@redhat.com \
--to=pbonzini@redhat.com \
--cc=jmattson@google.com \
--cc=joro@8bytes.org \
--cc=kvm@vger.kernel.org \
--cc=like.xu.linux@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=seanjc@google.com \
--cc=vkuznets@redhat.com \
--cc=wanpengli@tencent.com \
--cc=x86@kernel.org \
/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
all inboxes | Powered by JetHome®