From: Ian Campbell Subject: Re: Build error iasl/dsdt after commit "hvmloader: also cover PCI MMIO ranges above 4G with UC MTRR ranges" Date: Thu, 22 May 2014 10:16:04 +0100 Message-ID: <1400750164.11409.34.camel@kazak.uk.xensource.com> References: <841167474.20140521205813@eikelenboom.it> <537DC2610200007800014C8C@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WnP73-0003Yt-UD for xen-devel@lists.xenproject.org; Thu, 22 May 2014 09:16:34 +0000 In-Reply-To: <537DC2610200007800014C8C@mail.emea.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 Cc: Sander Eikelenboom , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-05-22 at 08:24 +0100, Jan Beulich wrote: > >>> On 21.05.14 at 20:58, wrote: > > It seems commit "d06886694328a31369addc1f614cf326728d65a6: > > "hvmloader: also cover PCI MMIO ranges above 4G with UC MTRR ranges" > > causes the build error below. > > > > In case it's relevant it's with iasl from debian wheezy, which is version: > > iasl 20100528-3 > > I tried a variety of iasl-s (ranging from 2006 to 2012), with none of > them triggering this. So I'm afraid this is a bug of the specific iasl in > Wheezy - I'm not sure how to deal with that. FWIW I can reproduce on a Wheezy machine. The automated tests run under Wheezy so this is probably going to block testing. I think the chances of getting Wheezy fixed are pretty minimal, at least soon. I think we will probably have to work around it. > Furthermore, as already > indicated in a reply to an inquiry on it by Ian C, I'm having a physical > machine here with exactly the same QWordMemory() template, so all > zeros in there can't be entirely wrong. While we overwrite all three > fields (HMIN, HMAX, and HLEN) anyway, I'm not sure putting in some > random range deemed valid by that specific tool version is a good > idea. But to help with the decision, could you try whether that > > QWordMemory ( > ResourceProducer, PosDecode, MinFixed, MaxFixed, > NonCacheable, ReadWrite, > 0x0000000000000000, > 0x0000000fffffffff, > 0x0000001000000000, > 0x0000000000000000, > 0x0000000000000001, > ,, _Y02) > > > would at least help? Unfortunately not: dsdt_anycpu.asl 164: 0x0000000000000001, Error 4118 - Length is not equal to fixed Min/Max window ^ I also tried ...ffffffc + 4 and ..fffff8 + 8 in case it was a alignment requirement or something, but apparently not since it didn't help. I also tried a 100000000-100000001 span, no joy. This worked though: QWordMemory ( ResourceProducer, PosDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x0000000000000000, 0x0000001000000000, 0x000000100000000f, 0x0000000000000000, 0x0000000000000010, ,, _Y02) But this doesn't: QWordMemory ( ResourceProducer, PosDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x0000000000000000, 0x0000000ffffffff0, 0x0000001000000000, 0x0000000000000000, 0x0000000000000010, ,, _Y02) Ian.