Skip to content

Commit

Permalink
MPIPL: For PHYP based system replace spr/gpr numbers with names
Browse files Browse the repository at this point in the history
- 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 <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
  • Loading branch information
nmuruli authored and dcrowell77 committed Feb 11, 2020
1 parent 7a7bd84 commit 3dbe6a1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/usr/dump/dumpCollect.C
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3dbe6a1

Please sign in to comment.