diff options
author | Brian Horton <brianh@linux.ibm.com> | 2013-10-04 16:32:45 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-10-28 11:37:47 -0500 |
commit | 495ca1eff5f91ab577dc6b923bd766a6dfaa59ba (patch) | |
tree | 12c31c47edf45d66a2a9409655f3bb1de484dfd7 /src/include/usr/hwas/common | |
parent | 9cd34b6ba83aad88ba54aad529f1a46aa8f20189 (diff) | |
download | talos-hostboot-495ca1eff5f91ab577dc6b923bd766a6dfaa59ba.tar.gz talos-hostboot-495ca1eff5f91ab577dc6b923bd766a6dfaa59ba.zip |
update deconfigureByAssociation behavior for runtime
If deconfigureTarget() is called from PRD at runtime, we
don't want all of the 'deconfigureByAssocation' actions taken.
Specifically, we want to mark the target and it's CHILDren
as non-functional and nothing else. (ie, for MEMBUF, do not
follow the rules that might mark interleaved targets as
non-functional.)
Change-Id: I484bd45d5f6cf6ff4f8a3f696836675dda3b5d1e
RTC: 86960
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6584
Tested-by: Jenkins Server
Reviewed-by: SHELDON R. BAILEY <baileysh@us.ibm.com>
Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwas/common')
-rw-r--r-- | src/include/usr/hwas/common/deconfigGard.H | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/include/usr/hwas/common/deconfigGard.H b/src/include/usr/hwas/common/deconfigGard.H index c1288978e..c76ee740f 100644 --- a/src/include/usr/hwas/common/deconfigGard.H +++ b/src/include/usr/hwas/common/deconfigGard.H @@ -239,7 +239,7 @@ public: * * @return uint32_t 'counter' of deconfigure events */ - uint32_t getDeconfigureStatus(); + uint32_t getDeconfigureStatus() const; /** * @brief Registers a Deferred Deconfigure @@ -248,9 +248,8 @@ public: * by hwasCallout when the user requests a * Deferred Deconfigure request. * - * For now, just put a mark on the wall indicating that we got a deferred - * deconfigure callout - * TODO RTC: 45781 + * Create a deconfigure record, which will be handled in the function + * processDeferredDeconfig(). * * @param[in] i_target Reference to Target to deconfigure. * @param[in] i_errlEid Error log EID to store in Deconfigure Record. @@ -405,9 +404,11 @@ private: * * @param[in] i_target Reference to base Target. * @param[in] i_errlEid Error log EID to store in Deconfigure Record. + * @param[in] i_atRunTime if true, at runtime - bypass some associations */ void _deconfigureByAssoc(TARGETING::Target & i_target, - const uint32_t i_errlEid); + const uint32_t i_errlEid, + bool i_atRunTime = false); /** * @brief Deconfigures a Target. |