[Pdbg] [PATCH 00/19] Fixes and cleanup before release

Amitay Isaacs amitay at ozlabs.org
Thu Jul 2 13:38:59 AEST 2020


This patch set is a collection of mostly fixes and cleanup patches,
posted as a single set for easier review before we tag new release.
The important changes include:

  - Fix backend detection logic for sbefifo
  - Fix marshalling for putscom chip-op
  - Add processor type to allow using generic sbefifo backend with minor
    changes in SBE chip-op api
  - Add thread apis to get/set FPRs

Please ignore other patches on the list as this patchset includes all the
pending patches on the list.

Amitay Isaacs (19):
  libpdbg: Run hwp only if target is enabled and hwp is defined
  libpdbg: Use register type macros instead of hard-coded values
  libpdbg: Refactor code to get chip id
  libpdbg: Add auto-detection for SBEFIFO backend
  libpdbg: Always allocate ffdc data and return to caller
  libsbefifo: Fix marshalling for putscom chipop
  libpdbg: Add processor type and accessor
  libpdbg: Add thread procedures to get/set FPR
  libpdbg: Add sbefifo implementation of thread getfpr/putgpr
  Makefile: Remove reference to non-existent file
  Makefile: Include missing file in libpdbg sources
  dts: Remove unused device tree file
  libpdbg: Use index as thread-id for p9 system
  dts: Remove unused tid property
  dts: Set device-path required by kernel-fsi driver
  tests: Run p9 fapi translation tests on single processor
  Makefile: Remove unnecessary definitions
  doc: Update documentation
  configure: Release 3.0

 INDEX.md                                     |   5 +-
 Makefile.am                                  |  28 +-
 README.md                                    | 257 +++---
 configure.ac                                 |   4 +-
 libpdbg/adu.c                                |  42 +
 libpdbg/dtb.c                                | 155 +++-
 libpdbg/htm.c                                |  44 +-
 libpdbg/hwunit.h                             |   3 +
 libpdbg/libpdbg.h                            |  40 +-
 libpdbg/p9chip.c                             |   4 +-
 libpdbg/sbefifo.c                            |  50 +-
 libpdbg/target.c                             | 129 ++-
 libpdbg/thread.c                             | 248 ++++-
 libsbefifo/cmd_scom.c                        |   4 +-
 p8-kernel.dts.m4                             |   1 +
 p9-pib.dts.m4                                |  99 --
 p9.dts.m4                                    |   1 -
 src/tests/libpdbg_p9_fapi_translation_test.C |   5 +
 tests/test_p9_fapi_translation.sh            | 903 -------------------
 19 files changed, 803 insertions(+), 1219 deletions(-)
 delete mode 100644 p9-pib.dts.m4

-- 
2.26.2



More information about the Pdbg mailing list