From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NRFcS-0002bZ-So for qemu-devel@nongnu.org; Sat, 02 Jan 2010 20:51:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NRFcO-0002Zs-9P for qemu-devel@nongnu.org; Sat, 02 Jan 2010 20:51:00 -0500 Received: from [199.232.76.173] (port=45273 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRFcN-0002ZY-FN for qemu-devel@nongnu.org; Sat, 02 Jan 2010 20:50:55 -0500 Received: from cantor.suse.de ([195.135.220.2]:51971 helo=mx1.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NRFcM-0007Z0-UB for qemu-devel@nongnu.org; Sat, 02 Jan 2010 20:50:55 -0500 From: Alexander Graf Date: Sun, 3 Jan 2010 02:50:44 +0100 Message-Id: <1262483450-15206-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH 0/6] PPC NewWorld fixery List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers Cc: Blue Swirl , Aurelien Jarno I'm trying to get the PPC64 system emulation target working finally. While doing so, I ran into several issues, all related to PCI this time. This patchset fixes all the PCI config space access and PCI interrupt mapping issues I've found on PPC64. Using this and a patched OpenBIOS version, I can successfully access IDE devices and was booting a guest into the shell from IDE using serial console. To leverage this patch, you also need a few patches to OpenBIOS. I'll present them to the OpenBIOS list, but in general getting patches into Qemu is harder than getting them into OpenBIOS. So I want to wait for the rewiew process here first. Find the patch at: http://alex.csgraf.de/openbios-ppc-u3.patch Alexander Graf (6): Make config space accessor host bus trapable Add config space conversion function for uni_north Use Mac99_U3 type on ppc64 Include dump of lspci -nn on real G5 Make interrupts work Enable secondary cmd64x hw/apb_pci.c | 1 + hw/grackle_pci.c | 1 + hw/gt64xxx.c | 1 + hw/pci_host.c | 11 ++++ hw/pci_host.h | 5 ++ hw/pci_host_template.h | 30 ++++++---- hw/pci_ids.h | 1 + hw/piix_pci.c | 1 + hw/ppc.h | 1 + hw/ppc4xx_pci.c | 1 + hw/ppc_mac.h | 1 + hw/ppc_newworld.c | 14 ++++- hw/ppce500_pci.c | 1 + hw/unin_pci.c | 145 +++++++++++++++++++++++++++++++++++++++++++++++- 14 files changed, 196 insertions(+), 18 deletions(-)