Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2013-06-13 10:36:45 +0200
committerJiri Kosina <jkosina@suse.cz>2013-06-14 10:21:43 +0200
commitaae234f88571254706691107edc327b25c741831 (patch)
tree0a56f6c00964beb081c52a2fd42b968d14f0f96e
parent0807faa0df256c96409bd93e585e5174b9d60c86 (diff)
x86, avx: don't use avx instructions with "noxsave" boot paramrpm-3.0.76-0.11
-rw-r--r--arch/x86/kernel/cpu/common-xen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/common-xen.c b/arch/x86/kernel/cpu/common-xen.c
index 5d293d5701a2..a3b3705cb5a1 100644
--- a/arch/x86/kernel/cpu/common-xen.c
+++ b/arch/x86/kernel/cpu/common-xen.c
@@ -159,6 +159,8 @@ static int __init x86_xsave_setup(char *s)
{
setup_clear_cpu_cap(X86_FEATURE_XSAVE);
setup_clear_cpu_cap(X86_FEATURE_XSAVEOPT);
+ setup_clear_cpu_cap(X86_FEATURE_AVX);
+ setup_clear_cpu_cap(X86_FEATURE_AVX2);
return 1;
}
__setup("noxsave", x86_xsave_setup);