summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unused createGardRecord() functionBrian Horton2013-11-071-22/+22
| | | | | | | | | | | | | hwas common createGardRecord() function is not used by FSP and so doesn't need to be in the common section. move functionality to the hostboot platCreateGardRecord() and delete the common function. Change-Id: Ie8245d6a52ea3acf75966f97740af9c24dc97913 RTC: 90404 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7064 Tested-by: Jenkins Server Reviewed-by: SHELDON R. BAILEY <baileysh@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* remove CDM FUNCTIONAL policy and GARD_Func type.Brian Horton2013-11-071-53/+3
| | | | | | | | | | Change-Id: I9d8fa1cf8bfc155dec93c1d788c0d474647e6b37 RTC: 90176 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/6990 Tested-by: Jenkins Server Reviewed-by: SHELDON R. BAILEY <baileysh@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Hardware Reconfigure loop and Istepdispatcher redesignMatt Ploetz2013-10-121-0/+18
| | | | | | | | Change-Id: Icc037be6b0eac67d1b5196180f8a53f083afa085 RTC: 34055 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6324 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Deconfig by association for fabric buses and SMP node balancing.Elliott Dahle2013-09-241-0/+1017
| | | | | | | | | | Change-Id: I88b35914fd7896b2e255b849975d989bd3f9d152 RTC: 63224 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5684 Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* GARD: errlog event ID (EID) instead of platform log id (PLID)Brian Horton2013-09-123-7/+7
| | | | | | | | | | | | gard records and deconfiguredBy use event id instead of plid. Change-Id: Ic0ccbd5b83e1738839819d471956ca700cd22fff RTC: 79346 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5853 Tested-by: Jenkins Server Reviewed-by: SHELDON R. BAILEY <baileysh@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* rework gard interfaces to handle new hwsv functionsBrian Horton2013-09-121-286/+159
| | | | | | | | | | | | | | the FSP gard records will now be stored in the system model, so the gard functions change to support new platform specific functions. Change-Id: I9a847a3defa7e613d128b1077763640e124360a8 RTC: 73818 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5806 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: SHELDON R. BAILEY <baileysh@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* add memory rules for deconfigure by association.Brian Horton2013-08-081-0/+318
| | | | | | | | Change-Id: Ie634b0b47ac4642f0ca62927b0fa6c8185830dad RTC: 63225 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5580 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* add DECONFIGURE_BY_ enums for deconfigured targetsBrian Horton2013-08-081-1/+1
| | | | | | | | | | | | | | | when targets are deconfigured NOT due to an errorlog (ie, FCO, memory config, manual gard) the target HwasState attribute will have a deconfiguredByPlid set to one of these enums. Change-Id: I544075defebd98b52391b6d4e241452acc6f7a48 RTC: 37737 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5512 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: SHELDON R. BAILEY <baileysh@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* SPless support of PLD detectionBrian Horton2013-07-151-1/+1
| | | | | | | | Change-Id: If7e0ae4a0befbcbbb9f9c6cb9b130beab0c0f1df RTC: 37740 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5224 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* System Availability Service for HostBootMark Wenning2013-07-121-0/+317
| | | | | | | | Change-Id: Iba0bd850647bba5ea5ff8d86e29506f356e903c4 RTC: 45437 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4758 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* CDM policy flagsBrian Horton2013-07-021-0/+377
| | | | | | | | | | | | | doGard and createGardRecord will check for system-wide CDM policy, as well as policy in the GARD record and callout. Change-Id: I2abf572e5ed289ed8ac28edee022b23acca50274 RTC: 64693 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5034 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: SHELDON R. BAILEY <baileysh@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* implement deferred deconfigure supportBrian Horton2013-06-141-301/+445
| | | | | | | | | | | | | deferred deconfigure record is created when an error log with a DELAYED_DECONFIGURE callout is commited; at the end of the istep worker function, all outstanding deferred deconfigure records are processed. Change-Id: I3b6623c4f1e49f362d5b3302a964823810ea18ec RTC: 45781 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4786 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* add support for ChangeSinceLastChecked bitsBrian Horton2013-05-172-145/+284
| | | | | | | | | | | | | | | | | 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>
* Support Deconfigure By Association in HWAS functions.Brian Horton2013-05-062-3/+12
| | | | | | | | | | | | | | | | | . 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>
* deconfigGard - enable reading GARD records from PNORBrian Horton2013-01-021-5/+9
| | | | | | | | | | | 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-1/+1
| | | | | | | | | | | | 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>
* fix errl and hwas unit testsBrian Horton2012-11-092-62/+94
| | | | | | | | | | | | | | | correct tests . don't create error log . don't run tests that create deconfig or gard records, as they can/will corrupt other cxx tests that are running in parallel for now, disable mvpd and ring tests that don't work. Change-Id: I91869cd2af0029d4231a715851725acd8a96bdf6 RTC: 51608 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2143 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWAS: Apply Partial Good to targetsBrian Horton2012-10-101-25/+127
| | | | | | | | | | | | | | | | | | | 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>
* ERRL: Hardware CalloutsBrian Horton2012-08-132-70/+57
| | | | | | | | | | | | | | | | | | | 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-111-1/+1
| | | | | | | | | | | | | | | 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>
* Support targeting code commonalityNick Bofferding2012-04-242-8/+2
| | | | | | | | | | | | | | | - Moved common targeting code to own subtrees - Updated many components with header file changes - Implemented abstract pointer class - Implemented Hostboot specific support for targeting commonality - Changed attribute VMM base address to 4 GB (From 3 GB) - Removed tabs, fixed > 80 character lines Change-Id: Ie5a6956670bfa4f262f7691b4f0ce5a20ed289fe RTC: 35569 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/909 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* RTC4545 and RCT4541 - HWP supportMark Wenning2012-02-071-71/+0
| | | | | | | | | | | | | | | | | | | | - branch HWP_test3 Add support for IStep HWPs: HostBoot - DMI Training 11.7 proc_cen_framelock : Initialize EDI Frame HostBoot - Establish System SMP 11.4 dmi_io_run_training : Run training on ext buses - add support for 2 centaurs - push to Gerrit for full review - review responses - final review responses Change-Id: Iab9d7c145eb6834cec5edcd0a6b97622cf0ce86b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/621 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* RTC3034 - Initial Presence SettingMark Wenning2011-12-011-4/+112
| | | | | | | | | | | | | - initial commit - cleanup - fix review comments Change-Id: Ie8ad14a798d5e1dfcc3dc46fc1552cf44ededefe Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/508 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
* HWAS: Deconfigure Targets with GARD RecordsMike Jones2011-11-221-79/+20
| | | | | | | Change-Id: I4131019c1f14d5038ace45c7e692994f135348ac Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/501 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Errl commit with component IDMonte Copeland2011-11-021-11/+11
| | | | | | | | Change-Id: Ic8fcd3c69330878e8e7a75ba6ba9d3c60aca6251 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/482 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* Initial Deconfigure and GARD supportMike Jones2011-11-011-0/+920
| | | | | | | Change-Id: I8448480627ad478e8e16377027137e6df410053f Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/460 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Remove nanosleep from HWAS unit testMark Wenning2011-10-241-2/+0
| | | | | | | | Change-Id: I2b6ce62bd6b64af06af9aa0a5735afeabdda1107 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/457 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
* RTC3872: Hardware Availability Service: Add HWAS as first ISTEPMark Wenning2011-10-202-0/+176
- first commit - change isteplist to call hwas - comment out test isteps - modify xml to add HWAS_STATE attribute - add macros to taskargs - remove debug trace from taskargs - add call to init_fsi - post-review - merge xml files - forgot one printkd Change-Id: Iab3b1f85c401f9a176ed84ddb91263caf25a3d56 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/430 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud