From: Paolo Bonzini <pbonzini@redhat.com>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: "Wu, Feng" <feng.wu@intel.com>,
"gleb@redhat.com" <gleb@redhat.com>,
"hpa@zytor.com" <hpa@zytor.com>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: [PATCH v4 0/4] KVM: enable Intel SMAP for KVM
Date: Fri, 11 Apr 2014 20:16:28 -0400 [thread overview]
Message-ID: <534885DC.6040603@redhat.com> (raw)
In-Reply-To: <20140410200149.GA26092@amt.cnet>
Il 10/04/2014 16:01, Marcelo Tosatti ha scritto:
> On Tue, Apr 08, 2014 at 04:38:08PM -0400, Paolo Bonzini wrote:
>> Il 07/04/2014 21:06, Wu, Feng ha scritto:
>>>>> Even though the tests do not cover the CPL=3/implicit access case, the
>>>>> logic to compute PFERR_RSVD_MASK dynamically is already covered by AC=1.
>>>>> So I'm quite happy with the coverage. Series is
>>>>>
>>>>> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>]
>>> Thanks very much for your review on this.
>>> BTW: Since 3.15 merge window is still open, I am wondering whether there is
>>> any possibility to make SMAP into 3.15 with another pull request.
>>>
>>
>> This is up to Marcelo who is currently managing the KVM tree.
>>
>> Paolo
>
> The merge window is for patches which have been tested in queue/next
> for sometime. This patch has received no testing other than the
> developer testing.
This is not going to change unfortunately since this is not shipping in
any real silicon. The only hope could be to use QEMU's SVM and SMAP
emulation.
> Lack of implicit supervisor mode by instructions such as "Examples of
> such implicit..." in section 9.3.2, in KVM's emulator, makes the feature
> incomplete, does it not ?
Implicit supervisor mode is handled by KVM emulator using
read/write_std. These accesses do not set PFERR_USER_MASK, and should
work fine with SMAP. Am I misunderstanding?
Paolo
> (would have to signal those accesses as supervisor ones).
next prev parent reply other threads:[~2014-04-12 0:16 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-01 9:46 [PATCH v4 0/4] KVM: enable Intel SMAP for KVM Feng Wu
2014-04-01 9:46 ` [PATCH v4 1/4] KVM: Remove SMAP bit from CR4_RESERVED_BITS Feng Wu
2014-04-01 9:46 ` [PATCH v4 2/4] KVM: Add SMAP support when setting CR4 Feng Wu
2014-04-10 20:12 ` Marcelo Tosatti
2014-04-12 0:14 ` Paolo Bonzini
2014-04-01 9:46 ` [PATCH v4 3/4] KVM: Disable SMAP for guests in EPT realmode and EPT unpaging mode Feng Wu
2014-04-01 9:46 ` [PATCH v4 4/4] KVM: expose SMAP feature to guest Feng Wu
2014-04-03 16:46 ` [PATCH v4 0/4] KVM: enable Intel SMAP for KVM Paolo Bonzini
2014-04-04 2:22 ` Wu, Feng
2014-04-04 7:27 ` Paolo Bonzini
2014-04-08 1:06 ` Wu, Feng
2014-04-08 20:38 ` Paolo Bonzini
2014-04-10 20:01 ` Marcelo Tosatti
2014-04-12 0:16 ` Paolo Bonzini [this message]
2014-04-12 0:17 ` Paolo Bonzini
2014-04-13 21:57 ` Marcelo Tosatti
2014-04-13 22:48 ` H. Peter Anvin
2014-04-10 20:16 ` Marcelo Tosatti
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=534885DC.6040603@redhat.com \
--to=pbonzini@redhat.com \
--cc=feng.wu@intel.com \
--cc=gleb@redhat.com \
--cc=hpa@zytor.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@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).