summaryrefslogtreecommitdiffstats
path: root/src/include/usr/fapi2
Commit message (Collapse)AuthorAgeFilesLines
...
* Add new plat_target_filter.H header fileMike Baiocchi2016-06-021-0/+95
| | | | | | | | | | | | | | The new plat_target_filter.H header file designates the values for the TargetFilter enum and works with parallel changes to the ekb target_types.H file. Change-Id: I050976f8a7b7b213c69d10313211c3e9fffdfeee RTC:149115 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25305 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>
* Clean up MVPD plat supportcrgeddes2016-06-021-0/+2
| | | | | | | | | | | | | | Update fapi2 MVPD accessor tests to be more robust. Reworked error handling for accessor functions Change-Id: I54bcbedb81728b2c50b17e3c02018269669d5401 RTC:152953 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24204 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@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>
* Unable to add ffdc to RC after FAPI_ASSERTRichard J. Knight2016-05-241-11/+19
| | | | | | | | | | | -Modified call to FAPI_ASSERT_NOEXIT to commit the error created due to the conditional failure. Change-Id: I52be795f2ebe9f7db4e0bf4390c5d213fa05e6f7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24092 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>
* Implement GET_POUNDV_BUCKET_DATA_MACRO and backing functioncrgeddes2016-05-052-2/+26
| | | | | | | | | | | | | | | | 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>
* L1 Infrastructure for Istep13crgeddes2016-05-031-2/+1
| | | | | | | | | | | | | | This commit turns on as much of istep 13 as is available currently. All HWPs that are disabled are marked with and RTC. Change-Id: Ia9d0d415c0317e98e23e58a27821ee55be9f9347 RTC:151760 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23545 Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* istep9 HWP enablementMatt Derksen2016-05-021-2/+4
| | | | | | | | | | | Change-Id: Ie780ed10e29961092a19373c994ec24a8cea500a RTC:146576 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23517 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* FAPI2 Plat support for mvpd accessorsGeorge Keishing2016-05-021-0/+5
| | | | | | | | | | 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>
* FAPI2 Plat support for spd accessorsGeorge Keishing2016-04-271-0/+45
| | | | | | | | | 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>
* Added platform implementations of fapi2 ring access functions.Matt Derksen2016-04-211-15/+29
| | | | | | | | | | | | 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>
* Change return type for platGetFusedCoreModeDan Crowell2016-04-211-4/+4
| | | | | | | | | | | | | | 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>
* Add getOtherEnd to fapi2::Targetcrgeddes2016-04-052-8/+146
| | | | | | | | | | | | 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>
* Additional fapi2 hw_access supportDan Crowell2016-03-293-668/+35
| | | | | | | | | | | | | 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-232-8/+43
| | | | | | | | | | | | | | | | - 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>
* Force isFusedMode function to return RCcrgeddes2016-03-171-2/+4
| | | | | | | | | | | | | 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-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>
* Add function for ATTR_FUSED_MODEcrgeddes2016-03-171-0/+18
| | | | | | | | | | | | | | | 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>
* Replace "NVBUS" with "NV" everywhere that we cancrgeddes2016-03-152-2/+2
| | | | | | | | | | | 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-072-29/+171
| | | | | | | | | | | | | 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>
* Need an option to allow a HWP to return an error log to platform code.Richard J. Knight2016-02-262-39/+46
| | | | | | | | | | | -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-2617-0/+2722
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