]> git.baikalelectronics.ru Git - kernel.git/commit
x86/xsaves: Clear reserved bits in xsave header
authorFenghua Yu <fenghua.yu@intel.com>
Thu, 29 May 2014 18:12:39 +0000 (11:12 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 29 May 2014 21:33:00 +0000 (14:33 -0700)
commit893fe5be43fb196a3cb4aee1908ada854c77914b
tree39430082d051d6c96b099a9fbf38396c6f7384c9
parente1b442f8d73d6d3293efc5dbc980063423356924
x86/xsaves: Clear reserved bits in xsave header

The reserved bits (128~511) in the xsave header must be zero according to
X86 SDM. Clear the bits in this patch.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Link: http://lkml.kernel.org/r/1401387164-43416-12-git-send-email-fenghua.yu@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/i387.c