]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
x86/xstate: also use alternative asm on xsave side
authorShuai Ruan <shuai.ruan@linux.intel.com>
Thu, 4 Feb 2016 10:39:32 +0000 (11:39 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 4 Feb 2016 10:39:32 +0000 (11:39 +0100)
commitea9395f82aa692a85b76bd1ec16c1ecf8500c7c9
tree7c93b6630ca94094cbcef1b8393930a7c3153282
parent6f8e41c67a884b5eaa321bd58fdcf593179f5f2c
x86/xstate: also use alternative asm on xsave side

From: Shuai Ruan <shuai.ruan@linux.intel.com>

This patch use alternavtive asm on the xsave side.
As xsaves use modified optimization like xsaveopt, xsaves
may not writing the FPU portion of the save image too.
So xsaves also need some extra tweaks.

Signed-off-by: Shuai Ruan <shuai.ruan@linux.intel.com>
Fix XSAVES opcode. Extend the other respective XSAVEOPT conditional to
cover XSAVES as well. Re-wrap comment being adjusted.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/xstate.c