[OpenBIOS] [Qemu-devel] [PATCH 0/9] PPC NewWorld fixery v3
agraf at suse.de
Tue Jan 12 21:34:37 CET 2010
On 12.01.2010, at 20:45, Blue Swirl wrote:
> On Tue, Jan 12, 2010 at 11:58 AM, Alexander Graf <agraf at suse.de> 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
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.
More information about the OpenBIOS