diff options
author | Brian Horton <brianh@linux.ibm.com> | 2013-04-04 11:18:29 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-05-06 14:27:25 -0500 |
commit | a11977819c36bdc208ea400c2701c9982b0a84d2 (patch) | |
tree | 3dcf37da99db6b73e322848cb2c1f1043497a314 /src/usr/hwas/test/hwasGardTest.H | |
parent | 31267d99d061245ce7eebb1eb55465a56aa67113 (diff) | |
download | talos-hostboot-a11977819c36bdc208ea400c2701c9982b0a84d2.tar.gz talos-hostboot-a11977819c36bdc208ea400c2701c9982b0a84d2.zip |
Support Deconfigure By Association in HWAS functions.
. Add support for CHILD and CHILD_BY_AFFINITY targets to get
deconfigured when a target gets deconfigured.
. Add hwasState to store the PLID associated with an deconfigure
events (system error or GARD callout).
. Replace code in dmi_training to call deconfigureTarget instead
of explictly setting functional state.
Change-Id: I2e18b6a18eba5034dbf35a0bba669b5f4c171932
RTC: 35119
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4108
Tested-by: Jenkins Server
Reviewed-by: MIKE J. JONES <mjjones@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/usr/hwas/test/hwasGardTest.H')
-rw-r--r-- | src/usr/hwas/test/hwasGardTest.H | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/hwas/test/hwasGardTest.H b/src/usr/hwas/test/hwasGardTest.H index 575b246db..4ec1b0315 100644 --- a/src/usr/hwas/test/hwasGardTest.H +++ b/src/usr/hwas/test/hwasGardTest.H @@ -281,7 +281,7 @@ public: l_pTarget->getAttr<TARGETING::ATTR_HWAS_STATE>(); // Deconfigure the chip. Production code will pass a valid PLID - l_pErr = HWAS::theDeconfigGard().deconfigureTarget(*l_pTarget, 0); + l_pErr = HWAS::theDeconfigGard().deconfigureTarget(*l_pTarget, 0xA); if (l_pErr) { @@ -290,7 +290,7 @@ public: } // Deconfigure the chip again - l_pErr = HWAS::theDeconfigGard().deconfigureTarget(*l_pTarget, 0); + l_pErr = HWAS::theDeconfigGard().deconfigureTarget(*l_pTarget, 0xB); if (l_pErr) { |