[Pdbg] [PATCH v2 0/7] POWER8 and POWER9 HTM

Cyril Bur cyrilbur at gmail.com
Wed Feb 14 15:27:36 AEDT 2018


This series gets all the HTMs working for pdbg. Unfortunately there
are still a lot of caveats to running HTM. You'll need special
firmware on p8 and p9 core doesn't work (pdbg won't do p9 core).

I'm still investigating the best way to solve these annoying firmware
problems.

If you do have a machine that can HTM then this pdbg should 'just
work' - that's what I'm going for. Future work aims to make using HTM
even easier but this is the best we have for now.

These patches were initially posted as part of a bigger series and
will only apply on top of the series they were posted with. They
should apply on top of:
https://lists.ozlabs.org/pipermail/pdbg/2018-February/000036.html

I believe I've addressed all the problems in v1 - Alistair was pretty
much always correct.
One thing I didn't change was having 'chtm' and 'nhtm' classes
("p9nhtm" and "p8nhtm" have been merged), as Alistair said, it makes
command handling more complex so what you save in only having one
class you lose in more compatible checks.

Cyril Bur (7):
  libpdbg/htm: Convert current HTM function names to Nest HTM
  libpdbg/htm: Add nest to Nest HTM specific constants
  htm: Check that nodes aren't disabled
  libpdbg/htm: Both `chtm` and `nhtm` classes are valid
  libpdbg/htm: Add POWER8 HTM (both Core and Nest)
  main: Add HTM functions to deal with Core HTM
  pdbg/htm: Force the user to learn the new HTM commands

 README.md        |  16 +--
 libpdbg/htm.c    | 248 ++++++++++++++++++++++++++++++++-------------
 libpdbg/target.c |   8 ++
 libpdbg/target.h |   1 +
 p8-pib.dts.m4    |  11 ++
 p9-pib.dts.m4    |   4 +-
 src/htm.c        | 300 +++++++++++++++++++++++++++++++++++++++++++------------
 src/htm.h        |   2 +
 src/main.c       |  15 +--
 src/main.h       |   5 +
 10 files changed, 460 insertions(+), 150 deletions(-)

-- 
2.16.1



More information about the Pdbg mailing list