]> git.baikalelectronics.ru Git - kernel.git/commit
x86/xsaves: Use xsaves/xrstors to save and restore xsave area
authorFenghua Yu <fenghua.yu@intel.com>
Thu, 29 May 2014 18:12:36 +0000 (11:12 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 29 May 2014 21:31:21 +0000 (14:31 -0700)
commita33edb6fedd1712db1dea1727af61a1bf5f5c6bc
treed645ef9b40bb233a177bcebf9be1cb9ef77823d6
parentdf2517ce2bb11b7c0e5bc1a312c711298f21c054
x86/xsaves: Use xsaves/xrstors to save and restore xsave area

If xsaves is eanbled, use xsaves/xrstors instrucitons to save and restore
xstate. xsaves and xrstors support compacted format, init optimization,
modified optimization, and supervisor states.

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