summaryrefslogtreecommitdiffstats
path: root/src/include/usr/fapi2/target.H
Commit message (Collapse)AuthorAgeFilesLines
* Updates to compile new pmic fields in p9a eff_configMatt Derksen2019-05-291-1/+9
| | | | | | | | | | | | | | Added to support updates to p9a_eff_config.C Change-Id: I7424447a57b65ccdc2835dfdb2ec5dcef72b0f53 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77810 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> Reviewed-by: Glenn Miles <milesg@ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Allow child/parent lookups between DIMM and OCMB_CHIP targetsChristian Geddes2019-03-011-2/+6
| | | | | | | | | | | | | | | Some hwps are trying to use the FAPI interfaces to lookup this relationship. We can support it so might as well allow it. Change-Id: I4677fdcabbce9798bf068263a916eedc2ee4eb44 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72552 Reviewed-by: Matt Derksen <mderkse1@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: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update FAPI2 functions to handle new template parms for multicast supportduchen2019-02-141-34/+49
| | | | | | | | | | | | | | Include changes 70177, 70867, 70946 and get them compiling Due note that this will not compile as is because we still need some changes on the ekb side. List of such changes include: 1) fapi2_hw_access.H: MulticastGroupMapping not defined 2) fapi2_target.H: plat_apply_target_limits() and mcUpdateHandle() not defined 3) multicast_defs.H: MulticastCoreSelect enum not defined Change-Id: Ib828644d1535c65f4adcf9b3715cf0b1316f5700 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71310 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Define Parent/Child Relationship for OMIC/OMI targetsChristian Geddes2018-11-271-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* Add OCMB_CHIP and MEM_PORT fapi2 test casesChristian Geddes2018-09-181-47/+14
| | | | | | | | | | | | | | | | | | | | This commit adds test cases for new OCMB_CHIP and MEM_PORT target types that are being added to support the new explorer memory buffer used in Axone. Also this commit fixed up the Axone target generation which was missing a break on the inner loop and removed some changes that were made in target.H which was allowing invalid parets to be looked up for dimm targets. RTC: 172970 Change-Id: I7564fbcfcdde2177ece934015fe40c79011f559f Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65511 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: Matt Derksen <mderkse1@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix some shortname issuesDan Crowell2018-08-291-1/+1
| | | | | | | | | | | | | | | | MEMPORT is using mp Made all processor-level names generic Change-Id: I50ac5742b20645574ce5bd4636fa23ec39357b96 RTC: 172969 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64065 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: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Base targeting support for OCMB chip and MEM_PORT chipletChristian Geddes2018-08-081-34/+113
| | | | | | | | | | | | | | | | | | | | | | | | In Axone we are introducing a new memory buffer known as the Open Capi Memory Buffer chip. On this chip will be a MEM_PORT chiplet(s) which will connect to the DIMM. This completes the following picture (it is expected OMIC, MCC, and OMI have been added already) MI--MCC / \ Proc--MC < __ OMI--OCMB--MEM_PORT--DIMM \ / OMIC Change-Id: I1a3e3d38978ce11fecee2ab11de83909eb440774 RTC:172970 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63911 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> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Base targeting support for Axone memory complexChristian Geddes2018-08-081-3/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Added 3 new target types to start things off. These are the OMI (open-capi memory interface), the OMIC (open-capi memory interface controller), and the MCC (memory channel controller). These new targets will help us represent the new memory complex we are using for axone. The axone memory hiearchy will look like this: MI--MCC / \ Proc--MC < __ OMI--OCMB--MEMPORT--DIMM \ / OMIC **Note that OCMB/MEMPORT have not been implemented in hostboot yet Change-Id: I3df4eb3e279f825f0bdee86448ea23cb975e5511 RTC:172969 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63744 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: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* HWPs for istep12Sakethan R Kotta2017-09-211-1/+3
| | | | | | | | | | | | | Change-Id: Ic51e6e69b5f900d4062ca8d4b5034ffab7e0d395 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45486 Tested-by: Jenkins Server <pfd-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> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Thomas R. Sand <trsand@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* fapi2 targets: added support for cumulus and centaurPrachi Gupta2017-08-151-0/+28
| | | | | | | | | | | | | Change-Id: I2cc4f1c0e484b5365fa4c32cd66258ac825d4344 RTC:176071 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44377 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: SWATHI M. BHATTIPROLU <bhmadhur@in.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Allow OBUS to have childrenDan Crowell2017-06-211-4/+0
| | | | | | | | | | | Change-Id: I39f0cce47ba323751786dd254103ae2a66f92c5f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42137 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: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix fapi getChildren for DIMMsDan Crowell2017-06-191-168/+169
| | | | | | | | | | | | | | Found a swapped template parameter that made a check bad Cleaned up some variable names to prevent similar errors Change-Id: Ie86184a8d8842bfd42c9d022d05ed874f5c0ceda Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41838 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: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Return only present DIMM children to fapiDan Crowell2017-06-071-0/+13
| | | | | | | | | | | | | | Switching from possible to present for fapi2::getChildren when asked about DIMMs Change-Id: If5febce96b546ad1553dad0f5feb37ca07c4da97 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41274 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> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: JACOB L. HARVEY <jlharvey@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Changing NV target to OBUS_BRICK and mark it a child of OBUSPrachi Gupta2017-05-231-15/+17
| | | | | | | | | | | | Change-Id: I17b52033d1e6811c320f201056708f31ef34d0e9 RTC:171597 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38481 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: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add support for getTarget<T>(type, instance)Richard J. Knight2016-09-141-2/+63
| | | | | | | | | | | | | | -Add function to convert an arbitrary target type and instance into a fapi2 target type. Change-Id: I41a70a881160bebeeac97ff4e8b74c002d6224d8 Depends-on: I1de1da708146427ada3f9cc4e1977dd608172cf4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28107 Tested-by: Jenkins Server <pfd-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> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Plat support for getTarget(ordinal)Lateef Quraishi2016-09-021-4/+48
| | | | | | | | | | Change-Id: I996c7f0e02c38f9657b4cd3c37bf15d4300abd31 RTC: 157141 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28318 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Host infrastructure for FAPI ATTR dumpDean Sanner2016-08-311-0/+96
| | | | | | | | | | | Change-Id: I4714564ccdf365916c2fd7ed52d00d3509af2d3d RTC:127348 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25929 Tested-by: Jenkins Server <pfd-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: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Enable p9_build_smp hardware procedure call in call_proc_build_smpMatt Derksen2016-08-221-0/+1
| | | | | | | | | | | Change-Id: Icb710fce7f82f6f079982d975132543e72d5f7d8 RTC:158758 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28239 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: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Ensure fapi2::Target honors platform value type.Patrick Williams2016-08-041-11/+13
| | | | | | | | | | | | | | | | | | | | | | | The fapi2::Target template is as follows: template<TargetType K, typename V = plat_target_handle_t> In many places the code was using the default V type instead of preserving the type of the template. As an example: Target<T> getParent(void) const; // old vs Target<T,V> getParent(void) const; // new With the old variant, a Target<ANY, V> is converted to a Target<ANY, plat_target_handle_t> by the getParent() function instead of maintaining the V type. Added associated ecmd release ver-14-4-2-ekbonly for testing Change-Id: Ie613d658c59f5f6d3ce7be95f3b1e816b52582e0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27036 Tested-by: Jenkins Server <pfd-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>
* Add getChipletNumber to Target ClassLateef Quraishi2016-07-301-0/+20
| | | | | | | | | | | | | | | | | | | | | | | Chiplet Ids are as follows: - EQ 0-5 Ids: 0x10 - 0x15 - EX 0-11 Ids: 0x10, 0x10, 0x11, 0x11, --- (parent's id) - Cores 0-23 Ids: 0x20 - 0x37 - Pervasive Id: 0x01 - Xbus Id: 0x06 - Mcbist 0-1 Ids: 0x07 - 0x08 - Mcs 0-3 Ids: 0x07, 0x07, 0x08, 0x08 (parent's id) - Mca 0-3 Ids: 0x07, 0x07, 0x07, 0x07 (parent's id) - Mca 4-7 Ids: 0x08, 0x08, 0x08, 0x08 (parent's id) - Obus0 Id: 0x09 - Obus3 Id: 0x0C Change-Id: I89be032654c191b8930fac07a1b64061e381fe14 RTC: 156120 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27339 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Implement < operator to fapi2::target's platform implementationcrgeddes2016-06-151-4/+19
| | | | | | | | | | | | | This is needed for doing lookup operations on a vector of fapi2 targets. Change-Id: I941b0f1e95507f506f9735739c95685afa371083 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25682 Tested-by: Jenkins Server Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add support for fapi2::getChildren with additional const TargetFilterMike Baiocchi2016-06-091-0/+74
| | | | | | | | | | | | | | | In addition to adding support for fapi2::getChildren with additional const TargetFilter input parameter, this commit also adds a test_fapi2GetChildrenFilter to the automatic simics testcases. Change-Id: I82e34c001ebb0af8eacb3c8f244391504ed424ae RTC:149115 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24813 Tested-by: Jenkins Server Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* add platform support for fapi2::Target<K>.isFunctional()Andres Lugo-Reyes2016-06-061-1/+13
| | | | | | | | | | | | Change-Id: I265f34327c5bd593ee1d6f13f6cd19d191db66fd RTC:154321 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24991 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Remove references to deprecated Target::getOtherEnd() methodMike Baiocchi2016-05-251-22/+0
| | | | | | | | | Change-Id: I06da5293307b7a6604a817ff96af4778698fbbe0 RTC: 154453 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24928 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Updated supported types for fapi2 targeting getOtherEndMike Baiocchi2016-05-161-18/+16
| | | | | | | | | | | | | Updated fapi2 targetting getOtherEnd() template by limiting the support to just targets of type XBUS, ABUS, and OBUS. Change-Id: I022079205161888ad7f16a8cfff6b2efe635af8a RTC:148934 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23687 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add getOtherEnd to fapi2::Targetcrgeddes2016-04-051-8/+141
| | | | | | | | | | | | RTC:129517 Change-Id: I7270b194b609daf8e547313cf73a640e4adc48aa Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21873 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Added fapi2::toString supportMatt Derksen2016-03-301-6/+35
| | | | | | | | | | | | | Added new FAPI_NAME attribute. Change-Id: Ib467aa5ac203e9900f3cb6d65f13d7988c363348 RTC: 144504 Depends-on: I9faa3bea86d1b43bca0a7eaca3869b45cc0b0d54 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/20747 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Support getChildren and getParent FAPI2 testsNick Bofferding2016-03-231-8/+42
| | | | | | | | | | | | | | | | - 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>
* Add Specialized Constructor for SYSTEM fapi2::Targetscrgeddes2016-03-171-0/+28
| | | | | | | | | | | | | | | | | | | | | | HWP writers are defining SYSTEM fapi2::Targets like this: const fapi2::Target<fapi2::TARGET_TYPE_SYSTEM> FAPI_SYSTEM; Which requires us to implement a specialized constructor to handle getting the top level system target when this type of constructor is used To do this we had to delagate the default constructor in fapi2_target.H to point at the constructor that takes in the plat_target_hndl, also a specialized template was added to target.H. In the future this specialized template might move to plat_target.H but this is not yet ready. Change-Id: I10ea0c4fe05487311c29d5996f1f8baa775fa858 Depends-on: Ia7743dc8d3a83b4be361626b1dea57f39e4dd483 Depends-on: Ib0db5ac2b9b5d5f5c2967ff97794493d867fb04b Depends-on: I863eb985f74f347a4e46a9c19449c57c70d6adce RTC:133832 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22062 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Replace "NVBUS" with "NV" everywhere that we cancrgeddes2016-03-151-1/+1
| | | | | | | | | | | Change-Id: Ice2e298b5a7679976fbcb677c469d4d5fc27cb40 RTC: 147555 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21870 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* FAPI2 GetParent Interfacecrgeddes2016-03-151-16/+265
| | | | | | | | | | | | | | | 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>
* Update getChildren fapi2::Targetcrgeddes2016-03-071-28/+169
| | | | | | | | | | | | | Added the missing targets types to getChildren function. RTC:129517 Change-Id: I1ce0ef4d25beee3dea3653f359461304032597b7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21360 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Basic Hostboot platform support for FAPI2crgeddes2016-02-261-0/+336
Allows clean compile and link of FAPI2 procedures and a subset of the platform functional support RTC:123290 Change-Id: I9faa3bea86d1b43bca0a7eaca3869b45cc0b0d54 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23046 Tested-by: Jenkins Server Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com>
OpenPOWER on IntegriCloud