Received: from [140.186.70.92] (port=37931 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPCw1-00032z-Tc for qemu-devel@nongnu.org; Thu, 17 Jun 2010 07:07:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPCw0-0001Kl-ON for qemu-devel@nongnu.org; Thu, 17 Jun 2010 07:07:01 -0400 Received: from mail.valinux.co.jp ([210.128.90.3]:46409) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPCw0-0001K7-F5 for qemu-devel@nongnu.org; Thu, 17 Jun 2010 07:07:00 -0400 From: Isaku Yamahata Date: Thu, 17 Jun 2010 20:03:08 +0900 Message-Id: Subject: [Qemu-devel] [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: seabios@seabios.org Cc: stefano.stabellini@eu.citrix.com, jan.kiszka@siemens.com, mst@redhat.com, allen.m.kay@intel.com, qemu-devel@nongnu.org, yamahata@valinux.co.jp, jean.guyader@gmail.com 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. 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(-)