From: Wei Liu Subject: Re: Limitation in HVM physmap Date: Fri, 1 Nov 2013 14:19:00 +0000 Message-ID: <20131101141900.GG4966@zion.uk.xensource.com> References: <20131018142012.GB20185@zion.uk.xensource.com> <20131101122142.GD4966@zion.uk.xensource.com> <1383309208.672.56.camel@kazak.uk.xensource.com> <20131101124512.GE4966@zion.uk.xensource.com> <1383310152.672.60.camel@kazak.uk.xensource.com> <20131101140809.GF4966@zion.uk.xensource.com> <1383315152.672.82.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1383315152.672.82.camel@kazak.uk.xensource.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: Ian Campbell Cc: keir@xen.org, Stefano Stabellini , George Dunlap , tim@xen.org, xen-devel@lists.xen.org, Jan Beulich , Wei Liu List-Id: xen-devel@lists.xenproject.org On Fri, Nov 01, 2013 at 02:12:32PM +0000, Ian Campbell wrote: > On Fri, 2013-11-01 at 14:08 +0000, Wei Liu wrote: > > It didn't print out base address by default. I added my own debug patch > > and confirmed that base address was set correctly by hvmloader. > > > > (d9) PciBus: Discovered PCI @ [00|02|00] > > (d9) BAR[0]: Type = PMem32; Alignment = 0x1FFFFFF; Length = 0x2000000; Offset = 0x10 BaseAddress = 0xF0000000 > > (d9) BAR[1]: Type = Mem32; Alignment = 0xFFF; Length = 0x1000; Offset = 0x14 BaseAddress = 0xF3020000 > > > > Sorry about the confusion. > > OK, so even OVMF thinks the Cirrus memory range is at 0xf0000000, so > where did efifb get 0x80000000 from? > A few lines later in log (d1) PciBus: HostBridge->NotifyPhase(AllocateResources) - Success EDK2 (not OVMF-specific as this is in generic PCI code) allocates resources for devices. Wei. > Ian.