]> 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)
commit6e3a6b64e024994f3550359718983e62d86240a2
treecff7435044ea8b95dc2c9ca66e4f1122a14b4fc9
parent3fe45f8b1e91551c8b7991d2b4153e921cd078da
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