summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting
Commit message (Collapse)AuthorAgeFilesLines
* Improve resource recovery path to handle memory plugging rulesMarty Gloff2018-05-156-180/+188
| | | | | | | | | | | | | | | | | | | | | Resource recovery is a RAS feature wherein we do not apply certain gard records if those records would result in a boot fail due to a lack of hardware. Change the logic from applying speculative deconfiguration one by one to applying all predictive gard records and then removing those records if minimal hardware is not available. Also add BLOCK_SPEC_DECONFIG attribute to flag when speculative deconfiguration is not allowed. This flag is set if minimum hardware is not available and is cleared after a hardware change. Change-Id: Ia065de3a44ab29fbf33ad4ce98bc42ea5144463f RTC: 191414 CQ: SW424137 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58041 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* New Attribute For Unusable TPMsIlya Smirnov2018-05-152-0/+28
| | | | | | | | | | | | | | | | | | Add a new attribute that is shared with FSP to mark TPM as not usable. This attribute will drive the alignment check and will help determine which TPMs are still alive on the system. Change-Id: Ie8f81410d582da51a156cefdef4531a04609ed9a RTC: 191163 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58489 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> 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: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HDAT: New attribute LOCATION_CODE support for fru targetnagurram-in2018-05-143-0/+22
| | | | | | | | | | Change-Id: I06fa69a577b110fcf90f8cff7117ba3609c62432 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58559 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>
* Add centaur dynamic VDDR code to hostbootRichard J. Knight2018-05-112-8/+191
| | | | | | | | | | | | | | | | | | | | | | -Update the makefile for istep07 and add the call to the p9c_mss_vddr_offset hwp -Update attribute mapping to separate the centaur specific values -Update the centaur target to include the attribute for the vddr offset voltage -Update createVddrMsg to use new attributes for centaur voltages Change-Id: I3be51277b7693aa91e60c8873844be785bf97c12 RTC:157672 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58294 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: Thi N. Tran <thi@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>
* Remove System Level TCE AttributesMike Baiocchi2018-05-101-3/+0
| | | | | | | | | | | | | | | | | | For Fleetwood support the TCE attributes refering to memory regions had to move from the system level to the node level. Now that the Hostboot and FSP code no longer use these attributes at the system level we can remove them and their usage. Change-Id: I4f71b940787689d4ee9f3b3b6ad081dd4632c65b RTC:190014 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57680 Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> 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> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* wrap_test: targeting fixupsPrachi Gupta2018-05-092-21/+5
| | | | | | | | | | | | | | | | | We currently do not support attribute overrides for enum based attributes. Therefore, change the type of ATTR_MFG_WRAP_TEST_ABUS_LINK_SET_ENABLE to uint8_t and add PROC_EFF_FABRIC_GROUP/CHIP_ID attributes to processMrw. Change-Id: I4991e19ab5ceac8e8cf0fbd826b68d7e0fd9ab1d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58527 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> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove writeable from ATTR_FABRIC_GROUP/CHIP_IDDan Crowell2018-05-081-2/+0
| | | | | | | | | | | | | | | | At one point these attributes had to be writeable to satisfy a fapi2 requirement in the SBE. That limitation has been removed so they are being reverted back to their natural state. Change-Id: I9f7b8f126844760f623da26cc877e1b3806e386a CQ: SW426882 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58173 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix HWAS_STATE_CHANGED_SUBSCRIPTION_MASK for MC/MI/DMISwathi Madhuri Bhattiprolu2018-05-081-1/+38
| | | | | | | | | | | | | Change-Id: I4f1a7d2de5a230d831adb0730710b33a3d8c3b19 CQ:SW424122 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58017 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Secure Boot: Implement Centaur SCOM cacheNick Bofferding2018-05-083-2/+16
| | | | | | | | | | | | | | | | | | | This change implements a Centaur SCOM cache for sensitive SCOM registers. The cache is initialized and enabled before the first Centaur SCOM, and disabled just prior to locking down the Centaur configuration. Once the Centaur has been locked down, the real register values are compared to the cache entries, and the Centaur is deconfigured (not garded) on any mismatch in assumptions. RTC: 187288 Change-Id: I7b13bfd7eb6b427aba115d6944958bf55e171008 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57532 Reviewed-by: ILYA SMIRNOV <ismirno@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: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update targeting init during RT to set PEER_TARGET on OBUS targetsChristian Geddes2018-05-071-4/+58
| | | | | | | | | | | | | | | | | | | | During IPL time hostboot does not know about OBUS targets on other processors. Because of this we cannot set the PEER_TARGET attribute on the OBUS targets because we don't know about their peers. During HBRT however, we do know this information. In this commit support is added to look at the attribute PEER_PATH for targets whose PEER_TARGET attribute is null. This will allow use to target and OBUS's peer during HBRT. Change-Id: I249bc8c60297eedb7282ecc8dc717973e81e5cc3 CQ: SW425530 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57782 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: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add PEER_PATH attribute to xbus and obus targetsChristian Geddes2018-05-048-21/+117
| | | | | | | | | | | | | | | | | | | | | Currently there is a bug where PRD will attempt to handle a OBUS fir before the OBUS's peer target is known to hostboot. During IPL the OBUS's peer target is not known because each hostboot instance only knows about its own node. In order to get around this we will save the OBUS's peer target's path in the attribute PEER_PATH so later during HBRT when we know about other nodes we can correctly set the OBUS's PEER_TARGET attribute with the correct value. Change-Id: I24733733c14442f1d5124a0489a28263e05014c3 CQ: SW425530 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57769 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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Log an error when FAPI Attribute Overrides are attemptedBrian Bakke2018-05-021-0/+35
| | | | | | | | | | | | | | | | | | | | | Attribute Overrides from FAPI tank are ignored as the Target Type is defaulted in the call tree and thus Attributes for FAPI Targets are never extracted. Add a error log if FAPI Attributes are ingested so there is an indication that these are not supported rather than throwing them silently on the floor. Change-Id: I595e07b03df4d093d7f91b0a8513a8d94c9844dc RTC:177224 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57683 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: Brian E. Bakke <bbakke@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* genNodeMrwXml.pl: added --config optionPrachi Gupta2018-04-261-10/+9
| | | | | | | | | | | | | | | | | | | Without the config option, the script was computing the MRW name and output file names based on system name and build type. But, for fleetwood's 2N and MST config, we were having to do unnecessary copies to and from 2N/MST version of MRW to non 2N/MST version. This causes issues when multiple compile jobs are running in parallel. Change-Id: Ib4e2d10b05f182379fd0be1cacbf1a7b9efba642 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57820 Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@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: William G. Hoffa <wghoffa@us.ibm.com>
* wrap_test: processMrw changesPrachi Gupta2018-04-261-81/+167
| | | | | | | | | | | | | | | | | | | | | | | | | - Filtered out ABUS and XBUS connections based on CONFIG_APPLY attribute that lives on both of those connections in the MRW. For wrap test, CONFIG_APPLY will take a value of "w." So, if CONFIG_APPLY=w and "-n" input to processMRW is "w", then we process the connection. Otherwise, we ignore or disable other connections. - Leverage "-n" input to hardcode FABRIC_GROUP_ID and FABRIC_CHIP_ID for wrap test - Copy MFG_WRAP_TEST_LINK_SET attribute from the bus connection to obus chiplet Change-Id: Ia58acd63cb47780433220c6771bf4feabacac54d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56961 Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com> Reviewed-by: VENKATESH SAINATH <venkatesh.sainath@in.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: Roland Veloz <rveloz@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* wrap_test: adding attrs to swizzle abus linksPrachi Gupta2018-04-242-0/+79
| | | | | | | | | | | | | | | | | | | There is a fabric limitation to only enable 2 ABUS links at a time. This commit adds attribute that will be used by MST to swizzle between the sets of links to enable. When the value of the attribute matches between system target and the ABUS link, then the link will be configured. Otherwise, we will deconfigure the links. Change-Id: I018b318934b3f52c2e73724cd0e9645e5a379251 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57679 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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Support AVSBus Config packet for Vdd Current roll over workaroundChris Cain2018-04-242-0/+34
| | | | | | | | | | | | | | Change-Id: I1aa18500e227e3daf27564758b6301794fc436da RTC: 191241 CQ: SW424766 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57652 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@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: Sheldon Bailey <baileysh@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix HBRT Adjunct Hang due to Multi-Node Sync System Attributes BugsMarty Gloff2018-04-243-68/+47
| | | | | | | | | | | | | | | | | | | | | Make fixes to the sync system attributes block of code that caused it to make the HBRT adjunct partition fail with one of various symptoms including a crash, stack corruption, or HBRT command failing. Also refactor the getNextTarget() code to reduce additional tracing that was added recently since too many traces are being generated. Change-Id: I0d51d3a20ac87ce4b3378310b2164d20a185d76f RTC: 190816 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57278 Reviewed-by: Christian R. Geddes <crgeddes@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: 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>
* Remove Ordinal ID as an Attribute to MatchMarty Gloff2018-04-231-9/+2
| | | | | | | | | | | | | | | | | | During the preparation for doing an HBRT concurrent code update, targets in the current reserved memory data are matched with targets in the new LID structure. One of the attributes used has been ordinal ID, but this is not always set in the LID structure, thus preventing matches to be found. It is being removed as a condition for finding a match. Change-Id: I6b0bea6a001a9ca085fb5a41da714780543655e6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57583 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: Brian E. Bakke <bbakke@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* make ATTR_START_CBS_FIFO_RESET_SKIP platInitMatt K. Light2018-04-201-0/+8
| | | | | | | | | | | | | | | | | Change-Id: Ia995817f30cca235b8c725feec27f7a14f26f924 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43311 Dev-Ready: Matt K. Light <mklight@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@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/43318 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
* Add support to find relocated payload base addressVasant Hegde2018-04-191-0/+19
| | | | | | | | | | | | | | | | | | | | | | | OPAL relocates itself after boot. During MPIPL, hostboot needs to access relocated SPIRAH. Hence lets add support to get relocated payload base address. OPAL will use SBE stash chip-op to send relocated address to SBE. During early IPL SBE sends stashed data to hostboot. And hostboot will use that information to find relocated payload (OPAL) base. SBE stash chip op: key = 0x03 val = <relocated payload base address> Change-Id: I1089bd38f32b01b877d1580ba76313fc250e5c08 Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55190 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> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Adding path to use alt-memory when proc0 does not have memoryElizabeth Liner2018-04-192-2/+9
| | | | | | | | | | | | | | | | | | | | When proc0 doesn't have memory, and we are on a phyp system, we don't need to swap our master proc and we can instead just swap memory. This commit adds in the functionality to look for working memory, and send both the group and chip ID down to HWSV. Change-Id: I664d5bfcd308a4ba2ee71e3e708533c6ec9a0a71 RTC:176434 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54403 CI-Ready: Elizabeth K. Liner <eliner@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> CI-Ready: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Handling CONFIG_APPLY attribute for Abus variations in 2N FleetwoodVenkatesh Sainath2018-04-171-22/+81
| | | | | | | | | | | Change-Id: I8f6bc6affe687875e205ad8cd5f40558872af4ea Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56568 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>
* Enable memory mirroring on ZeppelinSwathi Madhuri Bhattiprolu2018-04-171-16/+12
| | | | | | | | | | | | | | | | -- Made changes to default value of MIRROR_BASE_ADDRESS attribute -- which is the System Mirrorable Base Address for P9 Change-Id: I0181e3e6d4106772a28cd50b0b6944bc179ef862 RTC:18838 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57154 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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Added PCIESWITCH type in 920 branchSrikantha Meesala2018-04-161-0/+1
| | | | | | | | | | | | | Change-Id: Ifbba85022fdec33b088826f2a37854864028567b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57260 Reviewed-by: Santosh S. Puranik <santosh.puranik@in.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: Sachin Gupta <sgupta2m@in.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>
* Add an option disable fsp to sm sync for some attributes.Dhruvaraj Subhashchandran2018-04-161-0/+22
| | | | | | | | | | | | | | | | A new XML file with list of attributes need not be synced is accepted by the script. The attributes in the list is excluded from the output XML processed to create system model tables. Change-Id: If1d3a02d574988ce5e0fa503bab2fd0e4accdb8d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56636 CI-Ready: DHRUVARAJ SUBHASH CHANDRAN <dhruvaraj@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.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>
* Cleanup the fix for "zero length dump on single node systems".Rick Ward2018-04-123-10/+7
| | | | | | | | | | | | | | | | | | | | | | | The attribute, IS_MASTER_DRAWER, was being set in the function host_sys_fab_iovalid_processing() (istep 18.9), unfortunately that function is not called on single node systems. Had to reverse the logic on the previous IS_MASTER_DRAWER attribute, and make it an IS_SLAVE_DRAWER attribute. The reason is that there is a limitation (bug?) which requires hb-only, volatile attributes to have a default value of zero. Change-Id: Ib27349f18b2738b405649723cdcb11e2ec919991 CQ:SW423016 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56883 CI-Ready: Richard Ward <rward15@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: 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: William G. Hoffa <wghoffa@us.ibm.com>
* Support multiple nodes in HBRT - Remove Single Node ItemsMarty Gloff2018-04-102-13/+3
| | | | | | | | | | | | | | | | | | | There are some items that applied to a single node implementation that can be removed after all dependencies on them have been removed by other tasks. This single node support is being moved/removed. Also a check is being added to the VPD support so the node value does not index beyond the end of the array of reserved memory addresses. Change-Id: I7fea5ac9cdfa9f37caa57905d320633a8039e79d RTC: 186585 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55917 Reviewed-by: Christian R. Geddes <crgeddes@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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Support multiple nodes in HBRT - Concurrent Code UpdateMarty Gloff2018-04-096-325/+479
| | | | | | | | | | | | | | | | | | Enable HBRT to prepare for a concurrent code update on a multiple node system. Modify preparation function called by Host to loop through all nodes on the system. Make additional updates to go from supporting only a single node to supporting multiple nodes. Change-Id: I2d72b26abf40812641815051b968d6b540d27b00 RTC: 186584 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53952 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Wrong value for MSS_MRW_IDLE_POWER_CONTROL_REQUESTEDSrikantha Meesala2018-04-051-1/+1
| | | | | | | | | | | | | | CQ: SW420784 Change-Id: Iebfa16ad8bb44f4e055499447df4ee01b814b492 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56719 CI-Ready: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@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> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* zero length dump on single node systemsRick Ward2018-04-052-2/+5
| | | | | | | | | | | | | | | Quick hack to fix dumps on single node systems. Proposed fix did not work. This change forces isCurrentMasterNode() to always return true. Change-Id: I9366617d42923e5d13c0f7ea4f624e1749ad6810 CQ:SW423016 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56769 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: William G. Hoffa <wghoffa@us.ibm.com>
* Support multiple nodes in HBRT - Update FunctionsMarty Gloff2018-04-054-25/+6
| | | | | | | | | | | | | | | | | | Existing targeting functions were written to support a single node implementation. There are functions currently linked to HBRT, but not needed by HBRT that break with the multiple nodes support. Those functions will be compiled out of HBRT. Change-Id: I7d70caa4721c52c032e099f75dae2fce5c6fe3be RTC: 186580 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53233 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> 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>
* Disable Multi-Node Sync System AttributesMarty Gloff2018-04-051-2/+2
| | | | | | | | | | | | | | | | Sync System Attributes code added for HBRT multi-node support seems to cause HBRT Adjunct to hang. Disable this support until cause is found and corrected. Change-Id: I709ffa24715e27277145e7b70c6475a66a29f7c7 RTC: 190816 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56773 Reviewed-by: Prachi Gupta <pragupta@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: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Secure Boot: Introduce key transition state node attributeNick Bofferding2018-04-052-0/+60
| | | | | | | | | | | | | | | | | | | Key transitioning on FSP-based systems is problematic because the key transition process quiesces both SBEs then TIs, which prevents the FSP TI handler from being able to determine the TI reason when secure mode is enabled. This change introduces a new key transition state node attribute and enum which later commits will will use to inform FSP of status in the key transition flow Change-Id: I9f40a2b8aa2c797fffd437f20615fedf82ca3f99 CQ: SW418697 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56676 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: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Resolve NodeInfo Naming ConflictMarty Gloff2018-04-042-59/+61
| | | | | | | | | | | | | | | | | Both TargetService and AttrRP have variables and typedefs with various forms of 'NodeInfo' in their names. To reduce confusion and possible conflicts, names in TargetService are being changed. Change-Id: Iab1dd624a0e9c1f80e8dbcdf500e25b51f02a48a RTC: 142908 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56454 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Support multiple nodes in HBRT - Sync System Attribute DataMarty Gloff2018-03-301-1/+61
| | | | | | | | | | | | | | | | | Make sure that HBRT keeps system attribute data in sync between the targeting images for the different nodes on a multiple node system. Change-Id: I84c0a92b0f9d9621d11aea474d0d87b215df886a RTC: 186581 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55204 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> CI-Ready: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Ensure all hbmutex attributes get re-initialized on MPIPLChristian Geddes2018-03-294-2/+195
| | | | | | | | | | | | | | | | | | | | We saw a bug where we were getting hung up on one of the i2c engine mutexes on MPIPL. We still haven't determined WHY we are seeing the mutex locked after an MPIPL but just to be safe we are now looping through all of the targets and checking each attribute to see if it is of type hbmutex. If it is then we will call mutex_init on the mutex to reset it so the mutex is ready to use. Change-Id: Ie05f7f49c4599c7cfc5d33c43d79cb977bb0cd13 CQ: SW420894 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56136 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: 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>
* attrrp_rt.C: translateAddr returns input address by defaultPrachi Gupta2018-03-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | After a HBRT reset, PEER_TARGET attribute had its value preserved from prior to the reset. This attribute is a target pointer, so its address value needs to be translated for HBRT. When the translation is attempted again after the reset, we have a valid address already. The second translation fails and returns NULL. This fix was to return the original address instead of NULL when the translation isn't possible. CQ:SW422523 Change-Id: I75de8d1e780140ca1979dd6fdf237c6c0526f08b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56332 Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@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> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Add support for ATTR_FREQ_MCA_MHZCorey Swenson2018-03-272-8/+0
| | | | | | | | | | | | | | When accessing the attribute, return value for ATTR_FREQ_PB_MHZ. Change-Id: I41a2f39582d76b3ea949d8998300b64c7622a671 RTC:179826 CMVC-Prereq: 1049714 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53408 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>
* Setup Node-Level Attributes for Multinode TCE SupportMike Baiocchi2018-03-261-0/+25
| | | | | | | | | | | | | | | | | | | | | This commit establishes a TCE Table and allocates the necessary TCEs for each node in a multinode (ie, Fleetwood) system. It then sets the corresponding node-level TCE attributes such that the FSP can use these TCEs for PSI Diagnostics and DMAing-via-TCEs the PAYLOAD and HDAT content. Change-Id: Ibd06675ea68a9c630987765b51fdd9db631f6425 RTC:187335 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56129 CI-Ready: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@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: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add ATTR_ prefix to attributes missing it in hb_customized_attrs.xmlBill Hoffa2018-03-221-3/+3
| | | | | | | | | | | | | Change-Id: Ia8e169913ca5c5964e196605a405ead5d9dc10bb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56085 Reviewed-by: Prachi Gupta <pragupta@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: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Completely hide attributes that have no valueDan Crowell2018-03-221-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Serverwiz2 continues to output invalid attribute syntax where attributes are defined with blank default tags like this. <attribute> <id>VCS_AVSBUS_BUSNUM</id> <default></default> </attribute> Which then get converted into something like this in our parsed xml. <attribute> <id>VCS_AVSBUS_BUSNUM</id> </attribute> That syntax results in our xmltohb parser using a value of zero instead of the defined default in the attribute definition since it looks like the value is being explicitly overridden. The change here is to completely skip adding any attribute that does not have a value filled in. The attribute's value will then be sourced from the defaults in attribute_types/target_types. Change-Id: I3565ff3bf50f9cd8b8f5ef108d8690016cf3f5f2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55970 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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Dump collection should only be run on the master node and skipped on slaves.Rick Ward2018-03-223-3/+30
| | | | | | | | | | | | | | | | | | | Added an attribute, IS_MASTER_DRAWER, and a utility function, isCurrentMasterNode(). The attribute is set in host_sys_fab_iovalid_processing which is called during istep 18.9. isCurrentMasterNode() is called by call_host_mpipl_service() to ensure that memory dump collection is only performed on the master node during a MPIPL. Change-Id: I7fd48476c3cd7cf4697eafed6705d158a9c54dcf RTC: 116089 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55162 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: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add inband bar address to simics xmlCorey Swenson2018-03-212-48/+64
| | | | | | | | | | Change-Id: Ic8b5a9ade0cdffe728c0d51b2638e43617b3f55b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55952 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: William G. Hoffa <wghoffa@us.ibm.com>
* Delete ATTR_DMI_INBAND_BAR_ENABLE when processing MRW attributesCorey Swenson2018-03-191-0/+1
| | | | | | | | | | | | | | | | This attribute is now set in hb_customize_attrs.xml. Deleting from MRW prevents an unintentional override. Change-Id: Idff06b0a6d8ceba4843030918743d67b7b9d3acd Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55886 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> CI-Ready: Douglas R. Gilbert <dgilbert@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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Cache user power limit from BMC and add proc callout for 2AEx errorsChris Cain2018-03-192-2/+17
| | | | | | | | | | | | | | Change-Id: Ib8918b03bfadd2948fe98e37b7e695c6df2ac7cb CQ: SW414473 CQ: SW413111 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55897 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: Sheldon Bailey <baileysh@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* add global tag to EI_BUS_TX_MSBSWAP for serverwiz2 consumptionPrachi Gupta2018-03-151-0/+5
| | | | | | | | | | | | | | Change-Id: Id0425181c6d3935144652ce9cd1b626e1843e0a9 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55807 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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Richard Ward <rward15@us.ibm.com> CI-Ready: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Support multiple nodes in HBRT - Attribute OverridesMarty Gloff2018-03-133-43/+50
| | | | | | | | | | | | | | | Make changes needed for HBRT to override attributes on a multiple node system. Change-Id: I2c2f5ec520b89ac900b7dbcc01ada6e7146707dc RTC: 186582 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53880 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> 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>
* No longer include BAR attributes in ServerWiz2 exportDan Crowell2018-03-121-0/+14
| | | | | | | | | | | | | | | | | | All of the BAR (Base Address Register) attributes are set based on an architected memory map. There is no reason to allow the MRW to modify these values. Change-Id: Ib4a8211a2251acfb66f786025ce7b3cd002d8331 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53863 CI-Ready: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Secure Boot: Dynamically set TPM I2C master path in MRW parserNick Bofferding2018-03-121-1/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | Historically the TPM target as described in the MRW passes directly through to the Hostboot targeting model without modification (other than filtering out unwanted attributes). This approach does not work in multi-TPM or multi-node systems since the TPM object's I2C master path gets cloned within and across nodes. Instead, for multi-node systems, the MRW parser must now walk the I2C bus connections between each TPM and the chip driving it, and dynamically compute/set the TPM's I2C master path. This behavior only activates for multi-TPM systems due to limitations in other workbooks, as in these cases, the pre-existing behavior sufficies. Change-Id: I5845760a390841d083dc0bbe633bc19a90ab23e6 RTC: 184515 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55240 CI-Ready: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.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: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* ATTR_PBAX_GROUPID: add global tagPrachi Gupta2018-03-082-1/+9
| | | | | | | | | | | | | | | | | | | | | | PBAX_GROUPID is a proc level attr that needs to be incrememnted per node. The only way to set this correctly in MRW is to add a global tag. However, making it global may break other systems as the global value in their respective MRW won't be set. It will be set on proc_socket level. Therefore, added a check to only copy global values if they are not empty (aka someone must explicitly set the global value for us to use those values). Change-Id: I3055d8296c010f996d98d7578a9adee5b763d316 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55257 Reviewed-by: Santosh S. Puranik <santosh.puranik@in.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: William G. Hoffa <wghoffa@us.ibm.com>
OpenPOWER on IntegriCloud