summaryrefslogtreecommitdiffstats
path: root/src/usr/fapi2/plat_wof_access.C
Commit message (Collapse)AuthorAgeFilesLines
* Add WOF compare data section for RC_WOF_TABLE_NOT_FOUND errorsMatt Derksen2018-07-161-17/+85
| | | | | | | | | | | | | | | | | Only show data that was compared to find a matching WOF table. Show each non-matching table in the WOF compare section along with what we were trying to match Change-Id: Ia3b44fac54a212e3584536c376598de5dfcf9a8d CQ:SW426770 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61986 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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Handle new version of WOF tables that includes power modeMatt Derksen2018-03-221-16/+34
| | | | | | | | | | | | | | | | | | | | | | New version now requires a power mode (Nominal or Turbo) match. Still want to be backwards compatible, so check the version before requiring the power mode match. This new version was required as two tables had the same 3 "unique" criteria (core count, socket power, sort power target frequency). Power mode was added as a unique identitier between these two tables. Change-Id: I9b4a500185c703bc0017de93b42fa417d64dca12 RTC: 187340 CQ:SW419624 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54606 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: Brian E. Bakke <bbakke@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Allow fuzzy matches to WOF tables in SimicsDan Crowell2017-10-291-2/+37
| | | | | | | | | | | | | | | | In Simics we deliberately use fewer parts than the module would normally support for better performance. This downbin means that we no longer are using a supported sort when we look for the WOF tables. Since we don't really model the voltage/current of the cores there is no harm in using a different table. Change-Id: If5b6db6fee1aed6a176a4aca470b1c82c95ee586 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48972 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> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Use a VMM allocator for the giant WOFDATA lidDan Crowell2017-09-221-1/+145
| | | | | | | | | | | | | | | | | The WOFDATA lid is now 12MB which is too big for our default malloc logic that requires contiguous memory. Instead we will use a custom VMM block to page in new pages dynamically as needed. Change-Id: I50360812328d6811716955b7a22c396566044a87 CQ: SW402766 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46640 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@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> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Ignore Nest Freq for WOF table selectionDan Crowell2017-07-171-1/+0
| | | | | | | | | | | | | | | | | The nest frequency is already implicitly used since it drives selection of #V. Using it as part of the WOF Tables selection as well drives the requirement to have a lot more tables to support lab and test configs. Change-Id: I431f31cbf04ac64431b2acd33edf8779b1d75987 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43086 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Ignore ATTR_WOF_TABLE_LID_NUMBER on OpenPOWER boxesDan Crowell2017-06-291-3/+8
| | | | | | | | | | | | | | The lid number is only valid for FSP machines Change-Id: I00a76082c84aef026d4371cf0c7583f7335921f1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42565 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: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix for WOF number of present coresCorey Swenson2017-06-111-3/+7
| | | | | | | | | Change-Id: Id9da2ec8cd67ea110722d6f923b68807cf3c26cc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41280 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Use Turbo freq for WOF selection in Turbo modeDan Crowell2017-05-311-9/+14
| | | | | | | | | | | | | | Changing from using the nominal freq in all cases to use Turbo in Turbo power and Nominal in Nominal power mode. Change-Id: I213200a61461f397284758b699cfb1189ae6bca6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40938 Reviewed-by: Martin Gloff <mgloff@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> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Add support for selecting WOF tablesCorey Swenson2017-04-291-0/+426
Change-Id: I23cfd9b1156d44a0a3277a0c2696d034a741d0ba RTC:158589 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38724 Reviewed-by: Martin Gloff <mgloff@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> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
OpenPOWER on IntegriCloud