[PATCH 2/6] x86, cpu: Add xsaveopt cpufeature
leann.ogasawara at canonical.com
leann.ogasawara at canonical.com
Tue Aug 24 01:58:11 UTC 2010
BugLink: https://bugs.launchpad.net/bugs/485548
Add cpu feature bit support for the XSAVEOPT instruction.
Signed-off-by: Suresh Siddha <suresh.b.siddha at intel.com>
LKML-Reference: <20100719230205.523204988 at sbs-t61.sc.intel.com>
Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>
(backported from upstream commit 40e1d7a4ffee5cb17f5c36f4c3c4a011ab103ebe)
Signed-off-by: Leann Ogasawara <leann.ogasawara at canonical.com>
---
arch/x86/include/asm/cpufeature.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/x86/include/asm/cpufeature.h b/arch/x86/include/asm/cpufeature.h
index 4681459..d431154 100644
--- a/arch/x86/include/asm/cpufeature.h
+++ b/arch/x86/include/asm/cpufeature.h
@@ -162,6 +162,7 @@
#define X86_FEATURE_IDA (7*32+ 0) /* Intel Dynamic Acceleration */
#define X86_FEATURE_ARAT (7*32+ 1) /* Always Running APIC Timer */
#define X86_FEATURE_CPB (7*32+ 2) /* AMD Core Performance Boost */
+#define X86_FEATURE_XSAVEOPT (7*32+4) /* "xsaveopt" Optimized Xsave */
/* Virtualization flags: Linux defined */
#define X86_FEATURE_TPR_SHADOW (8*32+ 0) /* Intel TPR Shadow */
--
1.7.0.4
More information about the kernel-team
mailing list