summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas/common/deconfigGard.C
Commit message (Collapse)AuthorAgeFilesLines
...
* add support for ChangeSinceLastChecked bitsBrian Horton2013-05-171-11/+10
| | | | | | | | | | | | | | | | | replace hwas changedSinceLastIpl bit to a bit for different services (ie, GARD, mem diag, psi diag, etc) and a subscription mask; this will be used by hcdb code - when a target changes, the mask will be copied into the bits field, and then services will clear their bits when they process the change. also update and create new hwas predicate to handle new attributes, as well as targeting utilities to set and clear the bits. Change-Id: Ie4a29500d07d7722f77ae2e89459e79a8b1e535b RTC: 63434 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4343 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Do not deconfigTarget when System is at runtime.Kumar Challa2013-05-131-1/+10
| | | | | | | | | | Change-Id: I4daa3c3370eb91cdc5676e315a1476ed8c3a2e2a RTC:45747 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4195 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* add code for clearGardRecordsForReplacedTargets() functionBrian Horton2013-05-061-62/+116
| | | | | | | | | | | | Part of collect_gard() functionality is to check a targeting attribute to see if the part has changed; if so and there is a GARD record, we clear the GARD record so that the new part will then not be deconfigured. Change-Id: I39a316efd7cda6b205c0fbb39192e7ba90afad45 RTC: 63432 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4263 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support Deconfigure By Association in HWAS functions.Brian Horton2013-05-061-70/+151
| | | | | | | | | | | | | | | | | . 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>
* Improve FFDC for deconfigure/gard functionsBrian Horton2013-04-291-31/+28
| | | | | | | | | | | | | | Also, remove error generation for an unknown Target entity path in deconfigureTargetsFromGardRecordsForIpl() - the GARD record could be for the 'other' platform instead of 'this' platform. Change-Id: Ic5de7454c624e18023d83fa41887aa5e4e1d6ae0 RTC: 69175 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4043 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>
* handle MASTER_PROCESSOR_CHIP_TARGET_SENTINEL as approporiateBrian Horton2013-04-091-3/+0
| | | | | | | | | | | | | | | | | | . create new errl->callout function to handle calling hwas::processCallout, so that can be done in proper order (after commit, save to PNOR and send to FSP of errl) . in callout code, convert SENTINEL target to masterProc . a deconfigure of the masterProc means that we can't continue, so return flag so that doShutdown() will be called to halt the IPL (TI). Change-Id: Ie43b8caf28d3aea20c15827e035dd890378dbcee RTC: 45780 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3695 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Cause a Hostboot TI on any Target DeconfigureBrian Horton2013-03-141-1/+33
| | | | | | | | | | | | | | IStep Dispatcher will call into HWAS to see if there were any delayed deconfigure callouts during the sub-step loop; if so, an error will be returned, causing a TI and shutdown. Change-Id: Idef6f48669b7f3d73488a0697c5714088878856b RTC: 64894 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3391 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* only processes GARD records for certain targetsBrian Horton2013-02-041-10/+23
| | | | | | | | | | | | | | | MPIPL needs capability to do initial collectGard() function on a subset of targets (ie, EX only ). Add new optional TARGETING::Predicate parameter and only call deconfigure for GARD records that match. Change-Id: Ib16d8d9431a797df0dbe625adeb5cffc7c073a7d RTC: 59089 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2947 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* deconfigGard - enable reading GARD records from PNORBrian Horton2013-01-021-102/+86
| | | | | | | | | | | update common and platform interface so that both hostboot and FSP can access GARD records in PNOR. Change-Id: I1eb36238076bcbb421cf1d149538eba1c7faeda6 RTC: 33551 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2628 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* make deconfig/GARD functions hwas common for sharing with FSPBrian Horton2012-11-141-0/+807
split current deconfigGard function into hwas common and platform specific functions so that FSP will have access to these as well. Change-Id: Iebacffb10f85af29e245ce41040d6f9ebc774830 RTC: 33551 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2188 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud