|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] [PATCH] add SMEP support to HVM guest
To: |
Jan Beulich <jbeulich@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx> |
Subject: |
RE: [Xen-devel] [PATCH] add SMEP support to HVM guest |
From: |
"Li, Xin" <xin.li@xxxxxxxxx> |
Date: |
Sun, 5 Jun 2011 16:36:44 +0800 |
Accept-language: |
zh-CN, en-US |
Acceptlanguage: |
zh-CN, en-US |
Cc: |
"keir.xen@xxxxxxxxx" <keir.xen@xxxxxxxxx>, "keir@xxxxxxx" <keir@xxxxxxx>, "Tim.Deegan@xxxxxxxxxx" <Tim.Deegan@xxxxxxxxxx> |
Delivery-date: |
Sun, 05 Jun 2011 01:37:22 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<4DEB46630200007800070EC4@xxxxxxxxxxxxxxxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<4DEB46630200007800070EC4@xxxxxxxxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Thread-index: |
AcwjVxQGxyHrRFZrRnCyKHLGFXah7wAA43GQ |
Thread-topic: |
[Xen-devel] [PATCH] add SMEP support to HVM guest |
>>/* Modifying CR4.{PSE,PAE,PGE} invalidates all TLB entries, inc. Global. */
>>- if ( (old_cr ^ value) & (X86_CR4_PSE | X86_CR4_PGE | X86_CR4_PAE) ) {
>>+ if ( (old_cr ^ value) & (X86_CR4_PSE | X86_CR4_PGE |
>>+ X86_CR4_PAE | X86_CR4_SMEP) ) {
>
>Not having access to the specification - why?
Intel SDM just got updated, you can find it @:
http://www.intel.com/products/processor/manuals/
>Perhaps rather "!(pfec & PFEC_user_mode)"?
>Same here.
You're right! Thanks for pointing out!
-Xin
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|