From 3dbe6a1963d4561ff5bca378caf9e107e7807bfc Mon Sep 17 00:00:00 2001 From: Murulidhar Nataraju Date: Fri, 7 Feb 2020 03:49:28 -0600 Subject: MPIPL: For PHYP based system replace spr/gpr numbers with names - Keep the HDAT version number only to identify the change in HDAT structure - Based on the HOST PAYLOAD type replace spr/gpr numbers with names. Change-Id: I2e79b21d5371447e79f096a753d55358ce527033 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/91299 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M Crowell --- src/usr/dump/dumpCollect.C | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/usr/dump/dumpCollect.C b/src/usr/dump/dumpCollect.C index 577354cd4..970231213 100644 --- a/src/usr/dump/dumpCollect.C +++ b/src/usr/dump/dumpCollect.C @@ -539,8 +539,8 @@ errlHndl_t copyArchitectedRegs(void) hostRegData->reg.num = sbeRegData->regNum; hostRegData->regVal = sbeRegData->regVal; - // If thread version is 2+, replace reg numbers with names - if (procTableEntry->threadRegVersion >= 2) + // If HOST type is PHYP replace register number with strings + if (TARGETING::is_phyp_load()) { replaceRegNumWithName(hostRegData); } @@ -574,6 +574,7 @@ errlHndl_t copyArchitectedRegs(void) } } // Update Process Dump Area tuple + procTableEntry->threadRegVersion = REG_DUMP_HDAT_STRUCT_VER; procTableEntry->capArrayAddr = procTableEntry->dstArrayAddr; // Update the PDA Table Entries to Attribute to be fetched in istep 21 -- cgit v1.2.1