From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH v2] x86/xsave: simplify xcomp_bv initialization Date: Wed, 13 Jan 2016 10:59:54 +0000 Message-ID: <56962E2A.2060501@citrix.com> References: <56960B3602000078000C62AC@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aJJ9i-0001n8-Hn for xen-devel@lists.xenproject.org; Wed, 13 Jan 2016 10:59:58 +0000 In-Reply-To: <56960B3602000078000C62AC@prv-mh.provo.novell.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: Jan Beulich , xen-devel Cc: Keir Fraser , Shuai Ruan List-Id: xen-devel@lists.xenproject.org On 13/01/16 07:30, Jan Beulich wrote: > This simplifies a number of pointless conditionals: Bits 0 and 1 of > xcomp_bv don't matter anyway, and as long as none of bits 2..62 are > set, setting bit 63 is pointless too unless XSAVES is in use. > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper