summaryrefslogtreecommitdiffstats
path: root/src/usr/fapi2/test/fapi2MvpdTestCxx.H
Commit message (Collapse)AuthorAgeFilesLines
* Force Axone simics to read all VPD from HW with config flagsChristian Geddes2019-05-141-2/+4
| | | | | | | | | | | | | | | | | | This commit will set the config flags to always read from HW rather than the old VPD cache in PNOR. Until this point in Axone we were still using an old copy of MVPD that we write into PNOR during the startup simics scripts. From this commit onward we will use the actual VPD simics provides. To handle this, some updates we needed to the PG rules for Axone. Change-Id: Ie06cefe1aec37edfc4c379ee1173bc51fc6bbe1f Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/76519 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Method to execute testcases early in the bootDan Crowell2019-02-281-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | A new CONFIG variable has been created that will trigger the istep dispatcher to start the CXX unit test execution at some point during the boot rather than waiting until the end. This is useful for quick targeted testing and also for early bringup of new platforms. CONFIG_EARLY_TESTCASES is the new flag, and it uses ATTR_EARLY_TESTCASES_ISTEP to determine where in the boot to stop. Changes were required in several testcases to either skip the test completely (typically due to not having enough memory) or to add additional logic to load new support libraries on demand. The Axone platform has this flag enabled by default to execute testcases at the end of istep 6.9 (host_gard). Change-Id: I1da9479e2147d68102f44d60e064c3b79cc41bb6 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71693 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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Clean up things that were left after updating to simics nimbus 2.0Christian Geddes2017-11-011-57/+32
| | | | | | | | | | | | | | | | A few workarounds were put in place to get simics moved up to the 2.0 nimbus model. One was that we put in a hack into a mvpd test case, the other was disabling the occ_xstop handler from starting. I found that after putting in good mvpd the occ_xstop handler was booting up okay. An the mvpd test case is fixed to correctly find the bucketValue from the value returned from the POUNDV_DATA attr Change-Id: I0eb023c386066c92e475c3302b2f18d984439d3b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49071 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: Christian R. Geddes <crgeddes@us.ibm.com>
* Remove support for P9N (Nimbus) DD1.0Dean Sanner2017-11-011-13/+13
| | | | | | | | | | | | | | - Will error out during IPL - Gracefully handle removal of DD1.0 inits, tied to hw091517b.910 HCODE image Change-Id: I7b4c53b38863a8251a8c02d7df83a3ff713f52d7 CMVC-Prereq: 1034628 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46356 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: Christian R. Geddes <crgeddes@us.ibm.com>
* Final Support for VDM data from #W keyword of VPD in HostbootMarty Gloff2017-03-011-6/+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>
* gerrit35857> Fix for missing symbolMarty Gloff2017-02-281-1/+0
| | | | | | | | | | | | | | | | | Re-enable the #V tests in fapi2MvpdTestCxx.H and correct errors from running those tests. Place p9_pm_get_poundv_bucket.mk back in fapi2.mk. Change-Id: I9d4518727034caf80c23a5e8c8990e65c894051a RTC: 168957 Depends-on: I1b41fa0a175aaf9a2a6d43ce0fb7c938f203e9b4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36855 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@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: Prachi Gupta <pragupta@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-0/+102
| | | | | | | | | | | | | | 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>
* Fix for missing symbolKahn Evans2017-02-221-1/+2
| | | | | | | | | | | | | Change-Id: I1b41fa0a175aaf9a2a6d43ce0fb7c938f203e9b4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35843 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Brent Wieman <bwieman@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35857 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* Re-enable testMvpdGetPoundvBucket test after new mvpd is mergedAndres Lugo-Reyes2016-09-061-3/+1
| | | | | | | | | | | | | Change-Id: Idfc80784fd784bc72d956c7586d641f21f7e5619 RTC: 157185 Depends-on:I597bee1667b2f2259ad5decdf57ef846d2a9412b CMVC-Prereq:1003108 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27642 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@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>
* Clean up MVPD plat supportcrgeddes2016-06-021-285/+267
| | | | | | | | | | | | | | 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>
* Implement GET_POUNDV_BUCKET_DATA_MACRO and backing functioncrgeddes2016-05-051-0/+89
| | | | | | | | | | | | | | | | 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>
* FAPI2 Plat support for mvpd accessorsGeorge Keishing2016-05-021-0/+337
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>
OpenPOWER on IntegriCloud