[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 00/11] sun4u: APB tidy-up/rename and tracepoint conv
From: |
Mark Cave-Ayland |
Subject: |
[Qemu-devel] [PATCH 00/11] sun4u: APB tidy-up/rename and tracepoint conversions |
Date: |
Sun, 14 Jan 2018 10:47:40 +0000 |
This patchset is the next round of sun4u tidy-ups mostly centered around the
APB (PCI host bridge). In its current form apb.c contains both the PCI host
bridge and the secondary PCI bridge, so we split the PCI bridge into a new
file and move it under hw/pci-bridge.
To order to avoid further confusion between PBM/APB naming I've gone for using
the Sun internal code names, sabre and simba for the two PCI bridges to keep
things consistent.
Finally there are a couple of conversions to trace-events for sabre and the
sparc CPU as used when debugging this patchset. Note that as hw/pci-host is
listed as having no maintainers, I've CCd the PCI bridge maintainers on the
hw/pci-host tracepoint conversion which I hope is reasonable.
Signed-off-by: Mark Cave-Ayland <address@hidden>
Mark Cave-Ayland (11):
apb: split simba PCI bridge into hw/pci-bridge/simba.c
simba: rename PBMPCIBridge and QOM types to reflect simba naming
apb: rename APB functions to use sabre prefix
apb: change pbm_pci_host prefix functions to use sabre_pci prefix
apb: QOMify sabre PCI host bridge
apb: rename QOM type from TYPE_APB to TYPE_SABRE
sun4u: rename apb variables and constants
apb: rename apb.c to sabre.c
pci: add trace-events support for hw/pci-host
sabre: convert from SABRE_DPRINTF macro to trace-events
sparc64: convert hw/sparc64/sparc64.c from DPRINTF macros to trace
events
Makefile.objs | 1 +
default-configs/sparc64-softmmu.mak | 3 +-
hw/pci-bridge/Makefile.objs | 2 +
hw/pci-bridge/simba.c | 101 ++++++++++++
hw/pci-host/Makefile.objs | 2 +-
hw/pci-host/{apb.c => sabre.c} | 270 ++++++++++++---------------------
hw/pci-host/trace-events | 11 ++
hw/sparc64/sparc64.c | 85 +++++------
hw/sparc64/sun4u.c | 45 +++---
hw/sparc64/trace-events | 18 +++
include/hw/pci-bridge/simba.h | 38 +++++
include/hw/pci-host/{apb.h => sabre.h} | 26 ++--
12 files changed, 342 insertions(+), 260 deletions(-)
create mode 100644 hw/pci-bridge/simba.c
rename hw/pci-host/{apb.c => sabre.c} (62%)
create mode 100644 hw/pci-host/trace-events
create mode 100644 include/hw/pci-bridge/simba.h
rename include/hw/pci-host/{apb.h => sabre.h} (69%)
--
2.11.0
- [Qemu-devel] [PATCH 00/11] sun4u: APB tidy-up/rename and tracepoint conversions,
Mark Cave-Ayland <=
- [Qemu-devel] [PATCH 05/11] apb: QOMify sabre PCI host bridge, Mark Cave-Ayland, 2018/01/14
- [Qemu-devel] [PATCH 01/11] apb: split simba PCI bridge into hw/pci-bridge/simba.c, Mark Cave-Ayland, 2018/01/14
- [Qemu-devel] [PATCH 06/11] apb: rename QOM type from TYPE_APB to TYPE_SABRE, Mark Cave-Ayland, 2018/01/14
- [Qemu-devel] [PATCH 04/11] apb: change pbm_pci_host prefix functions to use sabre_pci prefix, Mark Cave-Ayland, 2018/01/14
- [Qemu-devel] [PATCH 07/11] sun4u: rename apb variables and constants, Mark Cave-Ayland, 2018/01/14