summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp
diff options
context:
space:
mode:
authorPrem Shanker Jha <premjha2@in.ibm.com>2019-05-17 01:28:47 -0500
committerDaniel M Crowell <dcrowell@us.ibm.com>2020-01-03 13:52:02 -0600
commita4f8acbebb654ba5089ce8e50eed7e297878819a (patch)
tree73a0ba779eb21b86d365dd871cf54c8b83c53d6e /src/import/chips/p9/procedures/hwp
parent9431cc09d57da8735bbab21e4f534bb867873a4f (diff)
downloadtalos-hostboot-a4f8acbebb654ba5089ce8e50eed7e297878819a.tar.gz
talos-hostboot-a4f8acbebb654ba5089ce8e50eed7e297878819a.zip
Img Build: Updated STOP API version to reflect SPR self save availability.
Commit version field of associated with self save restore and cpu save API. This is part of the solution identified to address version mismatch and missing commits pertaining to STOP on open power side. Change-Id: I462d84b13e93752813fc2e4bb32d0ee7753ed6ac Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77523 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77530 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp')
-rw-r--r--src/import/chips/p9/procedures/hwp/lib/p9_hcd_memmap_base.H7
-rw-r--r--src/import/chips/p9/procedures/hwp/pm/p9_hcode_image_build.C4
2 files changed, 9 insertions, 2 deletions
diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_hcd_memmap_base.H b/src/import/chips/p9/procedures/hwp/lib/p9_hcd_memmap_base.H
index 3d7547368..bb3f737d2 100644
--- a/src/import/chips/p9/procedures/hwp/lib/p9_hcd_memmap_base.H
+++ b/src/import/chips/p9/procedures/hwp/lib/p9_hcd_memmap_base.H
@@ -461,6 +461,13 @@ HCD_CONST(CME_QUAD_PSTATE_SIZE, HALF_KB)
HCD_CONST(CME_REGION_SIZE, (64 * ONE_KB))
+
+// HOMER compatibility
+
+HCD_CONST(STOP_API_CPU_SAVE_VER, 0x02)
+HCD_CONST(SELF_SAVE_RESTORE_VER, 0x02)
+HCD_CONST(SMF_SUPPORT_SIGNATURE_OFFSET, 0x1300)
+HCD_CONST(SMF_SELF_SIGNATURE, (0x5f534d46))
// Debug
HCD_CONST(CPMR_TRACE_REGION_OFFSET, (512 * ONE_KB))
diff --git a/src/import/chips/p9/procedures/hwp/pm/p9_hcode_image_build.C b/src/import/chips/p9/procedures/hwp/pm/p9_hcode_image_build.C
index b338c3e94..c40cf595c 100644
--- a/src/import/chips/p9/procedures/hwp/pm/p9_hcode_image_build.C
+++ b/src/import/chips/p9/procedures/hwp/pm/p9_hcode_image_build.C
@@ -1491,8 +1491,8 @@ void updateCpmrHeaderSR( Homerlayout_t* i_pChipHomer, uint8_t i_fusedState, uint
if( SMF_SELF_SIGNATURE == i_smfSign )
{
- pCpmrHdr->selfRestoreVer = 0x01;
- pCpmrHdr->stopApiVer = 0x01;
+ pCpmrHdr->selfRestoreVer = SELF_SAVE_RESTORE_VER;
+ pCpmrHdr->stopApiVer = STOP_API_CPU_SAVE_VER;
}
else
{
OpenPOWER on IntegriCloud