aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorFenghua Yu <fenghua.yu@intel.com>2014-05-29 14:12:31 -0400
committerH. Peter Anvin <hpa@linux.intel.com>2014-05-29 17:24:52 -0400
commitb6f42a4a3c886bd18baf319d433a841ac9942c02 (patch)
treebd10c688b74f52c9f1f527e6d2a9bbb40b2056ef /Documentation
parent6229ad278ca74acdbc8bd3a3d469322a3de91039 (diff)
x86/xsaves: Add a kernel parameter noxsaves to disable xsaves/xrstors
This patch adds a kernel parameter noxsaves to disable xsaves/xrstors feature. The kernel will fall back to use xsaveopt and xrstor to save and restor xstates. By using this parameter, xsave area occupies more memory because standard form of xsave area in xsaveopt/xrstor occupies more memory than compacted form of xsave area. This patch adds a description of the kernel parameter noxsaveopt in doc. The code to support the parameter noxsaveopt has been in the kernel before. This patch just adds the description of this parameter in the doc. Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Link: http://lkml.kernel.org/r/1401387164-43416-4-git-send-email-fenghua.yu@intel.com Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/kernel-parameters.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 30a8ad0dae53..0ebd95252c3f 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -2124,6 +2124,21 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
2124 and restore using xsave. The kernel will fallback to 2124 and restore using xsave. The kernel will fallback to
2125 enabling legacy floating-point and sse state. 2125 enabling legacy floating-point and sse state.
2126 2126
2127 noxsaveopt [X86] Disables xsaveopt used in saving x86 extended
2128 register states. The kernel will fall back to use
2129 xsave to save the states. By using this parameter,
2130 performance of saving the states is degraded because
2131 xsave doesn't support modified optimization while
2132 xsaveopt supports it on xsaveopt enabled systems.
2133
2134 noxsaves [X86] Disables xsaves and xrstors used in saving and
2135 restoring x86 extended register state in compacted
2136 form of xsave area. The kernel will fall back to use
2137 xsaveopt and xrstor to save and restore the states
2138 in standard form of xsave area. By using this
2139 parameter, xsave area per process might occupy more
2140 memory on xsaves enabled systems.
2141
2127 eagerfpu= [X86] 2142 eagerfpu= [X86]
2128 on enable eager fpu restore 2143 on enable eager fpu restore
2129 off disable eager fpu restore 2144 off disable eager fpu restore