public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [Patch v4 1/4] Add SMEP bit to CR4_RESERVED_BITS
@ 2011-05-29 11:41 Yang, Wei Y
  2011-05-29 13:59 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Yang, Wei Y @ 2011-05-29 11:41 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm@vger.kernel.org

This patch adds SMEP bit to CR4_RESERVED_BITS.

 Signed-off-by: Yang, Wei <wei.y.yang@intel.com>
 Signed-off-by: Shan, Haitao <haitao.shan@intel.com>
 Signed-off-by: Li, Xin <xin.li@intel.com>
---
 arch/x86/include/asm/kvm_host.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index d2ac8e2..4e63432 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -48,7 +48,7 @@
 	(~(unsigned long)(X86_CR4_VME | X86_CR4_PVI | X86_CR4_TSD | X86_CR4_DE\
 			  | X86_CR4_PSE | X86_CR4_PAE | X86_CR4_MCE     \
 			  | X86_CR4_PGE | X86_CR4_PCE | X86_CR4_OSFXSR  \
-			  | X86_CR4_OSXSAVE \
+			  | X86_CR4_OSXSAVE | X86_CR4_SMEP              \
 			  | X86_CR4_OSXMMEXCPT | X86_CR4_VMXE))

 #define CR8_RESERVED_BITS (~(unsigned long)X86_CR8_TPR)
--
1.7.4.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Patch v4 1/4] Add SMEP bit to CR4_RESERVED_BITS
  2011-05-29 11:41 [Patch v4 1/4] Add SMEP bit to CR4_RESERVED_BITS Yang, Wei Y
@ 2011-05-29 13:59 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2011-05-29 13:59 UTC (permalink / raw)
  To: Yang, Wei Y; +Cc: kvm@vger.kernel.org

On 05/29/2011 02:41 PM, Yang, Wei Y wrote:
> This patch adds SMEP bit to CR4_RESERVED_BITS.
>

Actually, it removes SMEP from CR4_RESERVED_BITS.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-29 13:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-29 11:41 [Patch v4 1/4] Add SMEP bit to CR4_RESERVED_BITS Yang, Wei Y
2011-05-29 13:59 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox