summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common
Commit message (Collapse)AuthorAgeFilesLines
...
* Deconfig EC/EX/EQ at runtimeRoland Veloz2018-08-303-3/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Applied the normal parent/child rules for EC/EX/EQ logic to be done in the runtime deconfig logic. After applying the deconfig logic, then reset the PM for the parent proc of the EX/EX/EQ. To facilitate the code changes, modified the return value of the TARGETING::getParent(...) call. It no longer returns a const * Target, considering 5 times out of 7 of it's usage, users were just staic_cast(ing) away the const. Clear out the HB reset attribute in the mpipl path. Modify PRD logic to use runtime deconfig call in malfunction alert path. CMVC-Prereq: 1066157 Change-Id: If81f2f15c6e84bf2adb6fd66c1321b8f1ddf1a86 CQ: SW443157 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64873 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>
* Use Dimm Numbering instead of Port Number for REL_POS attributeBill Hoffa2018-08-291-1/+1
| | | | | | | | | | | | | | | | - The Port number was causing dual drop dimm configs to lose half of their dimms during MRW processing Change-Id: Ie5b6f3a4bd9dc9f8792d3a262a8fbcdaf7c6f7e1 CQ: SW443160 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65096 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>
* Use Cumulus DD1.3 SBE image instead of DD1.0Dan Crowell2018-08-202-3/+67
| | | | | | | | | | | | | | | Adding support for Cumulus DD1.3 SBE images in the FSP PNOR Dropping support for Cumulus DD1.0 SBE image from FSP PNOR CMVC-Prereq: 1060757 CMVC-Prereq: 1063108 CMVC-Prereq: 1061378 Change-Id: Ia315c6f786ef6c522acf4e580ad435b0180513b3 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/62636 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>
* OP issue: processMrw.pl should error on duplicate sensor IDs #75Rick Ward2018-08-201-0/+11
| | | | | | | | | | | | | | | | Modified processMrw.pl to track sensor IDs seen, and to error out if the same sensor ID is seen more than once. Resolves: #75 Change-Id: Ic8b9aae67ae037acc771cac6c8920dfcfba7515e Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64047 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> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Use ATTR_MAX_COMPUTE_NODES_PER_SYSTEM instead of hardcodingMatt Derksen2018-08-185-2/+33
| | | | | | | | | | | | | | | | | hwsvd crash observed during handling hbrt message to get tod topology data because allocated size was based on a hardcoded value for max_compute_nodes_per_system Change-Id: I587dac32fab9dd67fe96e213c5ef72626e4e2ea1 CQ:SW434860 CMVC-Coreq: 1059506 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64459 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> 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>
* Base targeting support for OCMB chip and MEM_PORT chipletChristian Geddes2018-08-083-1/+64
| | | | | | | | | | | | | | | | | | | | | | | | In Axone we are introducing a new memory buffer known as the Open Capi Memory Buffer chip. On this chip will be a MEM_PORT chiplet(s) which will connect to the DIMM. This completes the following picture (it is expected OMIC, MCC, and OMI have been added already) MI--MCC / \ Proc--MC < __ OMI--OCMB--MEM_PORT--DIMM \ / OMIC Change-Id: I1a3e3d38978ce11fecee2ab11de83909eb440774 RTC:172970 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63911 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> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Base targeting support for Axone memory complexChristian Geddes2018-08-083-4/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Added 3 new target types to start things off. These are the OMI (open-capi memory interface), the OMIC (open-capi memory interface controller), and the MCC (memory channel controller). These new targets will help us represent the new memory complex we are using for axone. The axone memory hiearchy will look like this: MI--MCC / \ Proc--MC < __ OMI--OCMB--MEMPORT--DIMM \ / OMIC **Note that OCMB/MEMPORT have not been implemented in hostboot yet Change-Id: I3df4eb3e279f825f0bdee86448ea23cb975e5511 RTC:172969 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63744 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> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Get rid of extra default for ATTR_CEN_MSS_VREF_CAL_CNTLDan Crowell2018-08-062-1/+1
| | | | | | | | | | Change-Id: Iba4a7eb7d946b46cf94ef0f1dd6505dc41d35c1a Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63930 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>
* Disables training advanced by default p9cStephen Glancy2018-08-021-0/+2
| | | | | | | | | | | | | | | | | | | Change-Id: Ic4e33d1a950716879521444abf633287290b9c52 CQ:SW440238 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63541 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: ANUWAT SAETOW <asaetow@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Dev-Ready: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@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://rchgit01.rchland.ibm.com/gerrit1/63552 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>
* Wrap Test: Change GROUP_ID/CHIP_ID to match the new proc numbering schemePrachi Gupta2018-07-301-4/+4
| | | | | | | | | | | | | | | | | | | When we changed the fleetwood proc numbering to match cronus, we didn't update the proc numbering for wrap mode. This lead to weird behaviours, like proc0 was treated as alt master or booting off a completely wrong proc (proc 3). Change-Id: Ia91b10d6e52e6f2e7b36ee59e109133c72bd7372 CQ:SW439810 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63488 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: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* MRW: If bus object doesn't have I2C_ADDRESS property, get it from I2C slaveNick Bofferding2018-07-241-0/+10
| | | | | | | | | | | | | | | | | This change amends the processMrw.pl script to get the I2C_ADDRESS property from the I2C slave if it is not available from the I2C bus object. Without this change, the OpenPOWER MRWs populate invalid I2C addresses in the HDAT I2C attributes, which Hostboot then ignores, resulting in OS not seeing all the I2C devices Change-Id: I6a5f1193f31b124193641174229b5f9433b41d4c CQ: SW438846 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/62968 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Use Attr to Save/Fetch MDRT CountRaja Das2018-07-202-0/+15
| | | | | | | | | | | | | | | | | | | | MDRT count is saved out into an attribute in istep14 and the same is fetched out in istep21 for Phyp as well as Opal(ZZ-L) system. Added libruntime.so to istep14, Since Dump relies upon runtime module Moved 'useRelocatedPayloadAddr' setting to call_host_mpipl_service(), So that we have everything set before calling doDumpCollect() Change-Id: I5d30135d86a1477a68509aaff0516efb4d620410 Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/58636 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>
* Only switch sides and perform hreset if SEEPROM side versions matchChristian Geddes2018-07-192-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | In the event that the SBE fails hostboot will attempt to recover it. During runtime hostboot will attempt an HRESET if the SBE is in a failed state. When the SBE performs the HRESET it will save some important information that will persist through the reset. If one side is failing to recover the retry code will attempt to switch sides and do the hreset. If the SBE seeproms have different versions of the SBE code the data that was supposed to persist through the HRESET will be in incorrect places because the version mismatch. Because of this we cannot switch seeprom sides and perform a hreset if the seeproms have different level of the SBE code. CQ: SW438029 Change-Id: Ic7078a886088cc4d5355cc076e72d0fc36f85027 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/61605 Reviewed-by: Matt Derksen <mderkse1@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: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Enable CFM testing of new target dataCorey Swenson2018-07-182-0/+140
| | | | | | | | | | | | | | | | Create CFM attribute and target xml files. Used for Concurrent Firmware Maintenance testing. Change-Id: Ie2c1fe468bb533f40863a1b15a2cb9577eeb6220 RTC:181484 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/62027 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>
* Add PEER_TARGET and PEER_PATH to SMPGROUP TargetMike Baiocchi2018-07-131-0/+7
| | | | | | | | | | | | | | | This commit adds PEER_TARGET and PEER_PATH to the SMPGROUP Target, which is a child of the OBUS chiplet. This should resolve the PEER_PATH not being set for some instances of the SMPGROUP. Change-Id: Ifa96837c446b45d58ba60d759ba78df1f553d363 RTC:184518 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/62351 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>
* Make REL_POS correct for sub-unitsAndrew Geissler2018-07-121-20/+3
| | | | | | | | | | | | | | | | | | | Need to ensure REL_POS is the logical position of the target unit relative to its immediate parent. This change affects the REL_POS of the following units: EX,CORE,MCS,MCA,MC,MI,DMI,OBUS_BRICK,SMPGROUP Change-Id: I416aa7fe312a995d10fc181da6d6356258a7e001 CQ:SW435611 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61568 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>
* Skipping FSP access check for FAPI attributesDhruvaraj Subhashchandran2018-07-101-1/+1
| | | | | | | | | | | | | Change-Id: I55a1e6f87730eaa8d8f40b54b8cd28fb3040230e CQ: SW435561 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61934 Reviewed-by: MURULIDHAR NATARAJU <murulidhar@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: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Detect non sync attribute usage in HWPs on FSP.Dhruvaraj Subhashchandran2018-07-021-0/+4
| | | | | | | | | | | | | | | Some of the usage of FAPI attributes on FSP which marked non syncable was not detected, now GETMACRO is generated on FSP only if the attribute is not on the non-sync list. Change-Id: I0969ae802f13b65c80e96dbbf1a210ee8454685f CQ: SW433656 CMVC-Prereq: 1058619 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60861 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: William G. Hoffa <wghoffa@us.ibm.com>
* Make OBUS_BRICK deconfigurablearavnair-in2018-07-021-2/+2
| | | | | | | | | | | | | | | | | | | An OBUS has 2 smpgroup targets and 3 brick targets under it. To make sure that the parent OBUS does get deconfigured when the child SMPGROUP targets are gone (and if the OBUS is used ONLY for SMP) we need to get the brick targets under the OBUS deconfigured. Add new DECONFIGURED_BY_OBUS_MODE for this case Change-Id: I358a16c2b480c15f48c3dd591ba593225701a97f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61746 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: William G. Hoffa <wghoffa@us.ibm.com>
* Update the no sync attributes xml.Dhruvaraj Subhashchandran2018-06-301-4/+12
| | | | | | | | | | | | | | | | Update the no sync attribute xml with a new tag indicating whether the compile time check for usage on fsp should be skipped. Change-Id: I9532485b41b89a437914aade312d598a5e4a52b1 CMVC-Prereq: 1060012 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61454 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: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* IS_MPIPL_SUPPORTED attribute support and update in hdat IPLP structurenagurram-in2018-06-282-0/+16
| | | | | | | | | | | | Change-Id: I3eba09cf3552cfa6592a3771910a94122b307041 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60376 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: VENKATESH SAINATH <venkatesh.sainath@in.ibm.com> Disable-CI: NAGENDRA K. GURRAM <nagendra.g@in.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Making SYSTEM_BRAND_NAME attrib non-volatile to show up in common_mrwnagurram-in2018-06-281-1/+1
| | | | | | | | | | | | | Change-Id: I0c26630e422dee9722a2876c2eb6d7ce3b76ff88 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60352 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: VENKATESH SAINATH <venkatesh.sainath@in.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Disable-CI: NAGENDRA K. GURRAM <nagendra.g@in.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Update genHwsvMrwXml.pl to include the attributes for PCIE configRichard J. Knight2018-06-271-0/+12
| | | | | | | | | | | | | | | | -In order to support bifurcation of slot P1-C3 in the shark platform changes were needed to the xml parsing so that several key attributres would be populated. Change-Id: Id0792cbf15a0cb844b63f8821f7c0a60bdfd5ea2 RTC:192871 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60101 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>
* DDR3 Support for FleetwoodSwathi Madhuri Bhattiprolu2018-06-262-3/+17
| | | | | | | | | | | | | Change-Id: I991ca639d2917c2618dbf3eec65347bd794c2356 RTC:175881 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61257 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove deprecated VCS_I2C_RAIL attribute from hb codeChristian Geddes2018-06-251-5/+0
| | | | | | | | | | | | | | | I saw the EKB developers removed this unused attribute so I am removing it from our customized list to reduce the clutter Change-Id: If5925490e8bee6a23d5572c25ad707174f0426ef Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61073 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: Richard Ward <rward15@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Ensure memory HUID's are node-relativeAndrew Geissler2018-06-221-29/+38
| | | | | | | | | | | | | | | The memory targets should have HUID's that are relative to the node they are in. Change-Id: I1245c07f1bb9cff35f5bea46fca3b490d0be700f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59884 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>
* HBRT attrrp depends on node zero being presentMarty Gloff2018-06-211-3/+2
| | | | | | | | | | | | | | | | | Rework the code in the runtime startup() function to not depend on using Node 0 reserved memory data to discover what nodes are present and to create "invalid node" structs in iv_nodeContainer for nodes that are not present. Change-Id: I61f0dbdc94c6dd1a31a3e3453b149e7322311a6e RTC: 192967 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59497 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>
* Update PEER_TARGET values to be NULL on MPIPL if neededChristian Geddes2018-06-201-16/+7
| | | | | | | | | | | | | | | | | | | | | | | | | During Hostboot IPL time we do not know about other node's OBUSes so the PEER_TARGET attribute on the OBUS targets should be NULL. During HBRT init we will gain information about other node's OBUS targets so we will write the correct values during HBRT init. During MPIPL we must again adjust the PEER_TARGET values as the virtual memory map changes. There was a bug for the MPIPL side of things where we were not writing NULL to the OBUS's PEER_TARGET attribute when we should have. Writing NULL is correct because Hostboot is unaware of where the OBUS target is in memory during IPL time. The correct address will get written into the attribute during HBRT init after the MPIPL completes. Change-Id: I790d8f6b237d0ccddbb57680feb5d331dd1fa471 CQ: SW433560 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60967 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Adding Chiplet Num testcases for MC, MI and DMI in cumulusElizabeth Liner2018-06-201-0/+56
| | | | | | | | | | | Change-Id: I2846800bf8b9b9e6df5dc3c1581bfd7eae80c306 RTC:190805 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60444 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Deprecate legacy ATTR_MBA_PORT/ATTR_MBA_DIMMChristian Geddes2018-06-157-213/+307
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are currently two competing sets of attributes related to the DIMM position. - Legacy (P8) MBA_PORT/MBA_DIMM - New (P9) CEN_MBA_PORT/CEN_MBA_DIMM These two sets of attributes are not currently being populated with the same data in all of the MRW xml files. The P9 HWPs are using the CEN_ versions but there is a lot of code on the FSP that is still using the old versions. Additionally, the Nimbus MRW XMLs are using MBA_PORT to represent the dimm position behind the MCA (even though there is only a single port on the MCA and MBA is erroneous). This commit attempts to consolidate things into a new set of more generic (and hopefully more descriptive) attributes to use for all system types. The MRW parsing logic has been modified to consume whatever data it can to populate all 3 sets of data with the same values. Eventually we will deprecate the 2 previous attribute sets once we've cleaned all the existing files up. The new attributes are: - MEM_PORT - POS_ON_MEM_PORT CQ: SW430317 Change-Id: If63929d78dcaacc1120709a659d6094ce576918d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59077 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: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove EXTERNAL_VRM_STEPDELAYDan Crowell2018-06-151-1/+0
| | | | | | | Change-Id: I12a3658baac34a10e2570f360ed61767b5377855 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60664 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Make HUID values node-relativeAndrew Geissler2018-06-121-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The HUID is composed of multiple pieces: SSSS NNNN TTTTTTTT IIIIIIIIIIIIIII SSSS : System instance NNNN : Node instance TTTTTTTT : Target type IIIIIIIIIIIIIII : Instance number (relative to node contained in) The current code correctly places the node number in the HUID but it uses an instance value relative to the entire system, instead of just the specific node. Targets affected by this change are: - Processors - All chiplets within processors A future change will be made to fix up the memory subsystem Change-Id: I25f0e23832ead80e54ca3960930d83792f3a80aa CQ:SW425239 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59276 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> 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>
* Add HX keyword attribute for PCIe bifurcation supportRichard J. Knight2018-06-072-0/+96
| | | | | | | | | | Change-Id: I0553003dc8776edf6dd4ffa4e57b441f4e5cff3b RTC:192605 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60095 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>
* Create attributes for intended PHYP ATTN areasJaymes Wilks2018-06-072-0/+48
| | | | | | | | | | | | | | | | This commit adds attributes for the ATTN areas that hostboot intends to open up for PHYP that FSP can read for awareness. Change-Id: I6371665b08c0ab082e467fc3bec96503f54f8dd3 RTC:186439 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59903 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: William G. Hoffa <wghoffa@us.ibm.com>
* Set DECONFIG_GARDABLE for SMPGROUP targetaravnair-in2018-06-071-2/+2
| | | | | | | | | | | | | This is needed to support SMP endpoint deconfiguration Change-Id: I6abbd6717d2fb4f32813681f94318779b783748f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60064 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: DHRUVARAJ SUBHASH CHANDRAN <dhruvaraj@in.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Comment why we add INSTANCE_PATH specifically for SMPGROUParavnair-in2018-06-071-0/+2
| | | | | | | | | | Change-Id: Iece3678f64ef623464144b3f6a189d0516e01564 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59313 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>
* missing memory: istep 7 and 14 changesPrachi Gupta2018-06-061-34/+58
| | | | | | | | | | | | | | | | | | | | | There are two cases where hostboot's attention is required in istep7: - If HRMOR we booted with doesn't fall in the range of proc_mem_to_use's memory, then the SBE is old. HB will do an sbe update and request re-ipl - If HB deconfigured a bunch of dimms in istep7 and ran out of memory, then we will request a reconfig loop Then, in istep14, we added another sanity check to make sure we have memory as expected to prevent unexpected failure after exiting cache contained mode. Change-Id: I018f4ce862cc79b5d7bacbe01cc28d1d2b4fc788 CQ:SW430015 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59696 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>
* Secure Boot: Enabled final Secure Boot settings for ZeppelinNick Bofferding2018-06-042-39/+0
| | | | | | | | | | | | | | | | - Force TPM_REQUIRED to 1 in various XML models (by not overriding default) - Remove old reference to SECUREBOOT_BEST_EFFORT policy in HBConfig - Double initial TPM log size Change-Id: Ibc9a2075ec5e490a876415d5743da40984f172f7 RTC: 187292 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59776 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> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Refactor re-init of targeting data during MPIPL/HBRT startupChristian Geddes2018-06-021-50/+123
| | | | | | | | | | | | | | | | | | | | There are a couple of things we have to do to targets/attrs when we either transition from Hostboot->HBRT or from HBRT->Hostboot during an MPIPL. These include resetting all of the mutex attrs so they are in the unlocked state and updating the pointer which PEER_TARGET stores as a value to reflect the change in the memory mapping. For both of these tasks we need to loop through all of the targets.This refactor allows both these tasks to be done in the same loop. Change-Id: I23614bba11b2c9eabb97a7ddc7a53937f83dc131 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58316 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: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add support for getting SBE Capabilites; extract SBE Version, Commit ID and TagsRoland Veloz2018-06-012-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Structure sbeCapabilities_t was added to the sbe_utils.H, a common file that can be shared among other files that need the sbeCapabilities_t struct. The psuCommand structure was updated, in file sbe_psudd.H, to facilitate the PSU call to get SBE Capabilities. Also structs fifoGetCapabilitiesResponse/ fifoGetCapabilitiesRequest were added to file sbe_fifodd to facilitate the FIFO call to get SBE Capabilities. Attributes SBE_COMMIT_ID, SBE_VERSION_INFO and SBE_RELEASE_TAGS were added to the target '<id>chip-processor</id>'. These attributes are the ultimate receiver of the SBE capabilities' version, commit id and release tags info. New file sbe_capabilities.C contains the call to getPsuSbeCapabilities and getFifoSbeCapabilities which ultimately perform the call to do the PSU chip operation, FIFO chip operation and update the attributes above. In step 6, host_discover_targets, and in step 8, call_proc_check_slave_sbe_seeprom_complete, is where the calls to getPsuSbeCapabilities and getFifoSbeCapabilities are made respectively. The file FipS_SBE_Interface_Specification_v1.3a.pdf (FIFO), file Host_SBE_Interface_Specification_v0.9d.pdf and looking at HW code were used to guide the coding of this. Change-Id: I32ccdeab7bf0a478298b199d42d74650a3f393f6 RTC:181139 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56317 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: Martin Gloff <mgloff@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>
* Add Mutex and Error Recovery for Node CommunicationsMike Baiocchi2018-05-312-0/+28
| | | | | | | | | | | | | | | | | | | | This commit adds the attributes needed for a mutex XBUS and ABUS lock and then uses them in the Node Communications Device Driver. It also adds some additional error recovery to the Node Comm DD. Plus, it adds some additional SCOMs to the Read and Write Node Comm DD operations. Change-Id: I27b94f29a6e3c2e3e2ba98fec48cc000c39add47 RTC:191008 Depends-on:I19510888c0922e5bb857cffc9426399e79e113ba Depends-on:I11893af06b7a097b43106117d648e9a431c4f3ea Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59292 Reviewed-by: Nicholas E. Bofferding <bofferdn@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: William G. Hoffa <wghoffa@us.ibm.com>
* Fix range Tags in attribute_types.xmlIlya Smirnov2018-05-291-8/+8
| | | | | | | | | | | | | | | | | | "range" tags in attribute type definitions need to be outside of the "simpleType" tags for the xmltohb.pl parser to recognize and process them correctly. This change factors out the range tags from under simpleType tags. Change-Id: Idf023e7ff036457cefcd4f32fbf00fd176eb4b92 RTC: 191163 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59460 Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Set Master Proc Attrs during MPIPL FSP Fail-Over ScenarioBill Hoffa2018-05-241-1/+68
| | | | | | | | | | | | | | | | | | | | - Need to account for a Service Processor Fail-Over scenario where the 'master' processor could change. Because of this, FW must re-evaluate which target pointer is the current master and update attributes accordingly. Change-Id: I83ada72389f05cc2a80d4c6a34db7d9ab3c2b3ce CQ: SW429022 RTC: 182718 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59221 Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> 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: William G. Hoffa <wghoffa@us.ibm.com>
* Clear Block Spec Deconfig Attribute when Gard is removedMarty Gloff2018-05-244-155/+159
| | | | | | | | | | | | | | | | | | | In the Resource Recovery redesign, the Block Spec Deconfig attribute gets set when a check for minimal hardware fails to find enough hardware, and it gets cleared when there is a hardware change. Now, the Block Spec Deconfig attribute will also be cleared when a target that had gard applied no longer has any gard records. Change-Id: I8f93ca4821b1360638a94855c0aadb3dda365046 CQ: SW429890 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59325 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian E. Bakke <bbakke@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@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: William G. Hoffa <wghoffa@us.ibm.com>
* Fix instance path for SMPGROUP targetaravnair-in2018-05-241-0/+1
| | | | | | | | | | | | | | Currently the SMPGROUP targets under the OBUS BRICK gets the same INSTANCE_PATH as the parent brick. This messes up the HUID-NID mapping table needed for SMP endpoint deconfig efforts. Change-Id: Id00cb695378d95bac473cf7a09531ce7c1f8354c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59246 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>
* Fixup all the voltage rail's ID attribute for both proc and centPrachi Gupta2018-05-231-0/+74
| | | | | | | | | | | | | | | | | | | | | | HWSV uses the following voltage rail ID attributes to determine the right FSP_DEVICE_PATH (i2c path) and calls the power api to set the voltages for each of the rails correctly. Since, all the IDs were 0, we were setting only proc0/membuf0's voltages correctly. Everyone else was getting standby voltage. This change looks at the vrm connectors in the system xml and use their position as the voltage rail IDs as they are unique per node, which is what HWSV is expecting. The rails are: VDD_ID/VCS_ID/VDN_ID/VDDR_ID/VPP_ID/etc. Change-Id: Ib23eaa43045fa77137c5ce5e477d007bf0c757dc CQ:SW428817 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59140 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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add Proc # to TPM's Affinity PathIlya Smirnov2018-05-226-9/+72
| | | | | | | | | | | | | | | | | Added logic to include the proc # in the affinity path for TPMs. This change is required by HWSV for TPM alignment check. Change-Id: Ie92b57cab6dc64ae13cee25fba4169cd9a5f99ca RTC:191163 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58992 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: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Removing attributes that got added back in a bad mergeDan Crowell2018-05-191-32/+0
| | | | | | | | | | | | | A_REPAIR_THRESHOLD_FIELD A_REPAIR_THRESHOLD_MNFG Change-Id: I19caff6441699c544600aab96c2d47542cc8cb8e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59075 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>
* Fixes to node IPC messaging to handling non-zero base addressesBrian Bakke2018-05-182-0/+15
| | | | | | | | | | | | | | | | This is 1st phase which adds an Attribute as a container to preserve the calculated addresses across an MPIPL. Change-Id: I610b11b320331a82260fe790a8680a2a98bf992b RTC:191463 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58942 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: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add option to masterProcChipTargetHandle() to return functional chipMike Baiocchi2018-05-181-6/+29
| | | | | | | | | | | | | | | | | | | | | This commit adds an option to the two masterProcChipTargetHandle() functions to only look for and return a functional master proc chip as necessary with the issue in Defect SW424528. The default behavior of these functions - where the functionality is not checked - remains the same. Once use of these functions has also been updated to use this new option. Change-Id: I37049d2cb9299a9404b57d85031a364bdb257c82 CQ:SW424528 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58920 Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@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: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
OpenPOWER on IntegriCloud