From: "Jan Beulich" Subject: Re: [PATCH v3 1/3] xc_cpuid_x86.c: Simplify masking conditions and remove redundant work Date: Wed, 10 Sep 2014 10:59:13 +0100 Message-ID: <54103D11020000780003323C@mail.emea.novell.com> References: <1410316166-22692-1-git-send-email-alfred.z.song@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1410316166-22692-1-git-send-email-alfred.z.song@gmail.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Zhuo Song Cc: ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com, jinsong.liu@alibaba-inc.com, ian.jackson@eu.citrix.com, Zhuo Song , boyu.mt@alibaba-inc.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 10.09.14 at 04:29, wrote: > * Since there would not be 32-bit hypervisor, we do not need > hypervisor_is_64bit() again. > > * Remove xen_64bit from xc_cpuid_pv_policy(). > > * Because is_64bit only depends on is_pae, only use is_pae for both > vendor specific functions. > > * Move conditions for LM/NX masking into architectural logic > > Signed-off-by: Zhuo Song You were asked to do everything in one patch on v2, and now it became 3 patches? Please avoid the intermediate bogus state and drop the two offending is_pae uses right away. Jan