[Pdbg] [PATCH 00/10] more pdbg stuff

Alistair Popple alistair at popple.id.au
Wed May 16 12:08:23 AEST 2018


Thanks Nick! I've taken 1-5 of these. I haven't taken the remaining ones yet
because changing everything to require expert mode will break how people
currently use the tool. So I'm going to spend some time figuring out which ones
really require it first (I don't think I need anything from you for that, I can
just massage what we have here).

The whole kernel reg dump stuff looks pretty cool though so I would like to get
that this unblocked soon.

- Alistair

On Thursday, 3 May 2018 4:26:52 PM AEST Nicholas Piggin wrote:
> This is the rest of the series I originally sent. Goes on top
> of the latest series I sent. I think I found a reasonable
> compromise for expert vs non-expert mode, basicaly stateful and
> explicit vs oneshot stateless relatively safe.
> 
> Thanks,
> Nick
> 
> Nicholas Piggin (10):
>   libpdbg/p9chip.c: disable ramming LSU opcodes
>   libpdbg: staticify unit structs
>   libpdbg/target: add a release operation
>   pdbg: provide a release function
>   libpdbg/p9chip.c: implement core target release to de-assert special
>     wakeup
>   pdbg: add an expert mode
>   libpdbg/p9chip.c: allow sreset in !expert mode
>   libpdbg/p9chip.c: ram allow ram to be used on running threads
>   pdbg: add 'regs' command
>   pdbg: add basic kernel stack trace to 'regs' command
> 
>  libpdbg/adu.c        |   4 +-
>  libpdbg/bmcfsi.c     |   2 +-
>  libpdbg/cfam.c       |   8 +-
>  libpdbg/chip.c       | 169 ++++++++++++++++++++++++++++++++++++++++++-
>  libpdbg/fake.c       |   4 +-
>  libpdbg/host.c       |   2 +-
>  libpdbg/htm.c        |   4 +-
>  libpdbg/i2c.c        |   2 +-
>  libpdbg/kernel.c     |   2 +-
>  libpdbg/libpdbg.c    |   2 +
>  libpdbg/libpdbg.h    |  52 ++++++++++++-
>  libpdbg/operations.h |  15 +++-
>  libpdbg/p8chip.c     |  14 +++-
>  libpdbg/p9chip.c     | 118 ++++++++++++++++++++++++++++--
>  libpdbg/target.c     |  42 +++++++++++
>  libpdbg/target.h     |   9 +++
>  src/main.c           | 111 +++++++++++++++++++++++++---
>  src/main.h           |   1 +
>  src/mem.c            |  51 +++++++++++++
>  src/mem.h            |   2 +
>  src/thread.c         |  24 ++++++
>  src/thread.h         |   1 +
>  22 files changed, 598 insertions(+), 41 deletions(-)
> 
> 




More information about the Pdbg mailing list