[Pdbg] [RFC 00/12] Split backends from system description
Alistair Popple
alistair at popple.id.au
Tue Aug 6 11:37:11 AEST 2019
The system description should stay the same regardless of the access
method used. This series is an attempt to split the description of the
system topology itself from the access methods used for each
component.
It is still a work-in-progress and there are number of TODO items:
- Testing and bugfixes.
- Better detection and reporting of misconfiguration.
- Documentation of the new fields.
- Limiting the path based selection to the desired system paths.
Alistair Popple (12):
libpdbg: Rename adu class to mem
sbefifo: Rework the memory interfaces
sbefifo: Rework thread functions
libpdbg: Introduce a backend field
device.c: Extend dt_expand to operate with different root nodes
libpdbg: Add infrastructure to link backend nodes
libpdbg: Rework dt_new_node()
libpdbg: Change get_target_class() to take a pdbg_target
libpdbg: Initialise target class from device-tree
libpdbg: Make probe result matches the backend status
libpdbg: Implement logic to link backends with each target
libpdbg: Split system and backend definitions
Makefile.am | 32 +++-----
backend.dts.m4 | 4 +
cronus-backend.dts.m4 | 28 +++++++
host-backend.dts.m4 | 46 +++++++++++
libpdbg/adu.c | 74 ++++++++---------
libpdbg/chip.c | 6 +-
libpdbg/device.c | 179 ++++++++++++++++++++++++++++++++---------
libpdbg/dtb.c | 99 ++++++++++++++++-------
libpdbg/htm.c | 2 +-
libpdbg/hwunit.h | 20 ++---
libpdbg/libpdbg.h | 3 +
libpdbg/sbefifo.c | 114 ++++++++++++++++++++------
libpdbg/target.c | 80 ++++++++----------
libpdbg/target.h | 3 +-
obmc-backend.dts.m4 | 36 +++++++++
p8-fsi-backend.dts.m4 | 32 ++++++++
p8-i2c-backend.dts.m4 | 22 +++++
p8-pib.dts.m4 | 17 ++++
p8.dts.m4 | 71 ++++++++++++++++
p9-fsi.dtsi.m4 | 43 ----------
p9-kernel.dts.m4 | 4 +
p9-pib.dts.m4 | 5 +-
p9.dts.m4 | 80 ++++++++++++++++++
p9r-fsi-backend.dts.m4 | 32 ++++++++
p9r-fsi.dts.m4 | 16 ----
p9w-fsi-backend.dts.m4 | 32 ++++++++
p9w-fsi.dts.m4 | 16 ----
p9z-fsi-backend.dts.m4 | 32 ++++++++
p9z-fsi.dts.m4 | 16 ----
src/main.c | 1 +
src/mem.c | 50 ++----------
src/pdbgproxy.c | 2 +-
src/thread.c | 2 +-
33 files changed, 851 insertions(+), 348 deletions(-)
create mode 100644 backend.dts.m4
create mode 100644 cronus-backend.dts.m4
create mode 100644 host-backend.dts.m4
create mode 100644 obmc-backend.dts.m4
create mode 100644 p8-fsi-backend.dts.m4
create mode 100644 p8-i2c-backend.dts.m4
create mode 100644 p8.dts.m4
delete mode 100644 p9-fsi.dtsi.m4
create mode 100644 p9.dts.m4
create mode 100644 p9r-fsi-backend.dts.m4
delete mode 100644 p9r-fsi.dts.m4
create mode 100644 p9w-fsi-backend.dts.m4
delete mode 100644 p9w-fsi.dts.m4
create mode 100644 p9z-fsi-backend.dts.m4
delete mode 100644 p9z-fsi.dts.m4
--
2.20.1
More information about the Pdbg
mailing list