On 15.10.2008, at 21:31, Alexander Graf wrote:

This patch adds the CPUID feature flag for SVM in the x86 Linux headers.

Looks like the full leaf 0x80000001 found its way into mainline, so this patch is not necessary anymore.

Alex



Signed-off-by: Alexander Graf <[EMAIL PROTECTED]>
---
include/asm-x86/cpufeature.h |    1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/asm-x86/cpufeature.h b/include/asm-x86/ cpufeature.h
index cfcfb0a..28217de 100644
--- a/include/asm-x86/cpufeature.h
+++ b/include/asm-x86/cpufeature.h
@@ -110,6 +110,7 @@
/* More extended AMD flags: CPUID level 0x80000001, ecx, word 6 */
#define X86_FEATURE_LAHF_LM     (6*32+ 0) /* LAHF/SAHF in long mode */
#define X86_FEATURE_CMP_LEGACY (6*32+ 1) /* If yes HyperThreading not valid */
+#define X86_FEATURE_SVM                (6*32+ 2) /* Secure Virtual Machine */
#define X86_FEATURE_IBS         (6*32+ 10) /* Instruction Based Sampling */

/*
--
1.5.6

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to