[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCHv2 00/15] sun4u: tidy-up CPU, APB and ebus
From: |
Mark Cave-Ayland |
Subject: |
[Qemu-devel] [PATCHv2 00/15] sun4u: tidy-up CPU, APB and ebus |
Date: |
Sun, 26 Nov 2017 12:34:31 +0000 |
This patchset for 2.12 continues with tidying up the sun4u CPU, APB and
ebus devices by encapsulating the ebus ISA bus within the ebus QOM device,
allowing APB and ebus devices to be instantiated directly via QOM, and
formally wiring up the device IRQs using qdev GPIOs rather than passing
around arrays of qemu_irq via various _init() functions.
Signed-off-by: Mark Cave-Ayland <address@hidden>
v2:
- Rebase onto master
- Add R-Bs from Artyom/Phillipe
- Use ISA_NUM_IRQS for sizing ISA bus IRQ arrays
- Add more detail to busA comment in patch 11 as suggested by Artyom
Mark Cave-Ayland (15):
apb: move QOM macros and typedefs from apb.c to apb.h
sun4u: ebus QOMify tidy-up
sun4u: move ISABus inside of EBusState
sun4u: remove pci_ebus_init() function
sun4u: move initialisation of all ISABus devices into ebus_realize()
apb: APB QOMify tidy-up
apb: return APBState from pci_apb_init() rather than PCIBus
apb: use gpios to wire up the apb device to the SPARC CPU IRQs
apb: move the two secondary PCI bridges objects into APBState
apb: remove pci_apb_init() and instantiate APB device using qdev
apb: split pci_pbm_map_irq() into separate functions for bus A and
bus B
ebus: wire up OBIO interrupts to APB pbm via qdev GPIOs
apb: replace OBIO interrupt numbers in pci_pbmA_map_irq() with
constants
sparc64: introduce trace-events for hw/sparc64
sun4u: switch from EBUS_DPRINTF() macro to trace-events
Makefile.objs | 1 +
hw/pci-host/apb.c | 285 ++++++++++++++------------------------------
hw/sparc64/sparc64.c | 2 +
hw/sparc64/sun4u.c | 185 ++++++++++++++++------------
hw/sparc64/trace-events | 4 +
include/hw/pci-host/apb.h | 101 +++++++++++++++-
include/hw/sparc/sparc64.h | 2 +
7 files changed, 302 insertions(+), 278 deletions(-)
create mode 100644 hw/sparc64/trace-events
--
1.7.10.4
- [Qemu-devel] [PATCHv2 00/15] sun4u: tidy-up CPU, APB and ebus,
Mark Cave-Ayland <=
- [Qemu-devel] [PATCHv2 02/15] sun4u: ebus QOMify tidy-up, Mark Cave-Ayland, 2017/11/26
- [Qemu-devel] [PATCHv2 04/15] sun4u: remove pci_ebus_init() function, Mark Cave-Ayland, 2017/11/26
- [Qemu-devel] [PATCHv2 05/15] sun4u: move initialisation of all ISABus devices into ebus_realize(), Mark Cave-Ayland, 2017/11/26
- [Qemu-devel] [PATCHv2 07/15] apb: return APBState from pci_apb_init() rather than PCIBus, Mark Cave-Ayland, 2017/11/26
- [Qemu-devel] [PATCHv2 01/15] apb: move QOM macros and typedefs from apb.c to apb.h, Mark Cave-Ayland, 2017/11/26
- [Qemu-devel] [PATCHv2 08/15] apb: use gpios to wire up the apb device to the SPARC CPU IRQs, Mark Cave-Ayland, 2017/11/26
- [Qemu-devel] [PATCHv2 03/15] sun4u: move ISABus inside of EBusState, Mark Cave-Ayland, 2017/11/26
- [Qemu-devel] [PATCHv2 09/15] apb: move the two secondary PCI bridges objects into APBState, Mark Cave-Ayland, 2017/11/26
- [Qemu-devel] [PATCHv2 06/15] apb: APB QOMify tidy-up, Mark Cave-Ayland, 2017/11/26
- [Qemu-devel] [PATCHv2 11/15] apb: split pci_pbm_map_irq() into separate functions for bus A and bus B, Mark Cave-Ayland, 2017/11/26