[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 0/3] x86/xsaves: bugs fix



This patch fix bugs caused by previous patch:
1. xstate_comp_offset should be caculated based on xcomp_bv
2. non-lazy/lazy xsave[sc] may overwiting xsave area
3. ebx may return wrong value using CPUID eax=0xdh,ecx =1

The fist and second bugs is found by Jan. Thanks to Jan.

Shuai Ruan (3):
  x86/xsaves: caculate the xstate_comp_offsets base on xcomp_bv
  x86/xsaves: fix overwriting between non-lazy/lazy xsave[sc]
  x86/xsaves: ebx may return wrong value using CPUID eax=0xdh,ecx =1

 tools/libxc/xc_cpuid_x86.c   | 10 ++++++++--
 xen/arch/x86/hvm/hvm.c       | 12 ++++++++++++
 xen/arch/x86/i387.c          |  2 +-
 xen/arch/x86/xstate.c        | 29 +++++++++++++++++++++--------
 xen/include/asm-x86/xstate.h |  1 +
 5 files changed, 43 insertions(+), 11 deletions(-)

-- 
1.9.1


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.