diff options
author | Sachin Gupta <sgupta2m@in.ibm.com> | 2017-12-12 11:49:47 -0600 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2017-12-20 21:11:03 -0500 |
commit | ea100b11fb1cc15659c334aec2fb712d8aaf039a (patch) | |
tree | 35584ecda2a6687105247a15cb1e66269a68c21b /src/sbefw/sbecmdmpipl.C | |
parent | f9ba70879a5a60faa540e56a91c96fc5f5c1a9c4 (diff) | |
download | talos-sbe-ea100b11fb1cc15659c334aec2fb712d8aaf039a.tar.gz talos-sbe-ea100b11fb1cc15659c334aec2fb712d8aaf039a.zip |
Reset MPIPL flag
Reset MPIPL flags if enter or continue mpipl fails
Also reset the flag if contoniue mpipl pass
Change-Id: I71d6ab7035431dfe3061d67108e43ca262601917
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50815
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/sbefw/sbecmdmpipl.C')
-rw-r--r-- | src/sbefw/sbecmdmpipl.C | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sbefw/sbecmdmpipl.C b/src/sbefw/sbecmdmpipl.C index b00d6640..d3f68e51 100644 --- a/src/sbefw/sbecmdmpipl.C +++ b/src/sbefw/sbecmdmpipl.C @@ -103,6 +103,11 @@ uint32_t sbeEnterMpipl(uint8_t *i_pArg) l_respHdr.setStatus( SBE_PRI_GENERIC_EXECUTION_FAILURE, SBE_SEC_GENERIC_FAILURE_IN_EXECUTION); l_ffdc.setRc(l_fapiRc); + // reset attribute. We do not want to reset register, so do not + // use setMpIplMode + uint8_t isMpipl = 0; + PLAT_ATTR_INIT(ATTR_IS_MPIPL, Target<TARGET_TYPE_SYSTEM>(), + isMpipl); break; } ++l_minor; @@ -186,6 +191,10 @@ uint32_t sbeContinueMpipl(uint8_t *i_pArg) } }while(0); + // reset attribute. We do not want to reset register, so do not + // use setMpIplMode + uint8_t isMpipl = 0; + PLAT_ATTR_INIT(ATTR_IS_MPIPL, Target<TARGET_TYPE_SYSTEM>(), isMpipl); // Create the Response to caller // If there was a FIFO error, will skip sending the response, // instead give the control back to the command processor thread |