mbox series

[v2,0/9] Add P10 HTM support

Message ID 20211125004138.120917-1-jniethe5@gmail.com
Headers show
Series Add P10 HTM support | expand

Message

Jordan Niethe Nov. 25, 2021, 12:41 a.m. UTC
Add support for core and nest htm on P10.
This revision contains some cleanups suggested by Amitay:

Jordan Niethe (9):
  dts: Add p10 host device tree
    v2: Separated from next patch 
  libpdbg: Enable p10 host backend
  dts: Fix nhtm in p10 device tree
    v2: Separated from next patch 
  libpdbg: Add nhtm hardware unit for p10
    v2: Remove reg_off(), add a global dual_htm_offset that
	set during .probe() and part of the macro definitions for
	HTM_TRIGGER_CONTROL, etc	
  libpdbg: Prepare to add chtm for p10
    v2: Add new callbacks in struct htm for p8/p10 specifics
  dts: Add chtm to p10 device tree
    v2: Separated from next patch 
  libpdbg: Add chtm hardware unit for p10
    v2: Use the new callbacks in struct htm 
  htm: Only check threads for smt1 on target core
  htm: Check threads !active instead of quiesced
    v2: Only change for p10

 Makefile.am      |   2 +-
 libpdbg/dtb.c    |  16 +-
 libpdbg/htm.c    | 432 +++++++++++++++++++++++++++++++++++++++++++----
 libpdbg/hwunit.h |   4 +
 p10-host.dts.m4  |  25 +++
 p10.dts.m4       |  19 ++-
 src/htm.c        |   8 +-
 src/main.c       |   8 +
 8 files changed, 469 insertions(+), 45 deletions(-)
 create mode 100644 p10-host.dts.m4