The aim of this patchset is to bring the sun4u machine in line with a real Ultra 5 in order to resolve issues related to PCI bridge windows and interrupt routing.
The majority of the changes are designed to accommodate the simba PCI bridges on the root PCI bus, moving the on-board devices behind busA (as well as making the NIC a fixed on-board multi-function device as per a real Ultra 5). Finally we mark unavailable PCI bus slots as reserved on all 3 PCI buses to ensure that correct interrupt routing is maintained, regardless of how the command line is configure with -device. Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk> Depends-on: https://lists.nongnu.org/archive/html/qemu-devel/2017-07/msg01994.html <20170707213052.13087-1-ehabk...@redhat.com> Depends-on: https://lists.nongnu.org/archive/html/qemu-devel/2017-07/msg02996.html <1499803333-9052-1-git-send-email-mark.cave-ayl...@ilande.co.uk> Depends-on: https://lists.nongnu.org/archive/html/qemu-devel/2017-07/msg03034.html <1499809473-28481-1-git-send-email-mark.cave-ayl...@ilande.co.uk> Mark Cave-Ayland (8): sun4u: pass PCIDevice into pci_ebus_init() instead of PCIBus sun4u: switch to using qdev to instantiate fw_cfg interface sun4u: expose fw_cfg and NVRAM on ebus PCI IO address space apb: fix up PCI bus nomenclature apb: fix endianness for APB and PCI config accesses apb: add busA qdev property to PBM PCI bridge sun4u: create single default onboard ne2k_pci NIC for machine sun4u: move in-built devices behind PCI bridge A hw/pci-host/apb.c | 93 ++++++++++++++++++++++++++++++++++++++-------------- hw/sparc64/sun4u.c | 52 +++++++++++++++++++++-------- 2 files changed, 107 insertions(+), 38 deletions(-) -- 1.7.10.4