]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86, xsave: enable xsave/xrstor on cpus with xsave support
authorSuresh Siddha <suresh.b.siddha@intel.com>
Tue, 29 Jul 2008 17:29:19 +0000 (10:29 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jul 2008 17:49:24 +0000 (19:49 +0200)
commitdc1e35c6e95e8923cf1d3510438b63c600fee1e2
tree4348f51f1bfdd124efd6d16dcc552bd4a148fdfb
parenta648bf4632628c787abb0514277f2a231fca39ca
x86, xsave: enable xsave/xrstor on cpus with xsave support

Enables xsave/xrstor by turning on cr4.osxsave on cpu's which have
the xsave support. For now, features that OS supports/enabled are
FP and SSE.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/Makefile
arch/x86/kernel/cpu/common.c
arch/x86/kernel/i387.c
arch/x86/kernel/traps_32.c
arch/x86/kernel/traps_64.c
arch/x86/kernel/xsave.c [new file with mode: 0644]
include/asm-x86/i387.h
include/asm-x86/processor-flags.h
include/asm-x86/processor.h
include/asm-x86/xsave.h [new file with mode: 0644]