From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=35007 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQzPn-0007d3-1Y for qemu-devel@nongnu.org; Tue, 22 Jun 2010 05:05:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OQzMR-0002rb-Cv for qemu-devel@nongnu.org; Tue, 22 Jun 2010 05:01:41 -0400 Received: from mail.valinux.co.jp ([210.128.90.3]:55532) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQzMR-0002rR-3f for qemu-devel@nongnu.org; Tue, 22 Jun 2010 05:01:39 -0400 From: Isaku Yamahata Date: Tue, 22 Jun 2010 17:57:45 +0900 Message-Id: Subject: [Qemu-devel] [PATCH v2 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 Changes v1 -> v2: - simplified foreachpci_in_bus() - add overlap check during pci bar assignemnt. - use c99 initialization. Patch description: 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/config.h | 17 +++ src/pci.h | 10 ++ src/pciinit.c | 324 +++++++++++++++++++++++++++++++++++++++++++++++++-------- 3 files changed, 306 insertions(+), 45 deletions(-)