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)
commite7d820a5e549b3eb6c3f9467507566565646a669
treecff7435044ea8b95dc2c9ca66e4f1122a14b4fc9
parent191f57c137bcce0e3e9313acb77b2f114d15afbb
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
This page took 0.054958 seconds and 5 git commands to generate.