summaryrefslogtreecommitdiffstats
path: root/src/usr/fapi2/test/fapi2Test.mk
Commit message (Collapse)AuthorAgeFilesLines
* Enable fapi2MmioAccessTest for axoneMatt Derksen2019-06-241-0/+2
| | | | | | | | | | | | | | | | | | Use IB_RSP_ADDR memory spot to run some valid mmio operations. Also make sure a user's invalid input does not switch the scom switch to i2c operations. Change-Id: I68da42b2fc817f7bf4b99bb9c53cdf862136c7aa RTC:201738 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79195 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: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Re-enable OCMB VPD fapi2 testsChristian Geddes2019-04-151-5/+1
| | | | | | | | | | | | | | | | | We changed what SPD we were use for standalone Axone simics so we can turn these tests back on. Change-Id: I538ecf5fbd651622fc8fcf709bc270a16d9096ad RTC: 207707 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75844 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Matthew Raybuck <matthew.raybuck@ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Added unit test for HWP call ddimm_get_efdRoland Veloz2019-04-101-0/+1
| | | | | | | | | | | | | - Wrote a unit test for the HWP call ddimm_get_efd - Does negative and positive testing of the HWP call Change-Id: I9bbcbc2620a5fd5498244674d8e13ca3628fb371 RTC: 205964 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72940 Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Disable OCMB getVPD tests until we get better SPDChristian Geddes2019-03-281-1/+6
| | | | | | | | | | | | | Right now we have invalid VPD being written to the OCMB eeproms. In an effort to get Axone CI running we will disable these tests for now. Change-Id: I933ff44d3c3efd994ed72be36ec1b9504b85ec8d Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75165 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Unit test and integration test for platGetVPD(OCMB) callRoland Veloz2019-03-261-1/+3
| | | | | | | | | | | | | | | | | This file does negative and positive tests on the call to platGetVPD(OCMB). This also does integration test with platGetVPD(OCMB) and call to HWP call ddimm_get_efd. Change-Id: Ie15b53a8d43a75c97278828392a31162ecff7be6 RTC: 205964 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72604 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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Support fapi2 MMIO functionsMatt Derksen2018-11-091-0/+2
| | | | | | | | | | | | | | | | | | There will be a new set of interfaces in fapi2 to perform mmio (aka inband) operations directly. This is needed for OCMB access in the memory HWPs, specifically as part of the command/response protocol. Change-Id: If473e8e53fa6f76a05ad897e150b58075c769902 RTC:191344 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66045 Reviewed-by: Richard Ward <rward15@us.ibm.com> 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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix compile errorMatt Derksen2018-10-061-1/+1
| | | | | | | | | | | | Fix relative path error and remove invalid paranthesis in cxx makefile Change-Id: I9ac7b0b52f5b145a76361ed4009ca0d00f2ee116 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67083 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Cxxtest for fapi_i2c supportMatt Derksen2018-10-031-1/+21
| | | | | | | | | | | | | | | Test framework for fapi_i2c testing Change-Id: I2f901ad393d03ce498e7b1c30ce1c4ef25bee037 RTC:197029 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65952 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update fapi2 tests cases with Axone targetsChristian Geddes2018-09-181-2/+3
| | | | | | | | | | | | | | | | | This commit will add new fapi2 tests case to make sure that the new MCC, OMI, and OMIC target types work correctly. Also in this commit I realized how much of a pain adding new targets can be for these tests so I added some macros to reduce the amount of changes required for some of the tests when new targets get added Change-Id: I5879c23dcd756686e369b1f81e58d56b73b1607f Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65204 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: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Integration of hardware vpd accessor functions into Hostboot.Donald Washburn2017-11-011-0/+3
| | | | | | | | | | | | | | | | | *Created macros and platform functions to invoke vpd accessor functions for reading attributes from Hostboot. *Create a unit test for calling each attribute accessor macro. RTC: 178950 Change-Id: Ia74406eabcdff238f6bbc4bd8dc43715ebfcd643 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48185 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Centaur ring support - ring_apply and ring dataSumit Kumar2017-11-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Introduces Centaur ring ID header files and ring_apply support to generate a separate Centaur ring image file. - Introduces common ring ID header file consumed by both P9 and Centaur and all user codes, e.g. putRing, ipl_build, xip_tool, etc. - Introduces a namespace approach for complete separation of P9 and Centaur ring data and to facilitate execution time selection of either P9 and Centaur ring data. - Added Centaur image .rings generation function to p9_ring_apply. - This commit does NOT support Centaur in the TOR API nor in xip_tool. See commit 38018 for that support. - Modified hw_image.mk file to support Centaur XIP image generation. - Updated ring_apply to also support .overrides ring gen for Centaur. Change-Id: I12a27b194dc14d906fea7bc273eb9f766f0fc5bf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35639 Tested-by: HWSV CI <hwsv-ci+hostboot@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: Sumit Kumar <sumit_kumar@in.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36011 Reviewed-by: Hostboot Team <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>
* Enable fapi2 runtime test casesChristian Geddes2017-10-131-2/+1
| | | | | | | | | | Change-Id: I0cad695f717d686a514ee6d9ac0ca45a4441461b RTC: 179069 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46702 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Verify buffer support for error log.Donald Washburn2017-06-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Added Unit Tests to verify that a caller buffer is propageted to the error log through an FAPI_INVOKE_HWP call. The Unit Tests use both a fapi2::buffer<uin64_t> and a fapi2::variable_buffer types. Presently, support for using fapi2::variable_buffer is disabled in the code base. The unit tests for the variable_buffer is also disabled. To enable fapi2::variable buffer support the parseErrorInfo.pl script must be invoked with the --use_variable_buffers option. This can be done by adding the --use_variable_buffers option to the parseErrorInfo_RUN macro located in import/hwpf/fapi2/tools/parseErrorInfo.mk. RTC: 161195 Change-Id: I0e372dc72e749f635517eb1752e3ca1ec4d2195b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41310 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-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: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* gerrit35857> Fix for missing symbolMarty Gloff2017-02-281-1/+2
| | | | | | | | | | | | | | | | | 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>
* Test fapi2 returncode supportMatt Derksen2016-11-041-0/+1
| | | | | | | | | | | | Change-Id: I4abe424e5a5d8b73e19e3cec9cf162b426a6e7b4 RTC:143127 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31477 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update parseErrorInfo.pl to support collectFfdc tags for SBERichard J. Knight2016-08-121-0/+1
| | | | | | | | | | | | | | | | | | | | | -Modified script to enable passing back from the SBE parameters for the collectFfdc fuction -Added sample code for collectFfdc tags to proc_example_errors.xml -Added sample collectFfdc function p9_collect_some_ffdc -Fixed compile issue in fapi2_variable_buffer_test which was a result of changes to the hwp_ffdc_classes generated by the script. Change-Id: I6abbbc05ed38e368eb0ff586a22cc5aba824bad4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27048 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: Deepak Kodihalli <dkodihal@in.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27459 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Changes related to packaging of memory vpd on Nimbus - part 2whs2016-06-301-0/+2
| | | | | | | | | | | | | | | | 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>
* Move p9_ringId.H from chips/p9/utils to chips/p9/utils/imageProcsPrachi Gupta2016-06-021-0/+1
| | | | | | | | | | | | 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>
* Build FAPI2 into HBRT imageCorey Swenson2016-05-251-0/+47
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>
OpenPOWER on IntegriCloud