Skip to content

PPC NewWorld fixery

Alexander Graf qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 41 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Make config space accessor host bus trapablehw/apb_pci.c hw/grackle_pci.c hw/gt64xxx.c +7 more+41 -1233 replies
2/6Add config space conversion function for uni_northhw/unin_pci.c+35 -08 replies
3/6Use Mac99_U3 type on ppc64hw/pci_ids.h hw/ppc.h hw/ppc_mac.h +2 more+83 -20 replies
4/6Include dump of lspci -nn on real G5hw/unin_pci.c+25 -00 replies
5/6Make interrupts workhw/unin_pci.c+11 -30 replies
6/6Enable secondary cmd64xhw/ppc_newworld.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/6] PPC NewWorld fixery

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(-)