From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH V3 0/6] add xsaves/xrstors support Date: Wed, 5 Aug 2015 17:38:21 +0100 Message-ID: <55C23BFD.1070706@citrix.com> References: <1438739842-31658-1-git-send-email-shuai.ruan@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1438739842-31658-1-git-send-email-shuai.ruan@linux.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Shuai Ruan , xen-devel@lists.xen.org Cc: kevin.tian@intel.com, wei.liu2@citrix.com, Ian.Campbell@citrix.com, stefano.stabellini@eu.citrix.com, eddie.dong@intel.com, ian.jackson@eu.citrix.com, jbeulich@suse.com, jun.nakajima@intel.com, keir@xen.org List-Id: xen-devel@lists.xenproject.org On 05/08/15 02:57, Shuai Ruan wrote: > Detail hardware spec can be found in chapter 13 (section 13.11 13.12) of the > Intel SDM [1]. > > patch1: add xsaves/xrstors support for pv guest > patch2: add xsaves/xrstors support for xen > patch3-5: add xsaves/xrstors support for hvm guest > patch6: swtich on detection of xsaves/xrstors/xgetbv in xen This order of operations seems backwards. Can I suggest starting with a patch which adds various xsaves/etc defines/helper functions/etc (rather than having them spread through the series), then a patch which allows Xen to start using the features, then adding support to PV and HVM guests. ~Andrew