diff options
author | Roland Veloz <rveloz@us.ibm.com> | 2017-12-20 12:08:19 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-01-17 16:08:40 -0500 |
commit | 6f4abd1ea46f9b8f4fa1d0632276df8ad77d47d4 (patch) | |
tree | 807639c207bb98d8ba56d2c757d2e2f81f6ab887 /src/include/usr | |
parent | 4e84db479b0ca31d6f54cf8276e339cf566ae51e (diff) | |
download | talos-hostboot-6f4abd1ea46f9b8f4fa1d0632276df8ad77d47d4.tar.gz talos-hostboot-6f4abd1ea46f9b8f4fa1d0632276df8ad77d47d4.zip |
Support for any target deconfig at runtime; Utility to create a generic message
I added code to inform FSP whenever a target has been deconfiged.
I also added a handy utility to facilitate in the construction of
a Generic FSP message.
Change-Id: Iad755d4de1bf200ab00ad3f99451512ba8cdabb4
RTC: 183950
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51201
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r-- | src/include/usr/hwas/common/deconfigGard.H | 14 | ||||
-rw-r--r-- | src/include/usr/hwas/hwasplatreasoncodes.H | 4 | ||||
-rw-r--r-- | src/include/usr/mbox/mbox_queues.H | 3 |
3 files changed, 14 insertions, 7 deletions
diff --git a/src/include/usr/hwas/common/deconfigGard.H b/src/include/usr/hwas/common/deconfigGard.H index 42782883f..b0f4e11aa 100644 --- a/src/include/usr/hwas/common/deconfigGard.H +++ b/src/include/usr/hwas/common/deconfigGard.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2017 */ +/* Contributors Listed Below - COPYRIGHT 2012,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -438,10 +438,14 @@ public: errlHndl_t platGetGardRecords(const TARGETING::Target * const i_pTarget, GardRecords_t & o_records); - - - - + /** + * @brief Platform specific function that + * Will perform any post-deconfig operations, + * such as syncing state with other subsystems + * + * @param[in] i_pTarget Pointer to target + */ + void platPostDeconfigureTarget(TARGETING::Target * i_pTarget); protected: diff --git a/src/include/usr/hwas/hwasplatreasoncodes.H b/src/include/usr/hwas/hwasplatreasoncodes.H index df7d7f5e1..cbc28e81c 100644 --- a/src/include/usr/hwas/hwasplatreasoncodes.H +++ b/src/include/usr/hwas/hwasplatreasoncodes.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014,2017 */ +/* Contributors Listed Below - COPYRIGHT 2014,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -50,6 +50,8 @@ namespace HWAS RC_BAD_CHIPID = HWAS_COMP_ID | 0x83, RC_BAD_LX = HWAS_COMP_ID | 0x84, RC_BAD_MCA = HWAS_COMP_ID | 0x85, + RC_RT_NULL_FIRMWARE_REQUEST_PTR = HWAS_COMP_ID | 0x86, + RC_RT_NULL_FIRMWARE_MSG_PTR = HWAS_COMP_ID | 0x87, }; }; diff --git a/src/include/usr/mbox/mbox_queues.H b/src/include/usr/mbox/mbox_queues.H index 1f211eaf8..ec02dada0 100644 --- a/src/include/usr/mbox/mbox_queues.H +++ b/src/include/usr/mbox/mbox_queues.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2017 */ +/* Contributors Listed Below - COPYRIGHT 2012,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -75,6 +75,7 @@ namespace MBOX FSP_PRD_SYNC_MSGQ_ID = 0x8000000D, FSP_TOD_MSGQ = 0x8000000E, FSP_SBE_SYNC_MSGQ_ID = 0x8000000F, + FSP_TARG_DECONFIG_MSGQ = 0x80000010, FSP_LID_MSGQ = FSP_ATTR_SYNC_MSGQ, |