summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common/utilFilter.C
Commit message (Collapse)AuthorAgeFilesLines
* Support UCD discoveryNick Bofferding2019-03-151-1/+16
| | | | | | | | | | | | | | | | | | - Added new attribute to indicate if target should be assumed present - Added that attribute to SP/BMC/UCD targets - Check for assumed present UCDs in discover targets - Iterate through every UCD for data flash update RTC: 201991 Change-Id: Ia535a58ea0355582621a23d3c1b50b2417ad362f Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73047 Reviewed-by: Matthew Raybuck <matthew.raybuck@ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@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>
* Define Parent/Child Relationship for OMIC/OMI targetsChristian Geddes2018-11-271-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | This commit puts in the plumbing to have xmltohb.pl look for ATTR_OMIC_PARENT attributes on the OMI targets and with the value of that attribute define a bi-directional relationship between the given OMI target and its defined OMIC parent. Each target in the binary will have pointers to its associated parent/child. When getChildren<OMI> or getParent<OMIC> is called in the FAPI2 api for a OMIC or OMI target respectively, then the Hostboot platform implementation of these functions will route to the new getParentOmicTargetsByState and getChildOmiTargetsByState functions that were defined to perform lookups in the targeting binary for this relationship. Change-Id: I8cd901864a700c9fe575dfa0916d5e78760a7b0c RTC: 172969 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68541 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: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Deconfig parent rollup simplifiedMatt Derksen2018-11-091-0/+32
| | | | | | | | | | | | | | | Create a common deconfiguration rollup to parent. A new attribute was created to indicate when to stop rolling up the parent branch Change-Id: I80954081527f29bc466622d30644115a96be385f RTC:193268 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66444 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-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>
* Deconfig EC/EX/EQ at runtimeRoland Veloz2018-08-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Improve error messages for getParent API on TARGETING namespaceChristian Geddes2017-09-141-2/+12
| | | | | | | | | | | | | | | I see these errors all the time and I always think they could be better Change-Id: I68d796d5ff06783eb1d7122ee66e6403f26a59eb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46112 Reviewed-by: William G. Hoffa <wghoffa@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> Reviewed-by: Prachi Gupta <pragupta@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>
* Scan support for multiple chipsDan Crowell2017-02-221-2/+2
| | | | | | | | | | | | | | Fixed the sbe-based scan code to work on non-master processors Did a little house cleaning of the scan code as well Change-Id: I13256bc9c7adc6fddecbf05d7ebe4f3c9c4b0b96 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35910 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Support getChildren and getParent FAPI2 testsNick Bofferding2016-03-231-0/+22
| | | | | | | | | | | | | | | | - Added FAPI reason codes to support tests - Added special handlers to getParent/getChildren for pervasive associations - Added new APIs to filtering utilities to walk pervasive associations - Updated getParent/getChildren tests to fully exercise pervasive associations RTC: 148577 Change-Id: I0d8ec427e6c2092852a32c7da605d1c47c554b50 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22084 Tested-by: Jenkins Server Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* FAPI2 GetParent Interfacecrgeddes2016-03-151-1/+29
| | | | | | | | | | | | | | | This commit addes the getParent function the fapi2::target interface. Also in this commit I remove some old fapi dependencies, and changed some reasoncode information that was causing naming collisions. Change-Id: Ib9ba92eaccf29709dafcdead9c82ccc8f8b139c1 RTC:129517 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/837 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* P9 Isteps: Created directory structure for istep 15 & 16 wrappersPrachi Gupta2015-12-111-1/+2
| | | | | | | | | Change-Id: Id780406de73f04a05ad22ed8c9d8770c581d785e RTC:137652 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21502 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update getFaultSensor to map all target typesRichard J. Knight2015-04-021-1/+32
| | | | | | | | | | | | -fix logic to return sensor for any target. Change-Id: I3bb842d6a8708762ee6163420cdda382eb4fca72 RTC:125231 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16385 Tested-by: Jenkins Server 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>
* Remove some traces from targeting that are not usefulDan Crowell2014-06-231-2/+1
| | | | | | | Change-Id: I0d56d9ecbf9d981bda9e2c8ed42031d52aa2e4f1 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11206 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add multi-node support to _deconfigureAssocProcStephen Cprek2014-05-291-15/+23
| | | | | | | | Change-Id: I6344e2737ed20af55516c159a459e2e91929fb8b RTC:86185 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11130 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>
* Deconfigure targets by checking presence related targetsStephen Cprek2014-04-041-8/+0
| | | | | | | | | | | | Centaurs behind a non-present processor are not being deconfigured Change-Id: I2574d75d76d7b7c1f4a0089193a2f361b7ac7e13 RTC: 99406 CQ: SW253452 Backport: release-fips810 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9921 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* change to check all present MBA and MCS in host_prd_hwreconfigayma2014-03-151-26/+58
| | | | | | | | | | | | need to change host_prd_hwreconfig to use all present targets instead of only functional targets. This allows the HWP to mask FIRS appropriately Change-Id: I795adf302ff4da5c731d2356433fd775b5f1ba45 CQ: SW245901 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9297 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Expand temporary HUID sorting fix to the getAssociated() interfaceElliott Dahle2014-03-101-8/+6
| | | | | | | | Change-Id: I5dd99152d409e6375a101fec09d417901dbfaaa0 CQ:SW249678 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9397 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Include algorithm header file required for common codeElliott Dahle2014-02-191-0/+1
| | | | | | | Change-Id: I26f00325895db68b1c8d633f7a5fdf28afa95e5a Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8997 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* CDM reaching termination after GARDing logical DIMM on membuf23Elliott Dahle2014-02-191-1/+19
| | | | | | | | | Change-Id: If72853c012a359cd68992284f0b730d19ddbb381 CQ:SW245691 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8968 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Tul63fp failing on istep hb_config_update of istep 0Elliott Dahle2014-02-131-1/+47
| | | | | | | | 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>
* Integrate IPL Flow Reconfig Loop Memory HWPsElliott Dahle2013-12-141-38/+138
| | | | | | | | | | Change-Id: I024737b0685164d3e79ee847d53ba1b46721ce5a RTC:89843 CMVC-Coreq:906058 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7452 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* INITPROC: Hostboot - proc_prep_master_winkle 1.12Thi Tran2013-07-241-0/+29
| | | | | | | | | | SW208962 Change-Id: I5144fa3304a58ba5e7cfdea1ea6c34ca8eda34db Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5459 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* BEAM fixes for various components.Patrick Williams2013-05-151-23/+20
| | | | | | | | | | | Change-Id: I900f33eefeeeaa35d981b93c1af0bec8ab4000c2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4424 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@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>
* Fixed FSP x86.nfp and errl parser compile problem in utilFilter.CNick Bofferding2013-04-111-0/+8
| | | | | | | | | | - Added defines for TARGETING namespace and class Change-Id: I26ebbb2f7c1eb0c7049bad50c7946db2c73748f7 CMVC: 877900 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4006 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support generic PEER_TARGET navigationNick Bofferding2013-03-291-10/+137
| | | | | | | | | | | | | | | - Updated attribute compiler to lay down FSP specific PEER_TARGETS - Added common predicate to filter targets with specific value for attribute - Added generic PEER_TARGET navigation facility to filter utilities - Added support for platform specific attribute accessor specialization - Added target function to return target based on HUID Change-Id: I190087ee7fb24e80185bc955bd994ee14512a704 RTC: 41735 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3796 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* FAPI Interface to get the target on the other side of the DMI busBill Schwartz2013-02-081-36/+55
| | | | | | | | | | | | | | Add new fapiGetOtherSideOfMemChannel function Replace getAffinityChips with more general getChildAffinityTargets and added getParentAffinityTargets to find MCS from Centaur. RTC: 61987 Change-Id: I772ef95452215c54fdfab98998507e6db5a862d0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3062 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* remove #include <sys/task.H> from utilFilter.CMark Wenning2012-08-101-3/+0
| | | | | | | | Change-Id: I528a25d6c7c1683bc1c90dbaa4dd13aca3073a01 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1512 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Move getMasterCore to namedtarget.C/HMark Wenning2012-08-081-51/+0
| | | | | | | | | | | | getMasterCore() has hb-specific code and will not compile in fsp RTC: 46451 Change-Id: Ib4d704ae6c0b5ae0dee87aed14e6bee9c678adec Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1490 Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Implement proc_set_pore_bar HWPMark Wenning2012-07-301-1/+55
| | | | | | | | Change-Id: I95562f9c3bb85e3b283020f62beaf65752281167 RTC: 42150 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1393 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Preload PNOR VPD correctlyTerry J. Opie2012-06-181-1/+23
| | | | | | | | | | | | | | | - Handle Venice, Murano, Tuleta - Change SPD code to use VPD_REC_NUM attribute - Modify FAPI/HWPF tests to use present DIMM targets Change-Id: I2348a2da90ea85a966f3724f8b3694a0b8f03916 RTC: 40774 Depends-on: I7d1b41c9f9e87baa9d42b78bf4351e3b6d774cb5 RTC: 39133 Depends-on: Ia0f22c87f8bc3959324fa8347e191f2b47b4325c RTC: 35835 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/950 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Pick up latest io_run_training HWP for X/A bus supportVan Lee2012-06-081-0/+31
| | | | | | | | Change-Id: I4794c1cd02624041746ff00a4627ba5968665e31 RTC: 39860 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1085 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Pick up latest mss_eff_config HWPVan Lee2012-06-061-0/+159
Implemented util functions getAllChips, getAllChiplets, getChildChiplets, getAffinityChips. RTC: 41712 Change-Id: I625695a85d768e03365a91fb44b4f9d6525a4276 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1073 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud