Haitao Shan
2010-Oct-29 01:24 UTC
[Xen-devel] [Patch 0/4] Refining Xsave/Xrestore support - Version 2
Hi, Keir,
The following patches refines Xen support for CPU Xsave/Xrestore
support. There are four patches included.
Patch 1/4:
Cleaning up existing Xsave code in Xen.
Replace xfeature_low and xfeature_high with a u64 variable
xfeature_mask.
In structure hvm_vcpu, rename xfeature_mask to xcr0
Provide EDX:EAX with all bits set to 1 for XSAVE and XRSTOR as
spec recommends
Patch 2/4:
Adding Xsave/Xrestore support for PV guests. Feature is exposed
via CPUID. XSETBV is trapped and emulated by Xen (via GP#).
Patch 3/4:
Expose AVX to guest OSs.
Patch 4/4:
Adding guest save/restore support when Xsave/Xrestore are available.
Adding a pair of hypercalls for PV guest
Adding a new data chunk for HVM guest.
I tried to read the related the email thread and incorporated the
comments. These are version 2 of the patch series.
Shan Haitao
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Keir Fraser
2010-Oct-29 17:51 UTC
Re: [Xen-devel] [Patch 0/4] Refining Xsave/Xrestore support - Version 2
I applied patch 1/4 as xen-unstable:22334. The rest I think Jan had further comments on. When you submit for the next round, please remember the signed-off-by lines. Thanks, Keir On 29/10/2010 02:24, "Haitao Shan" <maillists.shan@gmail.com> wrote:> Hi, Keir, > > The following patches refines Xen support for CPU Xsave/Xrestore > support. There are four patches included. > Patch 1/4: > Cleaning up existing Xsave code in Xen. > Replace xfeature_low and xfeature_high with a u64 variable > xfeature_mask. > In structure hvm_vcpu, rename xfeature_mask to xcr0 > Provide EDX:EAX with all bits set to 1 for XSAVE and XRSTOR as > spec recommends > Patch 2/4: > Adding Xsave/Xrestore support for PV guests. Feature is exposed > via CPUID. XSETBV is trapped and emulated by Xen (via GP#). > Patch 3/4: > Expose AVX to guest OSs. > Patch 4/4: > Adding guest save/restore support when Xsave/Xrestore are available. > Adding a pair of hypercalls for PV guest > Adding a new data chunk for HVM guest. > > I tried to read the related the email thread and incorporated the > comments. These are version 2 of the patch series. > > Shan Haitao > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Possibly Parallel Threads
- [PATCH 2/3 v2] XSAVE/XRSTOR: fix frozen states
- [PATCH 2/5] X86 architecture instruction set extension definiation
- [PATCH 2/4 V2] X86: enable support for new ISA extensions
- [PATCH 0/4] XSA-52..54 follow-up
- [PATCH 2/2] xsave: extend xsave/xrstor support to all (64) features