Skip to content

Commit

Permalink
Img Build: Updated STOP API version to reflect SPR self save availabi…
Browse files Browse the repository at this point in the history
…lity.

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>
  • Loading branch information
premsjha authored and dcrowell77 committed Jan 3, 2020
1 parent 9431cc0 commit a4f8acb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions src/import/chips/p9/procedures/hwp/lib/p9_hcd_memmap_base.H
Expand Up @@ -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))
Expand Down
4 changes: 2 additions & 2 deletions src/import/chips/p9/procedures/hwp/pm/p9_hcode_image_build.C
Expand Up @@ -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
{
Expand Down

0 comments on commit a4f8acb

Please sign in to comment.