[Qemu-devel] [PATCH 0/6] heathrow/grackle/mac_oldworld board wiring improvements

Mark Cave-Ayland posted 6 patches 7 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180306220159.4287-1-mark.cave-ayland@ilande.co.uk
Test checkpatch passed
Test docker-build@min-glib passed
Test docker-mingw@fedora passed
Test docker-quick@centos6 passed
Test ppcbe passed
Test ppcle passed
Test s390x passed
hw/intc/heathrow_pic.c         |  23 ++-------
hw/misc/macio/macio.c          |  37 +++++++++------
hw/pci-host/grackle.c          | 103 ++++++++++++++++++++++-------------------
hw/ppc/mac.h                   |  15 +++---
hw/ppc/mac_oldworld.c          |  51 ++++++++++----------
include/hw/intc/heathrow_pic.h |   2 +-
include/hw/misc/macio/macio.h  |   1 -
7 files changed, 118 insertions(+), 114 deletions(-)
[Qemu-devel] [PATCH 0/6] heathrow/grackle/mac_oldworld board wiring improvements
Posted by Mark Cave-Ayland 7 years, 7 months ago
[This is for Old World Machines: there is a corresponding patch for New World Machines]

This patchset is a combination of heathrow/grackle/mac_oldworld cleanup with the final
aim of removing the remaining custom init functions and switching IRQ arrays over
to qdev GPIOs.

Patch 1 removes the heathrow_init() function, switching over to qdev GPIOs in order to
wire up the CPU IRQs.

Patch 2 cleans up and QOMifys the grackle device, allowing the deprecated _init()
function to be subsequently removed in patch 3.

Patch 4 wires up the PCI IO space to the PCI host bridge rather than using the inbuilt
system IO address space.

Finally patches 5 and 6 remove the pics IRQ array and instead wire up the macio_oldworld
device to the PIC directly using the existing object link.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>

Mark Cave-Ayland (6):
  heathrow: remove obsolete heathow_init() function
  grackle: general tidy-up and QOMify
  grackle: remove deprecated pci_grackle_init() function
  grackle: move PCI IO (ISA) memory region into the grackle device
  mac_oldworld: remove pics IRQ array and wire up macio to heathrow
    directly
  mac_oldworld: move wiring of macio IRQs to macio_oldworld_realize()

 hw/intc/heathrow_pic.c         |  23 ++-------
 hw/misc/macio/macio.c          |  37 +++++++++------
 hw/pci-host/grackle.c          | 103 ++++++++++++++++++++++-------------------
 hw/ppc/mac.h                   |  15 +++---
 hw/ppc/mac_oldworld.c          |  51 ++++++++++----------
 include/hw/intc/heathrow_pic.h |   2 +-
 include/hw/misc/macio/macio.h  |   1 -
 7 files changed, 118 insertions(+), 114 deletions(-)

-- 
2.11.0