[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCHv2 00/10] sun4u: APB tidy-up/rename and tracepoint co
|
From: |
Mark Cave-Ayland |
|
Subject: |
[Qemu-devel] [PATCHv2 00/10] sun4u: APB tidy-up/rename and tracepoint conversions |
|
Date: |
Sun, 21 Jan 2018 09:11:44 +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>
v2:
- Rebase onto master
- Add R-b and A-b tags from reviewers
- Squash patches 9 and 10 as requested by Philippe and Marcel
Mark Cave-Ayland (10):
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
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] [PATCHv2 00/10] sun4u: APB tidy-up/rename and tracepoint conversions,
Mark Cave-Ayland <=
- [Qemu-devel] [PATCHv2 05/10] apb: QOMify sabre PCI host bridge, Mark Cave-Ayland, 2018/01/21
- [Qemu-devel] [PATCHv2 02/10] simba: rename PBMPCIBridge and QOM types to reflect simba naming, Mark Cave-Ayland, 2018/01/21
- [Qemu-devel] [PATCHv2 01/10] apb: split simba PCI bridge into hw/pci-bridge/simba.c, Mark Cave-Ayland, 2018/01/21
- [Qemu-devel] [PATCHv2 06/10] apb: rename QOM type from TYPE_APB to TYPE_SABRE, Mark Cave-Ayland, 2018/01/21
- [Qemu-devel] [PATCHv2 07/10] sun4u: rename apb variables and constants, Mark Cave-Ayland, 2018/01/21
- [Qemu-devel] [PATCHv2 04/10] apb: change pbm_pci_host prefix functions to use sabre_pci prefix, Mark Cave-Ayland, 2018/01/21
- [Qemu-devel] [PATCHv2 03/10] apb: rename APB functions to use sabre prefix, Mark Cave-Ayland, 2018/01/21
- [Qemu-devel] [PATCHv2 08/10] apb: rename apb.c to sabre.c, Mark Cave-Ayland, 2018/01/21
- [Qemu-devel] [PATCHv2 09/10] sabre: convert from SABRE_DPRINTF macro to trace-events, Mark Cave-Ayland, 2018/01/21
- [Qemu-devel] [PATCHv2 10/10] sparc64: convert hw/sparc64/sparc64.c from DPRINTF macros to trace events, Mark Cave-Ayland, 2018/01/21