Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUnRv-00011I-9o for qemu-devel@nongnu.org; Tue, 12 Jan 2010 15:34:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUnRq-0000yZ-Ds for qemu-devel@nongnu.org; Tue, 12 Jan 2010 15:34:47 -0500 Received: from [199.232.76.173] (port=51627 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUnRq-0000yO-9I for qemu-devel@nongnu.org; Tue, 12 Jan 2010 15:34:42 -0500 Received: from cantor2.suse.de ([195.135.220.15]:48229 helo=mx2.suse.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NUnRp-0004Kw-U1 for qemu-devel@nongnu.org; Tue, 12 Jan 2010 15:34:42 -0500 Subject: Re: [Qemu-devel] [PATCH 0/9] PPC NewWorld fixery v3 Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Alexander Graf In-Reply-To: Date: Tue, 12 Jan 2010 21:34:37 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <9EE70531-F281-4783-800F-EB83C5C66EA2@suse.de> References: <1263297526-13518-1-git-send-email-agraf@suse.de> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: The OpenBIOS Mailinglist , QEMU Developers On 12.01.2010, at 20:45, Blue Swirl wrote: > 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. >>=20 >> 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. >>=20 >> 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. >>=20 >> Find the OpenBIOS patch at: = http://alex.csgraf.de/openbios-ppc-u3.patch >=20 > 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)? Well, other archs should be able to use the same code. If OpenBIOS knows = how interrupts work for a particular device, it really should tell the = OS about it too IMHO. Alex