summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2010-07-19 16:05:52 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-07-19 16:50:40 -0700
commit5734f62b6601d88fd8ec720cb56b93fd3a030557 (patch)
tree36e9561924f18eb55eb4e65387075065a42b24c3
parent40e1d7a4ffee5cb17f5c36f4c3c4a011ab103ebe (diff)
downloadop-kernel-dev-5734f62b6601d88fd8ec720cb56b93fd3a030557.zip
op-kernel-dev-5734f62b6601d88fd8ec720cb56b93fd3a030557.tar.gz
x86, cpu: Enumerate xsaveopt
Enumerate the xsaveopt feature. Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> LKML-Reference: <20100719230205.604014179@sbs-t61.sc.intel.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--arch/x86/kernel/cpu/addon_cpuid_features.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/addon_cpuid_features.c b/arch/x86/kernel/cpu/addon_cpuid_features.c
index 03cf24a..41eebcd 100644
--- a/arch/x86/kernel/cpu/addon_cpuid_features.c
+++ b/arch/x86/kernel/cpu/addon_cpuid_features.c
@@ -35,6 +35,7 @@ void __cpuinit init_scattered_cpuid_features(struct cpuinfo_x86 *c)
{ X86_FEATURE_ARAT, CR_EAX, 2, 0x00000006, 0 },
{ X86_FEATURE_APERFMPERF, CR_ECX, 0, 0x00000006, 0 },
{ X86_FEATURE_EPB, CR_ECX, 3, 0x00000006, 0 },
+ { X86_FEATURE_XSAVEOPT, CR_EAX, 0, 0x0000000d, 1 },
{ X86_FEATURE_CPB, CR_EDX, 9, 0x80000007, 0 },
{ X86_FEATURE_NPT, CR_EDX, 0, 0x8000000a, 0 },
{ X86_FEATURE_LBRV, CR_EDX, 1, 0x8000000a, 0 },
OpenPOWER on IntegriCloud