From: Ian Jackson Subject: Re: [PATCH v4 4/8] hvmloader: Fix check for needing a 64-bit bar Date: Fri, 21 Jun 2013 11:51:11 +0100 Message-ID: <20932.12319.75825.411316@mariner.uk.xensource.com> References: <1371811594-31135-1-git-send-email-george.dunlap@eu.citrix.com> <1371811594-31135-5-git-send-email-george.dunlap@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1371811594-31135-5-git-send-email-george.dunlap@eu.citrix.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: George Dunlap Cc: Keir Fraser , Hanweidong , Stefano Stabellini , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org George Dunlap writes ("[PATCH v4 4/8] hvmloader: Fix check for needing a 64-bit bar"): > After attempting to resize the MMIO hole, the check to determine > whether there is a need to relocate BARs into 64-bit space checks the > specific thing that caused the loop to exit (MMIO hole == 2GiB) rather > than checking whether the required MMIO will fit in the hole. > > But even then it does it wrong: the polarity of the check is > backwards. > > Check for the actual condition we care about (the sizeof the MMIO > hole) rather than checking for the loop exit condition. Acked-by: Ian Jackson