From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUGe0-0007ym-2Z for qemu-devel@nongnu.org; Thu, 10 Oct 2013 09:51:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUGds-0001kR-R3 for qemu-devel@nongnu.org; Thu, 10 Oct 2013 09:51:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUGds-0001j9-JP for qemu-devel@nongnu.org; Thu, 10 Oct 2013 09:51:04 -0400 Date: Thu, 10 Oct 2013 15:50:54 +0200 From: Igor Mammedov Message-ID: <20131010155054.12f54b3f@nial.usersys.redhat.com> In-Reply-To: <1381411315.15451.109.camel@nilsson.home.kraxel.org> References: <1381321384-17270-1-git-send-email-imammedo@redhat.com> <1381324328.12583.102.camel@nilsson.home.kraxel.org> <20131009192734.67770b73@thinkpad> <1381402583.15451.70.camel@nilsson.home.kraxel.org> <20131010113541.GD7582@redhat.com> <1381407256.15451.86.camel@nilsson.home.kraxel.org> <20131010122132.GA7884@redhat.com> <1381408927.15451.93.camel@nilsson.home.kraxel.org> <20131010151204.595fa5cd@nial.usersys.redhat.com> <1381411315.15451.109.camel@nilsson.home.kraxel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] map 64-bit PCI devices after all possible RAM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: pbonzini@redhat.com, kevin@koconnor.net, seabios@seabios.org, qemu-devel@nongnu.org, "Michael S. Tsirkin" On Thu, 10 Oct 2013 15:21:55 +0200 Gerd Hoffmann wrote: > Hi, > > > > Guess we can just go with Igor's approach then. "etc/mem64-end" is a > > > pretty bad name to say "please map 64bit pci bars here" though. > > reasoning bind was to tell BIOS where RAM ends and let it decide what > > to do with this information. > > > > But we could do other way around and use "etc/pci-info" that was > > proposed earlier by Michael, it is already committed into QEMU and > > provides start/end of 32/64-bit PCI windows in QEMU view. > > We could use pci-info.w64.start as base for 64-bit bars. > > We need only the single value from pci-info, I'd suggest to drop > pci-info in favor of a file you can read using romfile_loadint. Ok, then would "etc/pcimem64-start" be suitable or maybe you have a suggestion? Michael, while at it, could we safely rip out "etc/pci-info" from QEMU? It is disabled by pc_compat_1_6() in 1.6 but will appear in 1.7 again if we don't remove it. > cheers, > Gerd > > > >