summaryrefslogtreecommitdiffstats
path: root/src/include/usr/hwas
diff options
context:
space:
mode:
authorRoland Veloz <rveloz@us.ibm.com>2017-12-20 12:08:19 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-01-17 16:08:40 -0500
commit6f4abd1ea46f9b8f4fa1d0632276df8ad77d47d4 (patch)
tree807639c207bb98d8ba56d2c757d2e2f81f6ab887 /src/include/usr/hwas
parent4e84db479b0ca31d6f54cf8276e339cf566ae51e (diff)
downloadtalos-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/hwas')
-rw-r--r--src/include/usr/hwas/common/deconfigGard.H14
-rw-r--r--src/include/usr/hwas/hwasplatreasoncodes.H4
2 files changed, 12 insertions, 6 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,
};
};
OpenPOWER on IntegriCloud