]> git.baikalelectronics.ru Git - kernel.git/commit
x86, xsave: Support eager-only xsave features, add MPX support
authorQiaowei Ren <qiaowei.ren@intel.com>
Thu, 5 Dec 2013 09:15:34 +0000 (17:15 +0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Sat, 7 Dec 2013 01:17:42 +0000 (17:17 -0800)
commit4cf6dd578be5e016c8b718e0655e0571cf315e3d
treecff7435044ea8b95dc2c9ca66e4f1122a14b4fc9
parent0e61d09cb679f6fba4b481dcdf3d06e7edb02c1c
x86, xsave: Support eager-only xsave features, add MPX support

Some features, like Intel MPX, work only if the kernel uses eagerfpu
model.  So we should force eagerfpu on unless the user has explicitly
disabled it.

Add definitions for Intel MPX and add it to the supported list.

[ hpa: renamed XSTATE_FLEXIBLE to XSTATE_LAZY and added comments ]

Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
Link: http://lkml.kernel.org/r/9E0BE1322F2F2246BD820DA9FC397ADE014A6115@SHSMSX102.ccr.corp.intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/processor.h
arch/x86/include/asm/xsave.h
arch/x86/kernel/xsave.c