summaryrefslogtreecommitdiffstats
path: root/src/usr/fapi2/attribute_service.C
Commit message (Collapse)AuthorAgeFilesLines
...
* Final Support for VDM data from #W keyword of VPD in HostbootMarty Gloff2017-03-011-4/+2
| | | | | | | | | | | | | | | Finalize MVPD additions and updates to add support for #W keyword. Change-Id: Ic377beaf40bffdf525b7358ab1d37d01a377f65e RTC:162011 Depends-on: Ib5548f6128c677c9258edcde153334be217225ee Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37022 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Initial Support for VDM data from #W keyword of VPD in HostbootMarty Gloff2017-02-221-2/+33
| | | | | | | | | | | | | | Make MVPD additions and updates to add support for #W keyword. Change-Id: Id124bc5bdb5c6336b042ff7f41250626643a608e RTC:162011 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36637 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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add reminder to handle ATTR_POS for multi-drawer systemsDan Crowell2016-09-271-1/+4
| | | | | | | | | Change-Id: I54327190bfc860d8dc7ceee28aca6b3456fe0487 RTC: 161057 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30314 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>
* Update attribute xml to match with fapi2crgeddes2016-08-231-2/+2
| | | | | | | | | | | | | | There were a lot of attributes whose type did not match what was in the EKB. This commit fixes a lot of those issues RTC: 158587 Change-Id: Ie74f84c7874d7285a9091c8c975027399ef89ddf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28634 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: Matt Derksen <v2cibmd@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Make ATTR take generic target typesDean Sanner2016-08-031-18/+14
| | | | | | | | | | | Change-Id: I5c996feaae8180d2093ef400d23b7548836aadae RTC:127348 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27416 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Generate error log when FAPI get or set attribute failsAndrew Geissler2016-06-301-0/+42
| | | | | | | | | | | Change-Id: I77b193010c6038cfab9a2dfd98f3a39a8270506f RTC: 154397 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24863 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add additional information to traces when attributes are not foundMike Baiocchi2016-06-301-2/+6
| | | | | | | | | | | | | | This commit traces the target and attribute id information when there is a fail to look up an attribute related to a FAPI2 attribute. Change-Id: I4f2e76985f9e55e86395c026f4b6ac9d05b4caa3 RTC:134079 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26301 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Update ATTR_POSITION_GETMACRO to lookup FAPI_POS instead of POSTIONcrgeddes2016-06-061-1/+2
| | | | | | | | | | | | | | | | | | POSITION is not a reliable way for systems outside Hostboot to track targets. We will temporarily put this change in to fix an issue we were having where we were looking up DIMMS based on this attribute A better solution is to add a MCA_PORT attribute on the DIMM targets that is defined by the platform. Change-Id: Ifbb64a9f326de3d08aef488e7a4b0899024a8cbc RTC: 154950 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25012 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Clean up MVPD plat supportcrgeddes2016-06-021-1/+1
| | | | | | | | | | | | | | 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>
* Re-enable building of poundv HWP in hostbootcrgeddes2016-05-181-32/+32
| | | | | | | | | | | | | | | | | 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>
* Temporarily disable building of poundv HWP in hostbootcrgeddes2016-05-121-29/+29
| | | | | | | | | | | | | | | | 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-051-1/+37
| | | | | | | | | | | | | | | | 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>
* 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>
* 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 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>
* Basic Hostboot platform support for FAPI2crgeddes2016-02-261-0/+386
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