Haitao Shan
2010-Nov-02 03:46 UTC
[Xen-devel] [Patch 0/3] Refining Xsave/Xrestore support - Version 3
Hi, Keir, The following patches refines Xen support for CPU Xsave/Xrestore support. There are three patches included. Patch 1/3: Adding Xsave/Xrestore support for PV guests. Feature is exposed via CPUID. XSETBV is trapped and emulated by Xen (via GP#). Patch 2/3: Expose AVX to guest OSs. Patch 3/3: 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. These are version 3 of the patch series. Shan Haitao _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Haitao Shan
2010-Nov-04 01:37 UTC
[Xen-devel] Re: [Patch 0/3] Refining Xsave/Xrestore support - Version 3
Hi, Keir, Can you pull the 4 xsave-related patches to Xen4.0 tree? I have tried. Applying the patches is quite straight forward. Patch 4 needs some minor modifications since there are some general function changes recently in unstable tree (while these are not in Xen4.0). I have made this for you. All patches are Signed-off-by: Haitao Shan <haitao.shan@intel.com> and Han Weidong <weidong.han@intel.com> Thanks! Shan Haitao 2010/11/2 Haitao Shan <maillists.shan@gmail.com>:> Hi, Keir, > > The following patches refines Xen support for CPU Xsave/Xrestore > support. There are three patches included. > Patch 1/3: > Adding Xsave/Xrestore support for PV guests. Feature is exposed > via CPUID. XSETBV is trapped and emulated by Xen (via GP#). > Patch 2/3: > Expose AVX to guest OSs. > Patch 3/3: > 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. > > These are version 3 of the patch series. > > Shan Haitao >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2010-Nov-04 06:47 UTC
Re: [Xen-devel] Re: [Patch 0/3] Refining Xsave/Xrestore support - Version 3
On 04/11/2010 01:37, "Haitao Shan" <maillists.shan@gmail.com> wrote:> Hi, Keir, > > Can you pull the 4 xsave-related patches to Xen4.0 tree?Are they really suitable for immediate backport to a stable branch? --Keir> I have tried. Applying the patches is quite straight forward. Patch 4 > needs some minor modifications since there are some general function > changes recently in unstable tree (while these are not in Xen4.0). I > have made this for you. > All patches are Signed-off-by: Haitao Shan <haitao.shan@intel.com> and > Han Weidong <weidong.han@intel.com> > > Thanks! > > Shan Haitao > > 2010/11/2 Haitao Shan <maillists.shan@gmail.com>: >> Hi, Keir, >> >> The following patches refines Xen support for CPU Xsave/Xrestore >> support. There are three patches included. >> Patch 1/3: >> Adding Xsave/Xrestore support for PV guests. Feature is exposed >> via CPUID. XSETBV is trapped and emulated by Xen (via GP#). >> Patch 2/3: >> Expose AVX to guest OSs. >> Patch 3/3: >> 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. >> >> These are version 3 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
Haitao Shan
2010-Nov-04 07:21 UTC
Re: [Xen-devel] Re: [Patch 0/3] Refining Xsave/Xrestore support - Version 3
OK. I did not realize this was a stable tree. Originally, I thought it was a testing tree, which was used for periodic 4.0 update releases. And by default, xsave is not enabled. I would agree with you. It is more meaningful when this feature gets more tests before doing a backport. Thanks! Shan Haitao 2010/11/4 Keir Fraser <keir@xen.org>:> On 04/11/2010 01:37, "Haitao Shan" <maillists.shan@gmail.com> wrote: > >> Hi, Keir, >> >> Can you pull the 4 xsave-related patches to Xen4.0 tree? > > Are they really suitable for immediate backport to a stable branch? > > --Keir > >> I have tried. Applying the patches is quite straight forward. Patch 4 >> needs some minor modifications since there are some general function >> changes recently in unstable tree (while these are not in Xen4.0). I >> have made this for you. >> All patches are Signed-off-by: Haitao Shan <haitao.shan@intel.com> and >> Han Weidong <weidong.han@intel.com> >> >> Thanks! >> >> Shan Haitao >> >> 2010/11/2 Haitao Shan <maillists.shan@gmail.com>: >>> Hi, Keir, >>> >>> The following patches refines Xen support for CPU Xsave/Xrestore >>> support. There are three patches included. >>> Patch 1/3: >>> Adding Xsave/Xrestore support for PV guests. Feature is exposed >>> via CPUID. XSETBV is trapped and emulated by Xen (via GP#). >>> Patch 2/3: >>> Expose AVX to guest OSs. >>> Patch 3/3: >>> 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. >>> >>> These are version 3 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
Keir Fraser
2010-Nov-04 07:26 UTC
Re: [Xen-devel] Re: [Patch 0/3] Refining Xsave/Xrestore support - Version 3
On 04/11/2010 07:21, "Haitao Shan" <maillists.shan@gmail.com> wrote:> OK. I did not realize this was a stable tree. Originally, I thought it > was a testing tree, which was used for periodic 4.0 update releases.That is what it is, but it''s expected to only have stable patches backported to it in the first place.> And by default, xsave is not enabled.Ah I didn''t notice that. This is currently the case even in xen-unstable too?> I would agree with you. It is more meaningful when this feature gets > more tests before doing a backport.Yes, I think so. -- Keir> Thanks! > > Shan Haitao > > 2010/11/4 Keir Fraser <keir@xen.org>: >> On 04/11/2010 01:37, "Haitao Shan" <maillists.shan@gmail.com> wrote: >> >>> Hi, Keir, >>> >>> Can you pull the 4 xsave-related patches to Xen4.0 tree? >> >> Are they really suitable for immediate backport to a stable branch? >> >> --Keir >> >>> I have tried. Applying the patches is quite straight forward. Patch 4 >>> needs some minor modifications since there are some general function >>> changes recently in unstable tree (while these are not in Xen4.0). I >>> have made this for you. >>> All patches are Signed-off-by: Haitao Shan <haitao.shan@intel.com> and >>> Han Weidong <weidong.han@intel.com> >>> >>> Thanks! >>> >>> Shan Haitao >>> >>> 2010/11/2 Haitao Shan <maillists.shan@gmail.com>: >>>> Hi, Keir, >>>> >>>> The following patches refines Xen support for CPU Xsave/Xrestore >>>> support. There are three patches included. >>>> Patch 1/3: >>>> Adding Xsave/Xrestore support for PV guests. Feature is exposed >>>> via CPUID. XSETBV is trapped and emulated by Xen (via GP#). >>>> Patch 2/3: >>>> Expose AVX to guest OSs. >>>> Patch 3/3: >>>> 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. >>>> >>>> These are version 3 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