summaryrefslogtreecommitdiffstats
path: root/src/usr/fapi2
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactor plat_getScom and plat_putScom to use opMode paramcrgeddes2016-07-254-15/+129
| | | | | | | | | | | | | | | | Previously opMode had not been implemented to so we were not using it while making scom calls through the fapi2 hw access interface. Now that opMode is available the param is being added to the plat call. RTC:144505 Change-Id: If9ac3914082620309c73fb29e3a6074abc2cb89b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26299 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update proc mvpd with version #v bucket datacrgeddes2016-07-251-1/+3
| | | | | | | | | | | | | | This change bring in a new MVPD from the engd team and tags our header on the front of it so we can find the sections. Also we updated the PG and PR keywords from Hostboot's previous mvpd Change-Id: I9629eb29ac9edb4cbf9e2a0ce2a43e49a267a69c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26496 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* variable_buffer: Support get<OT>() / put<OT>() for incomplete buffer tailsJoachim Fenkes2016-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | Support getting and putting the last incomplete OT in a buffer that's not an integer multiple of the OT's size. Values will be treated left-aligned. Also add an assertion to get<OT>() to make sure we don't read beyond the end of the buffer. Change-Id: I527d21209c1694598526bfc815bfd7de38d0fb10 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26048 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26054 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Attribute override support in hostbootAndrew Geissler2016-07-182-0/+88
| | | | | | | | | | | | | | | This provides full attribute override support in Hostboot and also adds in a required attribute for the reconfig loop testing. Change-Id: I06a8213bc3b56d20b0817477a84014d89250ec25 RTC: 157097 CMVC-coreq: 999873 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26923 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@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>
* Changes related to packaging of memory vpd on Nimbus - part 2whs2016-06-306-0/+1038
| | | | | | | | | | | | | | | | Add the "upper" half of the NIMBUS direct memory support. Add ATTR_MEMVPD_FREQS_MHZ and ATTR_MEMVPD_POS attributes. Implement plat_vpd_access to call p9_getmem_vpd_keyword which decodes which vpd keyword to read for MR and MT. Update dvpd DD with record and keyword list. Update dvpd.dat simics vpd file to include MR and MT that map to J0 and X0. Change-Id: Ife00aa4266a7c16dcff2f0f72837f4d547988b82 RTC: 144519 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23245 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>
* 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 getOpMode and setOpMode functions to fapi2 namespacecrgeddes2016-06-304-0/+79
| | | | | | | | | | | | | | | | This commit adds functions to get and set the opMode for the current thread. Opmode is to have specific reaction to events triggered by different operations such as scoms or attribute reads. These reactions include things like ignoring all errors, or specific ones. RTC:144505 Change-Id: Ieb5e6b9e1cce9ae548c6ac20314751e9b1ebcd05 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26011 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add in NV and remove PCI,PORE unit referencesAndrew Geissler2016-06-302-2/+2
| | | | | | | | | | | | | Note this also handles RTC 116091 (PCI targets data driven) Change-Id: I92508623be7a56694d22a9aad250a2af94c9e60f RTC: 149326 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26042 Reviewed-by: Christian R. Geddes <crgeddes@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: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@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>
* Test case for FAPI2 EC Chip attributesAndrew Geissler2016-06-232-0/+125
| | | | | | | | | | | | Change-Id: I2a76bcd51ec74d25114b542a20fd7c23688c0ada RTC: 154852 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25812 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Jay M. Azurin <jmazurin@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Add support for fapi2::getChildren with additional const TargetFilterMike Baiocchi2016-06-091-1/+153
| | | | | | | | | | | | | | | 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>
* 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>
* add platform support for fapi2::Target<K>.isFunctional()Andres Lugo-Reyes2016-06-061-0/+197
| | | | | | | | | | | | 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>
* FAPI2: FFDC Error XML Hostboot IntegrationPrasad Bg Ranganath2016-06-024-1/+1964
| | | | | | | | | | Change-Id: If5c82101d973ad8fb383252d93af3aa0bd97aea7 RTC: 124673 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22194 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>
* Clean up MVPD plat supportcrgeddes2016-06-023-315/+355
| | | | | | | | | | | | | | 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>
* Move p9_ringId.H from chips/p9/utils to chips/p9/utils/imageProcsPrachi Gupta2016-06-022-0/+2
| | | | | | | | | | | | to sync with ekb and use the latest copy RTC:154163 Change-Id: I1a6ffccd8358f2e385802b5aeccf10a0e4d9c05d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25174 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>
* queryChipEcFeature no longer needs source file.Richard J. Knight2016-06-021-1/+0
| | | | | | | | | | | -Remove line in fapi2.mk which compiled fapi2_chip_ec_feature.o -Source file has been removed from ekb repo. Change-Id: I6b346fcc91b5068cffb99bb53a1e9902e56eda0a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23071 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Build FAPI2 into HBRT imageCorey Swenson2016-05-258-43/+155
| | | | | | | | | | Change-Id: I3567d4d534a26edd33810f6b3a5c033507ffc119 RTC:145237 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23441 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>
* Remove references to deprecated Target::getOtherEnd() methodMike Baiocchi2016-05-251-70/+1
| | | | | | | | | 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>
* 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>
OpenPOWER on IntegriCloud