Skip to content

Commit 6ddd917

Browse files
committed
libpdbg: Replace POWER10 with POWER for core, thread and htm
For POWER11 systems, NagDump contained POWER10 prefix for all the targets. The prefix was updated to POWER for fapi targets in earlier commit but chip targets and htm targets were missed. Modifying the prefix for core, thread and htm targets to maintain consistency. Test Results: Before: { "MANUAL_ISOLATION": { "CURRENT_STATE": "DECONFIGURED", "LOCATION_CODE": "Ufcs-P0-C15", "PHYS_PATH": "physical:sys-0/node-0/proc-1/eq-0/fc-1/core-1", "REASON_DESCRIPTION": "MANUAL", "TYPE": "POWER10 Core" } After: { "MANUAL_ISOLATION": { "CURRENT_STATE": "DECONFIGURED", "LOCATION_CODE": "Ufcs-P0-C15", "PHYS_PATH": "physical:sys-0/node-0/proc-1/eq-0/fc-1/core-1", "REASON_DESCRIPTION": "MANUAL", "TYPE": "POWER Core" } Change-Id: If4180988f2bd6417ed1e8b67ef8e5000e4bee8b5 Signed-off-by: Parasa-Swetha1 <[email protected]>
1 parent 90f6e8c commit 6ddd917

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

libpdbg/htm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1513,7 +1513,7 @@ DECLARE_HW_UNIT(p8_chtm);
15131513

15141514
static struct htm p10_nhtm = {
15151515
.target = {
1516-
.name = "POWER10 Nest HTM",
1516+
.name = "POWER Nest HTM",
15171517
.compatible = "ibm,power10-nhtm",
15181518
.class = "nhtm",
15191519
.probe = nhtm_probe,
@@ -1528,7 +1528,7 @@ DECLARE_HW_UNIT(p10_nhtm);
15281528

15291529
static struct htm p10_chtm = {
15301530
.target = {
1531-
.name = "POWER10 Core HTM",
1531+
.name = "POWER Core HTM",
15321532
.compatible = "ibm,power10-chtm",
15331533
.class = "chtm",
15341534
.probe = chtm_probe,

libpdbg/p10chip.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ static int p10_thread_sreset(struct thread *thread)
184184

185185
static struct thread p10_thread = {
186186
.target = {
187-
.name = "POWER10 Thread",
187+
.name = "POWER Thread",
188188
.compatible = "ibm,power10-thread",
189189
.class = "thread",
190190
.probe = p10_thread_probe,
@@ -294,7 +294,7 @@ static uint64_t p10_core_translate(struct core *c, uint64_t addr)
294294

295295
static struct core p10_core = {
296296
.target = {
297-
.name = "POWER10 Core",
297+
.name = "POWER Core",
298298
.compatible = "ibm,power10-core",
299299
.class = "core",
300300
.probe = p10_core_probe,

0 commit comments

Comments
 (0)