[Pdbg] [PATCH v3 0/5] Implement getmempba/putmempba

Amitay Isaacs amitay at ozlabs.org
Thu Nov 7 13:30:39 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

V3 changes:
  - Rebased on top of the latest libsbefifo patches

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


Amitay Isaacs (5):
  libpdbg: Add sbefifo pba hardware unit
  dts: Add sbefifo pba targets
  mem: Use the correct mem target using system tree path
  mem: Pass mem target prefix as argument to _getmem/_putmem
  main: Add getmempba/putmempba

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

-- 
2.21.0



More information about the Pdbg mailing list