[Pdbg] [PATCH v3 00/13] pdbg fixes for p9

Alistair Popple alistair at popple.id.au
Tue May 8 11:52:33 AEST 2018


Thanks a lot Nick for taking an indepth look at all this, it has now been
merged. As you found out it was kinda sorta almost working on P9 but was clearly
lacking some details.

- Alistair

On Wednesday, 2 May 2018 4:27:55 PM AEST Nicholas Piggin wrote:
> Fixed compiling for BMC and host.
> 
> Also fixed some more ramming stuff (a bit more error handling,
> and load instructions) after testing out stack dumping.
> 
> Nicholas Piggin (13):
>   libpdbg/p9chip.c: update timeouts for special wakeup and stop
>   libpdbg/p9chip.c: remove sreset SRR1 workaround
>   libpdbg/p9chip.c: use the OTR special wakeup status latch
>   libpdbg/p9chip.c: do not fence interrupts when stopping threads
>   libpdbg/p9chip.c: query thread active and stop states
>   thread.c: threadstatus improve output and implement P9 stop
>   libpdbg/p9chip.c: correct thread start for inactive and stopped
>     threads
>   libpdbg/p9chip: update thread status on stop, start, sreset
>   libpdbg/p9chip.c: fix ram_setup sequence
>   libpdbg/p9chip.c: fix ram instruction status sequence
>   libpdbg/p9chip.c: Loads must be rammed twice
>   libpdbg/chip.c: ram_instructions add error handling
>   libpdbg/p9chip.c: implement step support
> 
>  libpdbg/chip.c    |   6 +-
>  libpdbg/libpdbg.h |  19 ++++--
>  libpdbg/p9chip.c  | 166 ++++++++++++++++++++++++++++++++++++++--------
>  src/htm.c         |   5 +-
>  src/thread.c      | 102 +++++++++++++++++-----------
>  5 files changed, 224 insertions(+), 74 deletions(-)
> 
> 




More information about the Pdbg mailing list