On 11/07/17 22:53, Mark Cave-Ayland wrote: > 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 <[email protected]> > > 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(-)
Now that the fw_cfg changes are upstream, I'll apply patches 1-6 to my qemu-sparc branch. The plan is to replace the ne2k_pci NIC with another, and the final switch moving devices behind the PCI bridge is dependent upon other patches still pending further review. ATB, Mark.
