summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas/hwasPlatDeconfigGard.C
Commit message (Collapse)AuthorAgeFilesLines
* Deconfig EC/EX/EQ at runtimeRoland Veloz2018-08-301-31/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Applied the normal parent/child rules for EC/EX/EQ logic to be done in the runtime deconfig logic. After applying the deconfig logic, then reset the PM for the parent proc of the EX/EX/EQ. To facilitate the code changes, modified the return value of the TARGETING::getParent(...) call. It no longer returns a const * Target, considering 5 times out of 7 of it's usage, users were just staic_cast(ing) away the const. Clear out the HB reset attribute in the mpipl path. Modify PRD logic to use runtime deconfig call in malfunction alert path. CMVC-Prereq: 1066157 Change-Id: If81f2f15c6e84bf2adb6fd66c1321b8f1ddf1a86 CQ: SW443157 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64873 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Skip call to FSP for runtime deconfigs if there is no FSPDan Crowell2018-07-241-2/+10
| | | | | | | | | | | | | | | | HBRT sends a message to the FSP when a runtime deconfig takes place. Obviously if there is no FSP present we shouldn't send that message. Change-Id: I6b778b3b54d30612585b2718b17b33d4a60a7407 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/62143 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Add deconfigTargetAtRuntime interfaceRichard J. Knight2018-04-121-0/+154
| | | | | | | | | | | | | | | | | | | | | | | -PRD will call this function in response to a core unit checkstop detected by PHYP. The new function will mark the core as non-functional and call a hardware procdure to update the multicast groups for cores and chiplets. The procedure will also update the OCC core configuration status and the quad core status registers which reflect the number of enable cores/quad in the system at runtime. Change-Id: Ia7fc3f47dc1fee1f84d877d3d56b609d1aee1b17 RTC:188918 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55154 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Richard Ward <rward15@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Add FFDC to 'No Functional TPM' FailsMike Baiocchi2018-03-191-1/+3
| | | | | | | | | | | | | | | | | | | When no functional TPMs are detected, but TPMs are required, this commit will capture the Security Registers of each processor in the system and add them to the error log. It also updates how the tpmMarkFailed() function links and commits various error logs. Change-Id: I2e95bbfcb6ab3f3dff26149f234c219d4280e1fb CQ:SW417814 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54808 CI-Ready: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Support for any target deconfig at runtime; Utility to create a generic messageRoland Veloz2018-01-171-1/+169
| | | | | | | | | | | | | | I added code to inform FSP whenever a target has been deconfiged. I also added a handy utility to facilitate in the construction of a Generic FSP message. Change-Id: Iad755d4de1bf200ab00ad3f99451512ba8cdabb4 RTC: 183950 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51201 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add support for remembering deconfigs without GUARDDean Sanner2017-05-251-7/+1
| | | | | | | | | | | | | | | | | | | | | | Currently on reconfig reboots only parts that are GUARDed are remembered and reapplied. - Add suport for a semi persisent PNOR partition, HB_VOLATILE which Hostboot uses to keep track of the reconfig reboots vs power off - Add a new GUARD type specifically for reconfig loops - Add RECALL_DECONFIG_ON_RECONFIG config flag to control what gets added to GUARD partition - During boot will add/clear guard records on deconfig based on config flags and semi persisent state. Change-Id: Iec636058cde8095c0c4216d1f95ae4fda554395e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39780 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Increment reboot count when gard records are writtenMatt Ploetz2016-05-111-1/+13
| | | | | | | | | | | | | | | Change-Id: Iaf9a4d4be19877e564ca1871564467441b472253 CQ:SW347568 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23186 Reviewed-by: A. P. Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24340
* enable saving GARD records to PNOR in runtime.Brian Horton2015-09-031-2/+6
| | | | | | | | | | Change-Id: I1ada7061d8fb258431b64c8e02bf84b019f7b25c CQ: SW315645 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19661 Tested-by: Jenkins Server Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Tested-by: Jenkins OP Build CI Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Clear gard records on OP systemsDan Crowell2015-06-191-0/+9
| | | | | | | | | | | | Fixed a bug related to clearing out individual gard records based on changed parts. Change-Id: I5bbb42e26382179c7b69ac619d25af2390ca5635 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18214 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: William H. Schwartz <whs@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Added an interface to get PNOR side informationPrachi Gupta2015-02-241-11/+21
| | | | | | | | | | | RTC:120061 Change-Id: I6732160b2154bcb856e01a79307ee15caf5ec6e5 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15629 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* determine the toc locations in pnorrp and rt_pnor codePrachi Gupta2015-02-241-1/+2
| | | | | | | | | | RTC: 120733 Change-Id: I5372a102ce9761a514a6f7245ca206a2226f1f3b Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15456 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support for Redundant Copy of HB code in PNORStephen Cprek2015-02-021-21/+68
| | | | | | | | | | | | | - 2 TOC's per side - side, sideless, preserved, and readOnly tags - Determine which SEEPROM side HB booted from - Modify gaurd code to not run when gaurd section DNE Change-Id: I62dd27c9aa79c3111d27e647f1b66a7c938ad6e8 RTC:109398 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14629 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Tools for delivering SRC descriptions to PUBsDoug Gilbert2014-09-081-0/+6
| | | | | | | | | | Change-Id: I1e909145a28c4cce750baee5d79f8f1672235ba9 RTC: 106255 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12841 Tested-by: Jenkins Server Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Added a new interface platReLogGardErrorPrachi Gupta2014-07-311-0/+10
| | | | | | | | | | | CQ: SW266697 CMVC-Coreq: 930117 Backport: release-fips811 Change-Id: I03d8ef3ff976bee81b8cff5e8a998ac9daa08115 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12278 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Merge HWAS commits from StradaleBill Schwartz2014-06-301-1/+11
| | | | | | | | | | | | These changes are to reduce the amount of trace entries, disable garding, and to print the model type. Change-Id: Iff1cd4995367c7bfad621f41a36e0080007ec6ef RTC: 97496 Origin: Google Shared Technology Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11172 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Change copyright prolog for all files to Apache.Patrick Williams2014-05-211-10/+10
| | | | | | | Change-Id: I5664587b4f889099290ef50d50fa9ce5e580e1eb Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11167 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Hostboot Serviceability Review Part 2Mike Jones2014-02-141-6/+13
| | | | | | | | | | Resolving TODOs and ensuring error logs have correct callouts Change-Id: Ic2e65427487fb91553ffe4ed6e3ed922004963ba RTC: 92837 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8374 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* cleanup hwas error module/reasoncodes to work with FSP better.Brian Horton2014-02-111-5/+5
| | | | | | | | | | | Change-Id: I1ae2fafab64811d6f68f57d437bd5fba16a5d532 CQ: SW239708 Co-req: 910348 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8284 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Donald E. Dahle <dedahle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Handle Multiple TOCs and removed side codeStephen Cprek2013-12-121-2/+1
| | | | | | | | | | | | | Also added Hostboot Base image version header Change-Id: I0fc878a48b9449e5d4875fd14525faefe01b1ace RTC: 34764 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7276 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* add plat calls to support RAT events in doGard.Brian Horton2013-11-131-0/+12
| | | | | | | | | Change-Id: If8f7b6829002ed746a3763a2292abe06751fb752 CMVC-Prereq: 900117 RTC: 87759 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/6596 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Remove unused createGardRecord() functionBrian Horton2013-11-071-13/+59
| | | | | | | | | | | | | 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>
* GARD: errlog event ID (EID) instead of platform log id (PLID)Brian Horton2013-09-121-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-0/+379
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>
OpenPOWER on IntegriCloud