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)
commit21e726c4a3625a1038e97795b7aad97109ba7e19
tree39430082d051d6c96b099a9fbf38396c6f7384c9
parentfacbf4d91ae64f84ef93a00e4037135cd9f4b2ab
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