[Pdbg] [PATCH v2 0/6] Implement getmempba/putmempba

Amitay Isaacs amitay at ozlabs.org
Thu Oct 31 17:39:24 AEDT 2019


These patches add sbefifo-pba hwunit to handle pba based memory access.

V2 changes:
 - Instead of adding separate class, sbefifo-pba uses mem class
 - Use system tree paths (e.g. /mem0) for accessing memory

This patch series is based on the "Rework sbefifo library and driver" series.

Amitay Isaacs (6):
  libpdbg: Refactor getmem/putmem chip-ops
  libpdbg: Add sbefifo pba hardware unit
  dts: Add sbefifo pba targets
  mem: Use the correct target baesd on pib selection
  mem: Pass mem target prefix as argument to _getmem/_putmem
  main: Add getmempba/putmempba

 libpdbg/sbefifo.c | 90 +++++++++++++++++++++++++++++++++++++----------
 p9-kernel.dts.m4  | 10 ++++++
 src/main.c        |  6 +++-
 src/mem.c         | 70 +++++++++++++++++++++++++++---------
 4 files changed, 141 insertions(+), 35 deletions(-)

-- 
2.21.0



More information about the Pdbg mailing list