From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUmgS-0001yw-U3 for qemu-devel@nongnu.org; Tue, 12 Jan 2010 14:45:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUmgO-0001wF-9b for qemu-devel@nongnu.org; Tue, 12 Jan 2010 14:45:44 -0500 Received: from [199.232.76.173] (port=51468 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUmgO-0001w6-20 for qemu-devel@nongnu.org; Tue, 12 Jan 2010 14:45:40 -0500 Received: from mail-px0-f189.google.com ([209.85.216.189]:43867) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NUmgN-0006mu-LN for qemu-devel@nongnu.org; Tue, 12 Jan 2010 14:45:39 -0500 Received: by pxi27 with SMTP id 27so2838667pxi.4 for ; Tue, 12 Jan 2010 11:45:38 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1263297526-13518-1-git-send-email-agraf@suse.de> References: <1263297526-13518-1-git-send-email-agraf@suse.de> From: Blue Swirl Date: Tue, 12 Jan 2010 19:45:16 +0000 Message-ID: Subject: Re: [Qemu-devel] [PATCH 0/9] PPC NewWorld fixery v3 Content-Type: text/plain; charset=UTF-8 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: The OpenBIOS Mailinglist , QEMU Developers On Tue, Jan 12, 2010 at 11:58 AM, Alexander Graf wrote: > 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 review process here first. > > Find the OpenBIOS patch at: http://alex.csgraf.de/openbios-ppc-u3.patch About the OpenBIOS patch, could you move the PCI_INT_MAP defines to a PPC-specific header and make pci_host_set_interrupt_map() contents surrounded by #ifdef CONFIG_PPC (to make it empty function for other arches)?