summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas/common
Commit message (Collapse)AuthorAgeFilesLines
...
* add support for ChangeSinceLastChecked bitsBrian Horton2013-05-172-12/+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>
* Handle the PR keywordBrian Horton2013-05-151-38/+208
| | | | | | | | | | | | | | | | | Add support in the HWAS code to handle the PR keyword, to potentially force processors to run with less cores than are available. Move FRU_ID from fsp-only to common, so that the PR keyword code knows which procs are to be grouped. This work involves changes to HWAS Common code, as well as hostboot and FSP platform-specific code. Change-Id: I6d437a68c37f51edbd6d0d4741f2193892f80a6b RTC: 35077 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4221 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 platform specific callout functions for FSP integration.Brian Horton2013-05-081-99/+33
| | | | | | | | | | | | | | | Make the HWAS function processCallout() be common instead of hostboot specific, and create new platform specific functions for the processing of procedure and hardware callouts. Intention is that hostboot and fsp will use these to read the hwas hostboot-created callout_ud_t structure out of an errlog. Change-Id: Ie5679b0a833f802744bfd8f5285901b73f022d52 RTC: 49965 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4275 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.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-062-96/+186
| | | | | | | | | | | | | | | | | . 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-092-38/+75
| | | | | | | | | | | | | | | | | | . 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>
* Defect: 4 nodes being marked functional on a single node brazosBrian Horton2013-04-031-17/+12
| | | | | | | | | | | | | Correct logic in HWAS common code to allow for running on FSP where all CLASS_ENC targets (nodes) are not functional. Change-Id: I4a119ebce059f06567e8546f2d89346e1d0b9131 RTC: 66457 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3518 Tested-by: Jenkins Server Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Need to support new PG keyword value for PowerBusBrian Horton2013-03-141-4/+35
| | | | | | | | | | | | | | PG keyword for the PowerBus has MCL and MCR. Code needs to change to not check for MCL or MCR in determining the chip functionality. In addition, if MCL or MCR is bad, then the appropriate targets are marked non-functional (mcs0..3 for MCL, mcs4..7 for MCR). Change-Id: I0f682538df1b94a7d51ac4ba17e354e3dc818ead RTC: 66138 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3473 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Cause a Hostboot TI on any Target DeconfigureBrian Horton2013-03-142-19/+40
| | | | | | | | | | | | | | 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>
* update user-detail errog log parsersBrian Horton2013-03-131-24/+23
| | | | | | | | | | | | | | update errolog parsers to format the data for the following: . errludtarget . errludattribute . errludlogregister . errludcallout Change-Id: I8fddb3eefd76413e70f4e894ef19649b74682859 RTC: 41707 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3350 Tested-by: Jenkins Server 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>
* Reduce trace buffer sizes.Patrick Williams2012-12-141-0/+5
| | | | | | | Change-Id: I13a80f814fd13a30315320c0b0c7374f39c3ecc2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2522 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: A. Patrick Williams III <iawillia@us.ibm.com>
* make deconfig/GARD functions hwas common for sharing with FSPBrian Horton2012-11-143-46/+811
| | | | | | | | | | | | 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>
* Issue INFO (TRACFCOMP) messages for disabled parts.Brian Horton2012-11-071-7/+11
| | | | | | | | | Change-Id: Ic39e1fca53375576c04fdf724304fd03e4b113e1 RTC: 51902 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2185 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* remove workaround, allow full partial good vpd checks.Brian Horton2012-10-221-7/+1
| | | | | | | | | | Change-Id: Icc2d670b8d18101f14492d8209a0d4a098675d97 RTC: 49991 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2067 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWAS: Apply Partial Good to targetsBrian Horton2012-10-101-37/+171
| | | | | | | | | | | | | | | | | | | New HWAS Platform function platReadPartialGood() will be called by HWAS common function discoverTargets(). The platReadPartialGood() will query the VPD for the PG keyword of the CP00 record, and return the vector. The discoverTargets() function will then parse the record to determine which chiplets should be marked functional or not, based on the values in the PG vector. Change-Id: If29d18a80f8703cc87394cf07d152918957ffd37 RTC: 35078 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1852 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* add attributes and target types for the pnor device to add it to targeting filesayma2012-10-011-5/+2
| | | | | | | | | RTC:47730 Change-Id: Iecd2f5e123356a7e01921c41fd6327618b5f3043 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1881 Tested-by: Jenkins Server Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* fix build issues trying to do 'hb errlparser' buildBrian Horton2012-09-241-2/+2
| | | | | | | | | | | | | . mismatched and not namespaced reasoncode . missing include file Change-Id: Ibda649d74da50b74f41b5269476558ba1d5d7cc3 RTC: 48351 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1710 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* PSI and FSP attribute types for hwserver.Andrew Geissler2012-09-071-24/+24
| | | | | | | | | | | Muruli requires these for his RTC story noted below. This should be co-req'd or checked in with feature 844814. Change-Id: I37838d29e3dde29544675fada4be92ff586458f3 RTC:43017 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1657 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ERRL: Hardware CalloutsBrian Horton2012-08-132-1/+175
| | | | | | | | | | | | | | | | | | | Support for HW and Procedure Callouts, including GARD and deconfigure information. . Add errl functions to get the information; . Add errlog userdetail code to package callout data; . Add to errlog commit function to find callout user-detail sections and call a HWAS:common function to process the callout. . Remove gardLevel from Targeting hwasState field Change-Id: I01c7c3721e6fd843a0ba2ad4df8399f6db68b590 RTC: 41276 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1266 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWAS code common between hostboot and FSPBrian Horton2012-06-112-0/+264
Corrections to common and hostboot platform-specific code to make this code work for both hostboot and FSP. In addition, make printing of HUID consistant with other previous changes. Also, added hwas/common files to fsp distribution tools so that they are included in the fsp.tar for common usage. Change-Id: Ia761606ab446dd794bf8e112430cc2e072f46991 RTC: 39793 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1130 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud