summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common
Commit message (Collapse)AuthorAgeFilesLines
...
* Adds DCD calibration control attributesStephen Glancy2017-05-222-0/+18
| | | | | | | | | | | | | | | | | Change-Id: I2c3783eba2e5638e20136494ad897b420737566e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40178 Dev-Ready: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: JACOB L. HARVEY <jlharvey@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40180 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
* Enable STOP5Dean Sanner2017-05-191-2/+2
| | | | | | | | | | | Change-Id: Id39c2eec015a5000782a3fb7f63f1235990c03a6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40757 Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@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: William G. Hoffa <wghoffa@us.ibm.com>
* set ATTR_FREQ_X_MHZ based on DD-levelPrachi Gupta2017-05-171-2/+6
| | | | | | | | | | | | Change-Id: I87e2a84aea9249196367f6c1cdb928f40c356a3d RTC:173852 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40519 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@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: Matthew A. Ploetz <maploetz@us.ibm.com>
* Use floating point math when calculating BOOT_FREQ_MULTPrachi Gupta2017-05-171-1/+2
| | | | | | | | | | | | Change-Id: I830d9b9ed05dcc661c93ab7d3df156995113b393 CQ:SW381082 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40427 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: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Make ATTR_FUSED_CORE_MODE non-volatileDan Crowell2017-05-161-1/+1
| | | | | | | | | | | | | | | | Once we figure out the boot mode we will save it away so that FSP code can have an accurate representation of the mode when we are at standby. In practice the value will never change on a given system after the first boot. Change-Id: If55b65266771bb70193384b833756db84fd20719 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40385 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Remove depricated interrupt BAR attributescrgeddes2017-05-156-280/+0
| | | | | | | | | | | | | | | We were supported attributes that are not getting used anywhere. To reduce confusion I am removing them Change-Id: I166c1295494707ae5c9c49fff922a11121bbc9f6 RTC:174000 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40277 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: Wade B. Ouren <wadeo@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add PHY sequencer refresh settings after draminitAndre Marin2017-05-122-0/+20
| | | | | | | | | | | | | | | | | Change-Id: I2fd7738f8909c3567c6cda8640bbe9d70b62bda3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39757 Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Matt K. Light <mklight@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/39761 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>
* adding IPMI_SENSOR to p9 occ targetPrachi Gupta2017-05-122-9/+28
| | | | | | | | | | | Change-Id: I7f86236f2ca4189c028ed30382db0045ee5c81e3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40426 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: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update the supported Stop states in attribute xmlnagurram-in2017-05-111-1/+1
| | | | | | | | | Change-Id: I4b331a7ffc2330074004ad4308bacfbad068b749 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40058 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>
* PRD: Create PRD_HWP_PLID attributeCaleb Palmer2017-05-092-0/+21
| | | | | | | | | | | | | Change-Id: Iddaeb0528f2bbc5b62a05f471255fda68a1d3a92 RTC: 172287 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39291 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@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: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Support gracefully adding signing headers to PNOR sectionsNick Bofferding2017-05-081-2/+2
| | | | | | | | | | | | | Change-Id: Ie8ce7672a41c0b6230918911f59ada5443c552f5 RTC: 170650 CMVC-Coreq: 1022416 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39869 Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@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>
* Process PBAX attributes from socket objectBill Hoffa2017-05-071-0/+17
| | | | | | | | | | | Change-Id: I72473dc8cead4c6b7478616b3a4e6b29f69acb26 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40147 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: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Reserving HTM QueuesThi Tran2017-05-062-0/+24
| | | | | | | | | | | | | | | | | | | RTC:172137 Change-Id: Ie1ed24198ea9c43ad9d8e6d44e6b3ba9ce364651 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38808 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: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Benjamin Gass <bgass@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Matt K. Light <mklight@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/38814 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: William G. Hoffa <wghoffa@us.ibm.com>
* p9_mss_setup_bars -- customize interleave granularityJoe McGill2017-05-052-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | create new attribute to encapsulate system-wide interleave granularity, ship default should be 128B (so that the stride between channels in a group is a single cacheline) other enums are supported for logic and performance verification update p9_mss_setup_bars HWP to apply granularity customization only for supported group sizes of 2, 4, and 8 Change-Id: Iadecb9164efbf6c9ce0658f75a0def03cc600f01 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39923 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: SHELTON LEUNG <sleung@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Matt K. Light <mklight@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/39958 Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* ProcessMRW changes for dynamic i2c devicesElizabeth Liner2017-05-044-5/+211
| | | | | | | | | | | | | | | | | | HDAT has a requirement from hostboot to provide I2C information from the connections in the mrw. This change pulls the changes out of the mrw and stores them under the master proc target. Each index in the arrays created is a separate connection. The information is then pulled out in i2c.C getDeviceInfo() Change-Id: I725278bc482131a65b8cfb565e08ff0a37f4cb30 RTC:165485 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39737 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* WOF: VRM timing, WOF and VDM enblement attributes additionsPrasad Bg Ranganath2017-05-032-8/+257
| | | | | | | | | | | | | | | Change-Id: I1ff55edf512f1a3ec4b6b1c1773726e31ae2e611 RTC:169800 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38207 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: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38310 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* move all non-volatile/openpower attributes from _hb to _openpower filesPrachi Gupta2017-05-014-982/+848
| | | | | | | | | | | | | | | | | | | When pushing hb's attr/target type files to common-mrw-xml repo, we add tags to represent which attributes are for openpower (bmc based system) and which are for fsp based systems. All attributes in _hb files are considered common for both platforms and do not have any tag. All attributes in _openpower will get openpower tag and be only shown to a system engineer if they are building a bmc based system. Therefore, the source of the attribute file is important from now on. Change-Id: I213348f4c4f372b0610b07ad3453f08f75d02224 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38161 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@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: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add support for selecting WOF tablesCorey Swenson2017-04-292-14/+56
| | | | | | | | | | | 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>
* Split ATTR_SECURITY_MODE into FSP/HB specific attributesNick Bofferding2017-04-284-19/+27
| | | | | | | | | | | | | Change-Id: Ib4eed5cb069b4cef02fefcc398e27a51d0b287f6 RTC: 170650 CMVC-Coreq: 1022371 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39552 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@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: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update 'is TPM Required' checking to include the use of a new sensorMike Baiocchi2017-04-281-1/+5
| | | | | | | | | | | | | | | | | | This commit adds the support to read the new "is TPM Required" sensor and updates the decision tree of whether or not the system requires a TPM to be present. Change-Id: I61871935d59272351ea1aa769641579efeee2f7e RTC:167580 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39592 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Timothy R. Block <block@us.ibm.com> Reviewed-by: Christopher J. Engel <cjengel@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Handle SMT4/SMT8 fuse bitsCorey Swenson2017-04-281-13/+44
| | | | | | | | | | | Change-Id: I8fc108877714ff76103510b7801af72a94e5aae3 RTC:160720 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39778 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: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add attribute for fused mode SMT valueCorey Swenson2017-04-282-0/+35
| | | | | | | | | | | Change-Id: Ice161c073e027bee9954cd7e282651a25f4de6cd RTC:154685 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39377 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* xmltohb.pl: Use Carp and croak() rather than custom fatal()Stewart Smith2017-04-271-138/+115
| | | | | | | | | | | | | | Carp gets us better error messages than the custom fatal() subroutine which allows for easier debugging. Change-Id: Ia5408e63f34dc94114ef88889ed12db0ec9c916a Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34632 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: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Enable testing of getChildren for MCBIST/MCA targetscrgeddes2017-04-271-3/+3
| | | | | | | | | | | | | | | Was updating other code and noticed this was commented out. Just adding it back in and updating some comments Change-Id: I309c750f996a1108eb607266b41536e25e853913 RTC:148761 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39653 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@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>
* Remove deprecated attribute FABRIC_NODE_IDPrachi Gupta2017-04-272-21/+0
| | | | | | | | | | | Change-Id: I3bea4af0740b2dba53631fcd195a26b6102a8ba3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34993 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: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* p9_pstate_param_blk: Define VFRT table and initialize the dataPrasad Bg Ranganath2017-04-222-0/+46
| | | | | | | | | | | | | | | | | | | | Change-Id: If517d23014f40bc3f07563fc4009ff25b59f7745 RTC:167141 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36131 Dev-Ready: Gregory S. Still <stillgs@us.ibm.com> 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: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.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/38209 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* Targets.pm: Remove filter attributesPrachi Gupta2017-04-201-116/+0
| | | | | | | | | | | | | | Any attribute not in hostboot will be filtered out by filter_unwanted_attributes.pl script which already runs in op-build currently. So, these attributes here are redundant. Change-Id: I4d82603d0933b375f15a38de351b754cb82a1ffd Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37942 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: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Fix FAPI_POS calculation for Various Target TypesBill Hoffa2017-04-191-5/+12
| | | | | | | | | | | | | | | - Fixes for Proc, MCBist, MCS, MCA and DIMM types Resolves #98 Change-Id: Idc878262bb5821b2e10d9cd6e12d84adb9ba999a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39372 Tested-by: Jenkins Server <pfd-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: Prachi Gupta <pragupta@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* STOP: Enable CHTMYue Du2017-04-182-1/+47
| | | | | | | | | | | | | | | | | | | CHTM traces use Homer CpmrBase + 0x80000 + 16KB*cme_id When enabled, the CHTM traces are hard coded to 0x20000000 + 16MB*EX Change-Id: I80256273a0b7fc31c2f8b5119108ca34e1599106 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38437 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: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38439 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>
* Add LED to ATTR_CLASSDan Crowell2017-04-181-1/+5
| | | | | | | | | | | Change-Id: I7b1d73ee5acd03443db861ecc94372f567a03f7e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38922 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: Santosh S. Puranik <santosh.puranik@in.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Support targeting image (HBD) signingNick Bofferding2017-04-181-4/+43
| | | | | | | | | | | | | | | | | | | - Enabled HBD signing in genPnorImages - Distribute HB specific targeting protected/unprotected payloads - Generate protected / unprotected parts of targeting in attribute compiler - Stop using attribute compiler version header generation - Add secure headers via build directives Change-Id: I2257532f022d5c4524a2aacafa17907199cd8776 RTC: 167774 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38458 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Removing ATTR_PROC_FABRIC_ADDR_BAR_MODEMarty Gloff2017-04-182-36/+0
| | | | | | | | | | | | | | | Remove attribute that we don't need anymore from the xml and the mrw parser(s). Change-Id: Ib654e460f0061576b371b5f7275de25d59170e46 RTC: 169928 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39296 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: Richard J. Knight <rjknight@us.ibm.com> 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 up setup_cal and vref attrsJacob Harvey2017-04-172-0/+22
| | | | | | | | | | | | | | | | | | | Fix bug when setting RD_VREF but not RD_CNTR Change name of MSS_VREF_CAL_STEP_ENABLE to MSS_RDVREF_CAL_STEP_ENABLE Set RD_VREF_CALENABLE_REG in setup_cal Change-Id: Ie4117a53c2ae2e53e7b753cc2b0b127cab0d4caf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38484 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38488 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>
* Propagate attribute overrides up to the HBRT codeDan Crowell2017-04-161-0/+12
| | | | | | | | | | | | | | | | | | | | | | | Attribute overrides are stored in a separate tank of memory from the regular attribute values. This tank will be added as an additional reserved memory section for HBRT to consume (only if overrides exist). Also fixed a couple bugs encountered while testing: - No longer crashes if an error is created inside the targeting initialization code. - Added reserved bytes to RHB definition. Change-Id: I5b10f7ad8dfcb58c550868bb83c4d843f48e1aae RTC: 169942 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38547 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: Corey V. Swenson <cswenson@us.ibm.com> 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>
* PM: Resonant Clocking Enablement - InfrastructureChristopher M. Riedl2017-04-141-6/+11
| | | | | | | | | | | | | | | | | | | | | - update/implement resonant clocking pstate parameter block procedure - implement a function to initialize resclk attributes to defaults from a header file (header to be updated by clocking team) - update/fix resclk attributes in xml Change-Id: I0bb83303cdc5452931a72fb970931c6aff43c03b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38954 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: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38959 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>
* Converge shadow TPM object into targeting modelNick Bofferding2017-04-104-0/+101
| | | | | | | | | | | | | | | | | | | | - Added TPM attributes - Linked TPM attributes to XML models - Updated TpmTarget as alias for TARGETING::Target - Trace all states in TPM targeting target Change-Id: Ic0e6cf974aa82f0273523bdada1081b625cb0ae4 RTC: 168781 CMVC-Coreq: 1021028 CMVC-Prereq: 1021177 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38337 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> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Christopher J. Engel <cjengel@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* SBE message passing interface - call appropriate command processorMarty Gloff2017-04-101-2/+2
| | | | | | | | | | | | | | | Add definitions of SBE message and pass-through command. Create mechanism to call functions to process commands. Change-Id: Id14471b1e6f036c278fd5ae1950b942290282c1e RTC: 170761 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38167 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>
* Add attribute support for TPM locality 1 and 3Jaymes Wilks2017-04-024-0/+34
| | | | | | | | | | | | | | | Allow TPM Related code to read attributes for localities 1 and 3. Change-Id: I368c502cd43d057819fbe95972230f6eda3ba900 RTC:166834 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38078 Reviewed-by: Nicholas E. Bofferding <bofferdn@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> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove unused attributes in processMrw and computeProcPcieConfigAttrsMatt Ploetz2017-03-301-134/+3
| | | | | | | | | | | | Change-Id: I7d84e2bef86ec17acc722f4ec9c9c19341d29ac8 RTC:160422 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37640 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* add changes from common_mrw_xml to hbPrachi Gupta2017-03-293-3/+54
| | | | | | | | | | | | | | - Add <global/> to FRU_ID - Add missing TYPE Change-Id: Ib09033713ab3a9f10dddd8691f569674478fd21a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38550 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: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* TOD porting/migrating from FSP to P9Dzuy Nguyen2017-03-291-0/+4
| | | | | | | | | | | | RTC: 149253 Change-Id: Id9325ca0fd1b59c21a46a5af495cd944753ab27d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35362 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: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* xmltohb.pl: change serverwizHide to serverwizShow and have it take a valuePrachi Gupta2017-03-281-1/+1
| | | | | | | | | | | | Change-Id: I6994d8e02aaa1960cf907be359cf9731d85c846c RTC:164486 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38071 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: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* PRD: add adjustible MNFG threshold for memory MPEsZane Shelley2017-03-282-0/+17
| | | | | | | | | | | | | Change-Id: I247e8fd0bf73aaa18f079eed7d65769c398d02ec RTC: 165384 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38407 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: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
* remove some UTF-8 characters unrecognized by parsing scriptsPrachi Gupta2017-03-281-1/+1
| | | | | | | | | | | Change-Id: I17cfe12660ebef5920db2c06118a6064b0e1cee6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38075 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: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Enum value fix for HDAT i2c data.nagurram-in2017-03-271-17/+25
| | | | | | | | | | | Change-Id: Ie38e800a8f77d59d84f0d99e129c27cad3b38a16 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38053 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: Jayashankar Padath <jayashankar.padath@in.ibm.com> Reviewed-by: VENKATESH SAINATH <venkatesh.sainath@in.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Set correct VDDR_ID for Zaius (MRW Workaround)Bill Hoffa2017-03-241-4/+21
| | | | | | | | | | | Change-Id: I7c21abf69886e448de3d503b2b7abaef1725e3c7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38395 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@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>
* Attribute support of customization of Nimbus DD1 PCI reference clock speed.Thi Tran2017-03-241-0/+1
| | | | | | | | | | | | | | Change-Id: I5bb1646868fca15aca744b311ab5d2bc5dd64739 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38297 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: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38306 Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PM: Updated QPMR and SGPE Header with 24x7 offset and length.Prem Shanker Jha2017-03-242-0/+50
| | | | | | | | | | | | | | | | Change-Id: Idfcca3888ad1446a9e5130538e8270adc44e2631 RTC:164313 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34192 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34599 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>
* Add Memory Attributes to Nimbus Simics ModelBill Hoffa2017-03-241-0/+16
| | | | | | | | | | | Change-Id: I18d22e2b1f5a4b62e78bdada2f34ef863c39fa39 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38322 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@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: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Add new attributes for power managment mode supportChris Cain2017-03-222-0/+122
| | | | | | | | | | | Change-Id: I7ab0e13cf912b5be54673fa26b14740d60ea0a90 RTC: 158612 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37510 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: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
OpenPOWER on IntegriCloud