summaryrefslogtreecommitdiffstats
path: root/src/usr/fapi2
Commit message (Collapse)AuthorAgeFilesLines
...
* Add PEER_TARGET attribute to proc1 and re-enable getOtherEnd testscrgeddes2016-05-241-18/+26
| | | | | | | | | | | | | The getOtherEnd test was causing issues and was producing false error messages about the relationships of the xbuses. This commit re-enables the test and fixes it. RTC: 151090 Change-Id: I4c514e55450b924aaae30f863dc4f38925c84179 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23008 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Re-enable building of poundv HWP in hostbootcrgeddes2016-05-183-34/+35
| | | | | | | | | | | | | | | | | To get a change to the HWP through the EKB we had to temporarily disable the building of the get_poundv_bucket, this commit re-enables the HWP and associated tests. Change-Id: If907aaab57eacb189abcc7ec435f7380999b8837 RTC:153882 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24612 Reviewed-by: Steven B. Janssen <janssens@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Define parent/child relationship between MCBISTs, MCAs, and MCSswhs2016-05-171-32/+29
| | | | | | | | | | | | | Update standalone NIMBUS and genHwsvMrwXml to insert MBIST as parent of MCS Change-Id: I45a417b74cf87421bd82df2ae2ba40be56a9adb8 RTC: 148761 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24332 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> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Temporarily disable building of poundv HWP in hostbootcrgeddes2016-05-123-31/+31
| | | | | | | | | | | | | | | | In order to get an ekb commit through we need to deactivate this HWP from build in HB until the pending EKB changes have been mirrored and merged into HB. There should be a follow up commit with the same RTC following shortly after this commit Change-Id: I845b1e7c320f0cd7dca31c157ff82d3b55212803 RTC:153882 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24472 Reviewed-by: Steven B. Janssen <janssens@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Matt K. Light <mklight@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Implement GET_POUNDV_BUCKET_DATA_MACRO and backing functioncrgeddes2016-05-054-4/+135
| | | | | | | | | | | | | | | | The fapi2 PM attribute poundv_bucket_data is backed in HB by a function that calls FAPI2 code that reads MVPD data off of pnor in order to find the proper #V bucket data. This commit sets up that macro and function as well as adds some testing to make sure it is working properly Change-Id: Ie506230c1270bdff43c3d8a8ec95ebb75010cf53 RTC:127421 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23901 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Update Standalone MVPD to indicate only cores 0-3 are goodBill Hoffa2016-05-042-1/+4
| | | | | | | | | | | Change-Id: I33aa2fedee670a99f698ed969894f1707a2f9759 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24039 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* FAPI2 Plat support for mvpd accessorsGeorge Keishing2016-05-025-1/+747
| | | | | | | | | | Change-Id: I808ee063ef3e76738e24efb13b4244c542f184e9 RTC: 140330 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/796 Tested-by: Jenkins Server Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Mark fapi2::modifyRing() for future story.Matt Derksen2016-04-272-1/+7
| | | | | | | | | | | Change-Id: Ie5fc859c6b59778af572bbb4aab55c965edb4e76 RTC:126630 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23703 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins 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>
* FAPI2 Plat support for spd accessorsGeorge Keishing2016-04-274-0/+261
| | | | | | | | | Change-Id: Ib490662418cd91b6a545462f2aa6566f5fd9c4ae RTC:140332 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/688 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* P9 changes for PR core restrictionMarty Gloff2016-04-272-4/+15
| | | | | | | | | | | | | | | | | | | Covers the work required to support the P9 module vpd and new EQ/EX/EC core structure in relation to the processing of the PR keyword to restrict the number of cores. Add new traces or enhance old traces with additional data to improve debug. Update the module vpd binary for our standalone model. Change-Id: I20018ccf1daa429e5b0ad9e38f50b1bc5943bcb5 RTC:145459 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/705 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> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Added platform implementations of fapi2 ring access functions.Matt Derksen2016-04-214-21/+387
| | | | | | | | | | | | fapi2::getRing(), fapi2::modifyRing() and fapi2::putRing(). Change-Id: I50fee8d2b04496e7ae7f0966dabdc53b5524a454 RTC:126630 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23207 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Bug fix for CFAM mbox address offset calculationsAndrew Geissler2016-04-211-3/+12
| | | | | | | | | | | Change-Id: Ie0e19de6be7676fd27ad628da8b83ecd9c93d98c CQ:SW349480 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23280 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Fix format of fapi2 test casescrgeddes2016-04-2110-353/+469
| | | | | | | | | | | | | | | Refactoring some tests now so it follows what the other cases are doing. Note: I am pulling in some code from an abandoned commit in for toString test so it looks like new code is being added but really things are just moving around Change-Id: I7706c304f3ef3369e56516ac81f88dc91d059bf2 RTC:150514 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22692 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update fapi2.mk and test/makefileRichard J. Knight2016-04-212-1/+3
| | | | | | | | | | | | | | | -Add missing comma in stanza which constructs the path to the scom files in fapi2.mk -Add path to test/makefile to include scom header files Change-Id: Ib13f3e3ce5fe90a966b81f023110dce3d346aa6c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22991 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Test basic FAPI TRY and ASSERTBrian Stegmiller2016-04-212-0/+194
| | | | | | | | | | | Change-Id: Ie84e10b61d6575adc341cc33c15c9ea608587211 RTC: 143123 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/756 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> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Change return type for platGetFusedCoreModeDan Crowell2016-04-211-2/+1
| | | | | | | | | | | | | | A change to the size of ReturnCode::iv_rc exposed a type mismatch in ATTR_FUSED_CORE_MODE_GETMACRO that was previously hidden due to favorable cast operators. Change-Id: Ie34bf0e163039c0adf461b2fa4d83f5e3e328d8f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22808 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins 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>
* Fix targeting binary creation bugDan Crowell2016-04-061-4/+6
| | | | | | | | | | | | | | | Missed the associated change in the targeting binary creation that was required with the addition of 2 new association entries. Disable fapiGetOtherEnd testcases temporarily Change-Id: Iddaa20a90140a61333bc40801b6d87b38bff0450 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22969 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> 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>
* Add getOtherEnd to fapi2::Targetcrgeddes2016-04-052-8/+225
| | | | | | | | | | | | 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>
* Story 128106: FAPI2 - Support attributes that use attribute overridePrasad Bg Ranganath2016-04-041-3/+47
| | | | | | | | | Change-Id: I9478afefc232af2ac9c9044dd5945cff127b0ab4 RTC: 128106 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/808 Tested-by: Jenkins Server Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Method to support initial temporary defaults for attributesMarty Gloff2016-03-301-0/+8
| | | | | | | | | | | | | | | Supply temporary HB defaults and attribute definitions. Create temporary HB attribute definitions from new FAPI ones. Add attributes to a target based on FAPI targetType. Change-Id: I41d5fe0ef1d51d25975ec18a50bd125837f77995 RTC:131375 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/1016 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Additional fapi2 hw_access supportDan Crowell2016-03-296-2/+995
| | | | | | | | | | | | | Moved function implementations into .C file Cleaned up cfam target check Change-Id: Ib25e6cdb336688eb23e2cfef7f3756781839753f RTC: 143118 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/867 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-233-40/+359
| | | | | | | | | | | | | | | | - 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>
* Support association between pervasive targets and other unit targetsNick Bofferding2016-03-232-9/+10
| | | | | | | | | | | | | | | | | | | | | | - Updated attribute compiler to link targets based on pervasive association - Updated attribute compiler to support virtual attributes - Added virtual attribute describing a unit's pervasive association - Updated Nimbus system XML with pervasive/unit associations - Fixed various errors compiling with debug trace enabled - Updated FSP attribute generator to create perv/unit links - Fixed FSP bad path character in attribute generator - Fixed PHB chip unit numbering in attribute generator - Replaced some NVBUS references with NV RTC: 148577 CMVC-Prereq: 988338 Change-Id: I6f3c4aa806e465dd9f09859c4911ff70db782a4f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21943 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins 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>
* Force isFusedMode function to return RCcrgeddes2016-03-171-3/+3
| | | | | | | | | | | | | In order to make the macro work the attr must return and RC in this case the RC will always be success Change-Id: I822e19063a6d4e1f5d1c9f2a8d987507fe2a74ea Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22193 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add Specialized Constructor for SYSTEM fapi2::Targetscrgeddes2016-03-172-0/+44
| | | | | | | | | | | | | | | | | | | | | | 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>
* Add function for ATTR_FUSED_MODEcrgeddes2016-03-171-0/+11
| | | | | | | | | | | | | | | This commit fixes an issue where a HWP was using the attr FUSED_MODE while we did not have it set up yet. This commit covers adding the GET_MACRO to attribute_service.H and creating the function for that macro. Change-Id: Id9038e223ba0179ecc6e78b845032b6ac998d9c9 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22112 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> 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>
* Fix bad NV names after criss-crossed mergesDan Crowell2016-03-151-5/+5
| | | | | | | | | | | A couple of commits merged cleanly independently but now fail to compile Change-Id: I594c3f098abf049fddd89fc2ecdfd5753df77deb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22054 Tested-by: Jenkins Server Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Replace "NVBUS" with "NV" everywhere that we cancrgeddes2016-03-154-10/+10
| | | | | | | | | | | 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-153-0/+967
| | | | | | | | | | | | | | | 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-073-2/+311
| | | | | | | | | | | | | 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>
* FAPI2 Comments/Clean upcrgeddes2016-03-042-3/+11
| | | | | | | | | | | | | | This commit is just adding/cleaning up some comments in the fapi2 code. Change-Id: Ibd095d2d27bce1836543ee2370328da640e71aa0 RTC:147822 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21682 Tested-by: Jenkins Server Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add missing parameter to fapi2::delayDan Crowell2016-03-031-1/+13
| | | | | | | | | Change-Id: Ic334664b4dd260d2dd5ac616ad4b3616f2733ca4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21538 Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Need an option to allow a HWP to return an error log to platform code.Richard J. Knight2016-02-261-15/+30
| | | | | | | | | | | -Modify FFDC code to capture error log pointer in RC plat pointer Change-Id: I02266468795ea345610f237b50b14d79cbaef202 RTC:132220 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23663 Tested-by: Jenkins Server Reviewed-by: Christian Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Basic Hostboot platform support for FAPI2crgeddes2016-02-2615-0/+3754
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