From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=34465 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPDAn-0002Nt-O7 for qemu-devel@nongnu.org; Thu, 17 Jun 2010 07:22:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPDAm-0004Iu-B8 for qemu-devel@nongnu.org; Thu, 17 Jun 2010 07:22:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4331) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPDAm-0004Ic-3z for qemu-devel@nongnu.org; Thu, 17 Jun 2010 07:22:16 -0400 Date: Thu, 17 Jun 2010 14:17:20 +0300 From: "Michael S. Tsirkin" Message-ID: <20100617111720.GA10616@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [Qemu-devel] Re: [PATCH 0/8] seabios: pci: multi pci bus support List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Isaku Yamahata Cc: stefano.stabellini@eu.citrix.com, jan.kiszka@siemens.com, seabios@seabios.org, allen.m.kay@intel.com, qemu-devel@nongnu.org, jean.guyader@gmail.com On Thu, Jun 17, 2010 at 08:03:08PM +0900, Isaku Yamahata wrote: > This patch set allows seabios to initialize multi pci bus and 64bit BAR. > > Currently seabios is able to initialize only pci root bus. > However multi pci bus support is wanted because > - more pci bus is wanted in qemu for many slots > - pci express support is commin in qemu which requires multi pci bus. > those patches on Qemu part are under way, though. Not that I object, but - does it really require multi bus? Why? > Isaku Yamahata (8): > seabios: pci: introduce foreachpci_in_bus() helper macro. > seabios: pciinit: factor out pci bar region allocation logic. > seabios: pciinit: make pci memory space assignment 64bit aware. > seabios: pciinit: make pci bar assigner preferchable memory aware. > seabios: pciinit: factor out bar offset calculation. > seabios: pciinit: make bar offset calculation pci bridge aware. > seabios: pciinit: pci bridge bus initialization. > seabios: pciinit: initialize pci bridge filtering registers. > > src/pci.c | 30 ++++++ > src/pci.h | 11 ++ > src/pciinit.c | 310 ++++++++++++++++++++++++++++++++++++++++++++++++-------- > 3 files changed, 306 insertions(+), 45 deletions(-)