summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMurulidhar Nataraju <murulidhar@in.ibm.com>2020-02-07 03:49:28 -0600
committerDaniel M Crowell <dcrowell@us.ibm.com>2020-02-11 16:11:02 -0600
commit3dbe6a1963d4561ff5bca378caf9e107e7807bfc (patch)
tree531860c8c3307102e3adcc90ee13e8855f3b804a /src
parent7a7bd8440eccef5f7b48d621460805b9e58168a6 (diff)
downloadtalos-hostboot-3dbe6a1963d4561ff5bca378caf9e107e7807bfc.tar.gz
talos-hostboot-3dbe6a1963d4561ff5bca378caf9e107e7807bfc.zip
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 <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>
Diffstat (limited to 'src')
-rw-r--r--src/usr/dump/dumpCollect.C5
1 files 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
OpenPOWER on IntegriCloud