[Pdbg] [PATCH v2 00/12] Extend sbefifo driver
Amitay Isaacs
amitay at ozlabs.org
Thu Jul 4 18:05:13 AEST 2019
This patch set adds api for thread control and custom chip-op via sbe.
Also, refactor the FFDC parsing code to store ffdc data and make it
available for query. This way application can make use of ffdc data
if needed.
v2 changes:
- Avoid adding libpdbg api for thread operations
- Implement sreset_all using sbefifo if available
- Fix sbefifo device tree
Amitay Isaacs (12):
sbefifo: Refactor ffdc parsing code to store ffdc data
sbefifo: Add sbefifo procedure to get ffdc data
libpdbg: Add api to get/dump ffdc data from sbefifo
sbefifo: Do not dump FFDC data on chip-op failure
mem: Dump ffdc data if memory operations fail
sbefifo: Return only the response data from sbefifo_op
sbefifo: Add hardware procedeure for thread control
libpdbg: Add api for thread control via sbe
libpdbg: Use sbe control to sreset threads if sbe is available
sbefifo: Add procedure for custom chipop
libpdbg: Add api for custom sbe chip-op
dts: Add second sbefifo for second processor
libpdbg/chip.c | 15 ++-
libpdbg/hwunit.h | 7 ++
libpdbg/libpdbg.h | 4 +
libpdbg/sbefifo.c | 263 ++++++++++++++++++++++++++++++++++++----------
libpdbg/target.c | 40 +++++++
p9-kernel.dts.m4 | 7 ++
src/mem.c | 6 ++
7 files changed, 283 insertions(+), 59 deletions(-)
--
2.21.0
More information about the Pdbg
mailing list