Patchwork target-i386: enable SVM lock for Phenom processors

login
register
mail settings
Submitter Prasad Joshi
Date April 21, 2013, 8:40 a.m.
Message ID <1366533638-1985-1-git-send-email-prasadjoshi.linux@gmail.com>
Download mbox | patch
Permalink /patch/238202/
State New
Headers show

Comments

Prasad Joshi - April 21, 2013, 8:40 a.m.
From: Prasad Joshi <prasadjoshi.linux@gmail.com>

Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com>
---
 target-i386/cpu.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/target-i386/cpu.c b/target-i386/cpu.c
index e2302d8..540e450 100644
--- a/target-i386/cpu.c
+++ b/target-i386/cpu.c
@@ -455,7 +455,7 @@  static x86_def_t builtin_x86_defs[] = {
                     CPUID_EXT3_OSVW, CPUID_EXT3_IBS */
         .ext3_features = CPUID_EXT3_LAHF_LM | CPUID_EXT3_SVM |
             CPUID_EXT3_ABM | CPUID_EXT3_SSE4A,
-        .svm_features = CPUID_SVM_NPT | CPUID_SVM_LBRV,
+        .svm_features = CPUID_SVM_NPT | CPUID_SVM_LBRV | CPUID_SVM_SVMLOCK,
         .xlevel = 0x8000001A,
         .model_id = "AMD Phenom(tm) 9550 Quad-Core Processor"
     },