summaryrefslogtreecommitdiffstats
path: root/src/include/usr/hwas
Commit message (Collapse)AuthorAgeFilesLines
...
* fix fsp build break in errlog parsersBrian Horton2013-05-161-19/+20
| | | | | | | | | | | | runtime functions are not needed when building the errlog parsers, so need to move them into the proper ifdef. Change-Id: I0a8fb1bac71fcf564b4c02c0803819ee3ae41338 RTC: 35077 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4525 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add new istep for multinode support in Hostboot and FSPRichard J. Knight2013-05-161-23/+22
| | | | | | | | | Change-Id: I1e9b0662ded03828f5df9e16aa35960ccb8d90cc RTC:63129 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4247 Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Handle the PR keywordBrian Horton2013-05-151-1/+37
| | | | | | | | | | | | | | | | | 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-132-5/+14
| | | | | | | | | | 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-4/+38
| | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | | | 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>
* Improve FFDC for deconfigure/gard functionsBrian Horton2013-04-291-25/+30
| | | | | | | | | | | | | | 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/+3
| | | | | | | | | | | | | | | | | | . 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>
* Need to support new PG keyword value for PowerBusBrian Horton2013-03-141-24/+34
| | | | | | | | | | | | | | 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-141-1/+44
| | | | | | | | | | | | | | 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-94/+35
| | | | | | | | | | | | | | 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>
* Attribute sync from FSP to HBCamVan Nguyen2013-02-201-3/+5
| | | | | | | | | Change-Id: Ia177f591c9bb295d0435ed913d11bac7a0601405 RTC: 51687 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2964 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* only processes GARD records for certain targetsBrian Horton2013-02-041-3/+8
| | | | | | | | | | | | | | | 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-023-49/+75
| | | | | | | | | | | 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>
* Update hostboot to version 1.28 IPL Flow documentRichard J. Knight2012-12-131-2/+2
| | | | | | | | Change-Id: Ie42bebb0fa91f248bc3ae3b1d1231d97cc5a4ca9 RTC: 52964 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2578 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Updates to IPL flow to match doc v1.18Richard J. Knight2012-11-151-2/+14
| | | | | | | | | Change-Id: I9fe83e777fde516b6ddbadd2eea4969b87e601fa RTC: 50424 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2167 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> 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-147-61/+229
| | | | | | | | | | | | 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>
* proc_check_slave_sbe_seeprom_completeMark Wenning2012-11-101-12/+1
| | | | | | | | Change-Id: I38ab55e90bd1bec8b258106c9215138904672847 RTC: 41384 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1863 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Memory Leak task_endBill Schwartz2012-10-121-14/+14
| | | | | | | | Change-Id: Idb7a2d8d72a55f644efd0b2548eca5df5d062e6d RTC: 47491 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2011 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWAS: Apply Partial Good to targetsBrian Horton2012-10-103-24/+71
| | | | | | | | | | | | | | | | | | | 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-133-40/+262
| | | | | | | | | | | | | | | | | | | 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>
* Start the rest of the threads on the master coreDan Crowell2012-07-021-22/+23
| | | | | | | | | | | Uses the scom from proc_thread_control HWP to start all of the threads that aren't started yet on the master core. Change-Id: I93efba6ebebbf9d286a399fc58fa437b30e830b1 RTC: 37008 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1242 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWAS code common between hostboot and FSPBrian Horton2012-06-1110-135/+208
| | | | | | | | | | | | | | | 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>
* platReadIDEC killing IPL for single failureBrian Horton2012-05-103-5/+103
| | | | | | | | | | | | | | | | | Correct HWAS code - if target is detected as present, but the read of the ID/EC fails, then mark the target as present but NOT functional, commit the errl, and continue the target processing. All physical children under that parent target will be marked as present and NOT functional as well. Same for the deviceRead for the Presence detect - if it fails, mark the target as not present, commit the errl, and continue. Change-Id: I6d911c6e6aa3968395721dc2826bf860589dc737 RTC: 41123 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/974 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support targeting code commonalityNick Bofferding2012-04-242-4/+3
| | | | | | | | | | | | | | | - 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>
* add debug messages in HWAS istep functionsBrian Horton2012-04-201-0/+4
| | | | | | | | | | | | add istep trace messages to hwas istep functions, to be consistent with the other istep functions. add HWAS msg so we knows when the discoverTargets function is starting and finishing. Change-Id: Ia51ded05dcaf68fe89c259a7a3e733175a2fc0bd Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/905 Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* add stubs for remaining istep 6.* stepsBrian Horton2012-04-191-2/+46
| | | | | | | | Change-Id: I6d5c3770ccf55049409b93e4c8d618ee3382766d RTC: 40724 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/911 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Updates to HWAS code: istep 6, presence detect logicBrian Horton2012-04-055-104/+249
| | | | | | | | | | | | | | | . remove hwas functions in istep 4.* . add new hwas functions to istep 6.* as per 0.99 ipl flow . split hwas into common and platform specific layers for hostboot/fsp sharing . add presence detect logic . add chip id/ec logic, including ATTR_CHIP_ID (Story 35542) Change-Id: I436fe54b1a7f7547cbc9e19beda2d47105c11871 RTC: 35777 RTC: 35542 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/800 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* RTC3034 - Initial Presence SettingMark Wenning2011-12-011-4/+9
| | | | | | | | | | | | | - 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-222-27/+22
| | | | | | | 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>
* Initial Deconfigure and GARD supportMike Jones2011-11-012-0/+496
| | | | | | | 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>
* Move testHWP to the last substep of HWAS (ISTEP 4)Mark Wenning2011-10-261-0/+9
| | | | | | | | | | - fix istep numbering, thanks Dan - remove src/usr/isteps dir Change-Id: I9420b7bddf6f9237045cecf888f01b37afa2df0e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/459 Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
* RTC3872: Hardware Availability Service: Add HWAS as first ISTEPMark Wenning2011-10-201-0/+138
- 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