summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common/predicates
Commit message (Collapse)AuthorAgeFilesLines
* Fix predicateHwasChanged to only check subscribed bitsMatt Derksen2018-11-291-2/+19
| | | | | | | | | | | | | | | Found issue while running testGard11 in hwasGardTest.H OBUS bricks were coming back changed but they did not change. Change-Id: Icf2d27b06f8bf44dc2e0aefb881d9e2b50dcc677 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67476 Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Improve resource recovery path to handle memory plugging rulesMarty Gloff2018-05-151-2/+5
| | | | | | | | | | | | | | | | | | | | | Resource recovery is a RAS feature wherein we do not apply certain gard records if those records would result in a boot fail due to a lack of hardware. Change the logic from applying speculative deconfiguration one by one to applying all predictive gard records and then removing those records if minimal hardware is not available. Also add BLOCK_SPEC_DECONFIG attribute to flag when speculative deconfiguration is not allowed. This flag is set if minimum hardware is not available and is cleared after a hardware change. Change-Id: Ia065de3a44ab29fbf33ad4ce98bc42ea5144463f RTC: 191414 CQ: SW424137 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58041 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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Establish a working P9 Hostboot and Simics baseDean Sanner2015-12-111-5/+7
| | | | | | | | | | | | | | | Includes changes for nimbus.por Making recent Simics usable by Hostboot Removing portions of code not yet ready Basic LPC read/write Change-Id: Ic40a9613934fab7bb6a28a8100685496246bb5ea RTC:132170 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21931 Tested-by: Jenkins Server Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: Christian Geddes <crgeddes@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Change copyright prolog for all files to Apache.Patrick Williams2014-05-217-109/+109
| | | | | | | 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>
* Tul63fp failing on istep hb_config_update of istep 0Elliott Dahle2014-02-131-0/+75
| | | | | | | | Change-Id: Ie3b509b31d3067fe34be7930eb4e1beec4d8383b CQ:SW245920 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8806 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Optimize predicate expression evaluationNick Bofferding2013-09-181-19/+88
| | | | | | | | | | | - Inhibited evaluating RHS of OR expression when not needed - Inhibited evaluating RHS of AND expression when not needed Change-Id: I4288b0e708f747b8113416df38414327a61aaa49 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6120 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* add support for ChangeSinceLastChecked bitsBrian Horton2013-05-172-33/+143
| | | | | | | | | | | | | | | | | 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>
* loops: replace ++ and .size() with C++ iterators where possible.Brian Horton2013-04-031-26/+29
| | | | | | | | | Change-Id: I42a23fe81f08cb533b76ec5ff043bfe31b60bbdd RTC: 52905 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3697 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support for HWAS state predicateNick Bofferding2012-08-271-0/+109
| | | | | | | | | | | | | - Created new .C/.H for HWAS state predicate support - Updated testcommontargeting.H with HWAS state predicate testcases - Updated common makefile to include HWAS state predicate file - Updated predicates.H to include the HWAS state predicate RTC: 46236 Change-Id: If7552abab270f06ab538144cf299b27460e51394 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1563 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support targeting code commonalityNick Bofferding2012-04-244-0/+459
- 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>
OpenPOWER on IntegriCloud