Received: from [140.186.70.92] (port=47901 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBMt1-00012J-3X for qemu-devel@nongnu.org; Thu, 28 Oct 2010 03:26:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PBMt0-00046Y-3W for qemu-devel@nongnu.org; Thu, 28 Oct 2010 03:26:59 -0400 Received: from mail.valinux.co.jp ([210.128.90.3]:48036) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PBMsz-000461-Pr for qemu-devel@nongnu.org; Thu, 28 Oct 2010 03:26:58 -0400 Date: Thu, 28 Oct 2010 16:26:54 +0900 From: Isaku Yamahata Message-ID: <20101028072654.GB5851@valinux.co.jp> References: <20101028063355.GA7707@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101028063355.GA7707@redhat.com> Subject: [Qemu-devel] Re: [PATCH v2 2/2] pciinit: use pci_region functions. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: cam@cs.ualberta.ca, seabios@seabios.org, adnan@khaleel.us, qemu-devel@nongnu.org On Thu, Oct 28, 2010 at 08:33:55AM +0200, Michael S. Tsirkin wrote: > As a sepaate note, BIOS currently seems to allocate regions > in-order, correct? Yes. > A classical trick is to allocate regions behind each bridge in the > reverse order of their size. This avoids holes due to alignment. This is another topic. For that trick, one more (or two?) path to walk pci bus would be necessary. At the moment the simple one path is used. -- yamahata