summaryrefslogtreecommitdiffstats
path: root/src/usr/ipmi
Commit message (Collapse)AuthorAgeFilesLines
* Fix setting hbVolatile and RebootControl sensorsMatt Derksen2018-01-161-5/+7
| | | | | | | | | | | | | | | | Setting sensor to 2 equates to BMC setting of 1, Setting sensor to 1 equates to BMC setting of 0. Change-Id: Ib3c4b4a144a8fad5bd4f93be88bbe0ff7476ab64 RTC: 180772 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51787 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Adriana Kobylak <anoo@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>
* Add HB_VOLATILE sensor so OpenBMC can mark volatile sectionsMatt Derksen2017-12-211-0/+79
| | | | | | | | | | | | | | | | Set sensor to 1 to tell OpenBMC code to allow hostboot volatile section to be cleared. RTC: 180772 Change-Id: Id63e3ae8a24facd5e01e8bf94688a60f066ba838 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51101 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: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Fix grabbing config from NV keyword dataMatt Derksen2017-11-151-9/+33
| | | | | | | | | | | | | | | | getGPUSensors was returning INVALID_IPMI_SENSOR for all GPUs as it was incorrectly reading the NV config ID. Change-Id: Iab71302f2066304dbf17e4fafcde0af8ca3c1240 CQ: SW407191 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49615 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> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian E. Bakke <bbakke@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix some review comments for sending down OCC info logs to BMCMatt Derksen2017-11-091-1/+3
| | | | | | | | | | | | | | Change-Id: I9ed25562af671a6df34746d5900e781ff1dcc517 RTC:180324 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49366 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian E. Bakke <bbakke@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: William G. Hoffa <wghoffa@us.ibm.com>
* Send down OCC info logs to BMC for call-homeMatt Derksen2017-11-091-16/+28
| | | | | | | | | | | | | | | | | | This creates a new eSEL type (dd) to display informational callhome logs. The OCC will send down telemetry information to track the general health of the system using this new log. Change-Id: I0319798554c4e48c287953bd2d0de8352bfc4909 RTC:180324 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48776 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian E. Bakke <bbakke@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Control Host reboots for manufacturingDean Sanner2017-11-061-0/+82
| | | | | | | | | | | | | | | | | | | | | | In a manufacturing environment it is desired to reboot once (and only once) to get the FIRDATA analysis on checkstop. This commit adds functionality to control the auto reboot policy on the BMC. It then "remembers" the state using the HB VOLATILE PNOR partition to enable reboots when in MFG mode. Note that when in this mode, any reboot (even from host) will terminate the boot. Change-Id: If5ce133b59e10c659d7024d1ae08a40988e35190 RTC:180772 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48116 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* ipmi: add support for reading SEL time from BMCRobert Lippert2017-10-301-1/+22
| | | | | | | | | | | | | | | | | The SEL time is used as the equivalent of the RTC on OpenPOWER platforms and can be used to timestamp events. Resolves #116 Signed-off-by: Robert Lippert <rlippert@google.com> Change-Id: I2cc7f3054e0d58fa3e2d083005d0f4e05adf8d2f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48375 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: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Set variables to nullptr after they are deletedChristian Geddes2017-09-252-0/+3
| | | | | | | | | | | | | | | | | | While updating some LPC logic a developer noticed a bug where an errlog handle wasnt getting set to nullptr after it was deleted this caused a confusing bug that took awhile to track. I noticed that this bug was all over our code so this commit fixes a lot of cases where variables get deleted but not set to nullptr Change-Id: I103b5c71b93686c3c89b04d1d565a24d4de74e6f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45890 Tested-by: Jenkins Server <pfd-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> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add sensor name to IPMI sensor error logsDan Crowell2017-09-121-5/+12
| | | | | | | | | | | | Change-Id: I5a71cb466d683d9a77a6c905ac33fa21a1d5d348 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45315 Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@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: William G. Hoffa <wghoffa@us.ibm.com>
* Small cleanup for OCC/HTMGT GPU sensor supportMatt Derksen2017-09-061-7/+8
| | | | | | | | | | | | | | | Made const more generic instead of system specific Change-Id: I6229c727428c0c077d335e5c1eb66e06651ea39d RTC:178218 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45654 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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* New OCC/HTMGT interfaces for GPU sensor supportMatt Derksen2017-09-052-1/+369
| | | | | | | | | | | | | | | getGpuSensors() and updateGpuSensorStatus() Depends-on: I8a0de390516fd02df07860b960db506899b13f14 Change-Id: I290876d0e5f4889e6f2b1a45b5f81172acb28caf RTC:178218 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45196 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> 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> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Added Error log support for new GPU sensorsMatt Derksen2017-09-011-0/+83
| | | | | | | | | Change-Id: I8a0de390516fd02df07860b960db506899b13f14 RTC:178218 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45116 Tested-by: Jenkins Server <pfd-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>
* Secure Boot: Shutdown after key transitionNick Bofferding2017-07-282-12/+38
| | | | | | | | | | | | | | | | | | - Fence off istep path after istep dispatcher stops - Automatically power off after a key transition has completed - Added IPMI API to power off system Change-Id: I74eaec08e86d0cbc46db6aa1674845c53bcf14d4 RTC: 174017 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43436 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: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Replaced calls to bmc for sensor type with static information.Donald Washburn2017-06-272-1/+386
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sendErrLogToBMC function was calling to the bmc in order to determine the type of a sensor based upon a sensor number. It was determined that the sensor type can be obtained from the sensor number by data loaded during initialization via the TARGETING namespace. The ipmi call from SenorBase::getSensorType was removed from the sendErrLogToBMC function and replaced with a call to IpmiConfigLookup::getSensorType. The getSensorType function from the new IpmiConfigLookup class retrieves sensor data from target attributes and as such does not call the bmc for the type information. * Added the new IpmiConfigLookup class in the IPMI namespace. This class provides static methods to retrive sensor data provided by the IPMI_SENSOR target attribute. In addition to sensor type, the sensor entity id and sensor name can be obtined from this class based upon a sensor number. * Changed sendErrLogToBMC to call IpmiConfigLookup::getSensorType instead of Sensor::SensorBase::getSensorInfo. RTC: 164493 Change-Id: Ie8e7fa5c37fa972d6cecd1e4b69e2d0cb7504533 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42128 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add leap year and days of month into build date for ipmi fru invMatt Ploetz2017-05-222-8/+40
| | | | | | | | | | | | | Change-Id: I6c378db6aad5cc1ff2d93d2a220e8dbc4a934f7b RTC:172125 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40664 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: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Support manufacturing date VPD in IPMI fru inventoryMatt Ploetz2017-05-022-11/+161
| | | | | | | | | | | | Change-Id: Iab5d8d5fdc0a9c361de9f28348719c36fcddb827 RTC: 158892 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38365 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Revert "Sending Firmware progress sensor is now synchronous"William G. Hoffa2017-02-271-40/+1
| | | | | | | | | | | | This reverts commit 9b188cdec934275ce65eab3ade91398fdec4ddb9. Change-Id: I6e61680c204734638b03f628abb1d0e4d4f590e8 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36983 Reviewed-by: STEWART E. SMITH <stewart@linux.vnet.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* OP820:OPRASGS:Garrison:Hostboot IPL fails to halt during shutdown reconfigRichard J. Knight2017-02-072-2/+50
| | | | | | | | | | | | | | | | | | | | | -Added the ability to notify the istep dispacher discontinue executing isteps -Added call to stopIpl() api in sbe update path -Added internal graceful reboot request for SBE update and reconfigure re-ipl usage Change-Id: I5682992802b0f373df91378a38187d032bb3a0b4 CQ:SW361886 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27959 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: Jenkins OP HW <op-hw-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: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28574 Reviewed-by: Dean Sanner <dsanner@us.ibm.com>
* generate errl for missing IPMI sensor number instead of assertRobert Lippert2017-01-041-2/+20
| | | | | | | | | | | Change-Id: I23310799e35e8d58ff23805ee988d4ff8f3fa5e3 Signed-off-by: Robert Lippert <rlippert@google.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33980 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: OCC InitializationAndres Lugo-Reyes2016-12-091-1/+1
| | | | | | | | | | | | | | | | | Contains the changes for p9 OCC init. Mostly a port from p8. New cmd/rsp buffers and data format for packets. This commit also makes HTMGT fapi2 compatible. Change-Id: I6182163e569ac97f06e3ddfbb69deab90e849de3 RTC:133945 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31010 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> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Adding interface changes to provide BMC information to HDATElizabeth Liner2016-10-193-34/+46
| | | | | | | | | | | Change-Id: I3ad70f2886fe8c0fc420bf490effbde33e477010 RTC:161648 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30994 Reviewed-by: VENKATESH SAINATH <venkatesh.sainath@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Add interfaces for HDAT to fetch new dataDan Crowell2016-10-161-0/+11
| | | | | | | | | | | | | | | | | | New interfaces added: I2C::getDeviceInfo() IPMI::getBmcInfo() CONSOLE::getUartInfo() New attributes: SYSTEM_FAMILY SYSTEM_TYPE Change-Id: I7d1a018c01067a19b8a66f853e11922c910fcc54 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30405 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix for setting IPMI_MAX_BUFFER_SIZE attributeCorey Swenson2016-07-241-11/+11
| | | | | | | | | | | | | | | | | | Change-Id: I34ae9ee877dbb2219bd0dda4deba76b2c01901e2 CQ:SW354308 ForwardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25405 Tested-by: Jenkins Server Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25736 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Trustedboot PCR Extend reworked to use task message queueChris Engel2016-07-181-2/+2
| | | | | | | | | | | | | | Removed TPM log manager and required functions from HBB and replaced with a simple message queue Change-Id: I5f5a418b6ea8c0228229e8c45523385b488e2b6b RTC: 155519 ForwardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27133 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Engel <cjengel@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Avoid visible errors during SBE updatePrasad Bg Ranganath2016-07-182-1/+83
| | | | | | | | | | RTC: 135822 Backport: yes Change-Id: I9581abc5f1d0cb4812743190c9914b11c63c0089 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/764 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* DDR4 - Allow SPD writesaalugore2016-04-211-1/+2
| | | | | | | | | | | | | | | | | | | -DDR4 has 512-byte EEPROM with 2 256-byte pages. This commit contains the necessary page switching logic to support this. Change-Id: Iaa8e3e344def98b71d6a9e9387c5e0d9137a0397 RTC:137707 ForwardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/797 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins OP Build CI Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/871
* Sending Firmware progress sensor is now synchronousAndres Lugo-Reyes2016-03-211-0/+39
| | | | | | | | | | | | | | | | Change-Id: I22dc54cc4472958aec35a23d91740106be0be928 CQ:SW336181 ForwardPort:yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21902 Tested-by: Jenkins Server Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Jay M. Azurin <jmazurin@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22300
* Ensure ipmiSel thread finishes before shutting down ipmiddMatt Ploetz2016-03-172-20/+39
| | | | | | | | | | | | | | Change-Id: I07a5ea99e5e5c5672bf889689b25551b9c95b0ff CQ:SW328077 ForwardPort:yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21876 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: A. P. Williams III <iawillia@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22151 Tested-by: FSP CI Jenkins Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Adding chip DD/EC levels to FRU inventoryElizabeth Liner2016-03-022-10/+61
| | | | | | | | | | | | | | | Change-Id: Ibed8e8ed630db69d20778e1a9b21b6becd307f7a RTC:124665 ForwardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/20669 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21616
* DIMM Present sensor not active after dimm is deconfiguredRichard J. Knight2016-02-241-2/+16
| | | | | | | | | | | | | | | | | | -Modified set sensor reading command to not use the bit by default in the operation field which triggers the BMC to overwrite the existing assertion mask. -Updated the reboot count sensor to use the operation specified by AMI to overwrite existing data in assertion mask field. Fixes open-power/hostboot#47 Change-Id: I81958225480f495f8b0d4f523d0c8109832475f6 CQ:SW328073 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23947 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* No data in System_Event SEL to decode procedure calloutsPrasad Bg Ranganath2016-02-191-51/+105
| | | | | | | | Change-Id: I21d3bd2089e1db460a5d41b874bf1b1ab98ca8bf CQ: SW328277 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22578 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Set watchdog and set sensors are now asynchronous sendsElizabeth Liner2016-02-193-47/+44
| | | | | | | | | | | Backport: master-p8 Change-Id: If8741e67986c6d6df95a655fb5669df764649e82 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18993 Tested-by: Jenkins Server Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* SW328412 - Multiple SELs per eSELBen Rafanello2016-02-191-2/+5
| | | | | | | | | | | | | | | | | | | | | | | The problem being fixed is the generation of multiple SELs per eSEL when sending of the eSEL to the BMC fails due to loss of SEL reservation on the BMC. The code in send_esel is not supposed to generate the SEL if there was an error sending the eSEL(the eSEL is in the log stored on the PNOR and will be sent after the next reboot if it has not been marked as having been sent to the BMC). The error is that there are two error variables that need to be checked in order to determine if there was an error sending the eSEL to the BMC. The code was only checking one of those. Change-Id: I1346b29d8c31ed862b0bcfba9a6b8f057030ac20 CQ:SW328412 backport:master-p8 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22663 Tested-by: Jenkins Server Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Race condition in IPMI-SEL thread startBen Rafanello2015-10-191-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a defect where we shutdown Hostboot before the SEL that caused the shutdown is sent to the BMC. The SEL processing of error logs is done in the background by a thread that is only started when the first error log is committed. Due to lack of proper synchronization, the shutdown could previously occur before the SEL thread had fully started and registered itself in the shutdown processing to ensure its queue was flushed. Modified the IPMI-SEL thread start up to synchronize with a barrier after it has completed its init actions (such as registering for shutdown). This ensures that the thread triggering the start up does not continue, and trigger shutdown, until the initialization is complete. Change-Id: Ie25a5c6e81580375fd18dfe4431660ca14f78273 CQ:SW322712 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21270 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update membuf/backplane fru inventory dataRichard J. Knight2015-09-181-57/+101
| | | | | | | | | | | | | | | | | -Modify the backplane fru inventory so that it no longer includes the centaur ecid -Remove OPAL fru id from device tree Change-Id: I8792f3b1fd7016cd303be6e7652812067fdccc38 RTC:136210 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20312 Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Jay M. Azurin <jmazurin@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* add 'OEM' bits to event_data in error log selBrian Horton2015-09-111-0/+2
| | | | | | | | | | | | | per the table in section 29.7 of the IPMI spec. Change-Id: I82dc7c9e2e98ac0d6555253435388d47b686f25c Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20247 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* fix issues with dup sel/eselBrian Horton2015-09-031-29/+54
| | | | | | | | | | | | | | | | | | . call errlmanager ack inline/synchronously, so that we don't have dup eSELs due to shutdown . don't resend sensor SEL events for errorlogs read out of PNOR Depends-On: Ia2b211d8ebf489e92f2bc3d281d92175a6b61f30 Change-Id: I32c8e49ef2e00567987cdf030a225b61e7077cf6 CQ: SW312094 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19993 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* add support to write errlog to PNOR during runtimeBrian Horton2015-09-031-9/+1
| | | | | | | | | | | | | | | | Change-Id: Ia2b211d8ebf489e92f2bc3d281d92175a6b61f30 Depends-On: I170d6586062b6e4684a55782df83a1b19ed7d937 Depends-On: Id8c44b0dcdb5714c163ac6485a53216786f9fbcf Depends-On: I626bce5c8c0c8b7d0a44408280de178c7a86a83f RTC: 123419 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18233 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Tested-by: Jenkins OP HW Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Return valid fault sensors for all types of calloutsRichard J. Knight2015-08-182-16/+37
| | | | | | | | | | | | | | | | | | - Update code to return sensor numbers for targets which represent replaceable parts. - Use System Event sensor for procedure callouts. - Update code to handle all hw callout types. Change-Id: I626bce5c8c0c8b7d0a44408280de178c7a86a83f CQ:SW306556 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18097 Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW
* Fix up some malformed error log tagsDan Crowell2015-08-105-16/+16
| | | | | | | | | | | Change-Id: Ief8c1bca26f2c630cd4699ccc1b8edec67834dfc Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19644 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Christopher Cain <cjcain@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Change the way we handle response to chassis power cycleMatt Ploetz2015-07-212-5/+14
| | | | | | | | Change-Id: I7cb62670fe4b1ce900d0bd2a03061248d5123cc0 RTC:131615 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19148 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Apply derating factor from sensor valueRichard J. Knight2015-07-021-7/+17
| | | | | | | | | | | | | | | -Update getPowerLimit command to use the acutal value of the derating factor stored by the BMC. Change-Id: I96d7515764569e10c54dbbbacc878514e6cf9485 RTC:124093 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18251 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins OP HW Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Changes to FRU inventory to support memory riserBill Schwartz2015-06-262-12/+91
| | | | | | | | | | | | | | Follow up to 118373. Update to use 122890 Add serial numbers/part numbers Change-Id: I5d3aee87a2672c193c6fcab78dfa60d661d130e2 RTC: 117702 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18686 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: ANDRES A. LUGO-REYES <aalugore@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Change to set Byte 1 of the FW Boot Progress SensorBill Hoffa2015-06-261-1/+1
| | | | | | | | | | | Change-Id: I0b1201740cd96971f87edd7af535c79f3374fe24 RTC:SW312388 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18781 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Reviewed-by: Jay M. Azurin <jmazurin@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Ignore IPMI SEL Event instead of treating as a Power-Cycle CommandBill Hoffa2015-06-102-38/+64
| | | | | | | | | Change-Id: I8a720130400c6f4e8b989d61f00a75e89d248c06 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17992 Reviewed-by: MATTHEW A. PLOETZ <maploetz@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Set Byte 2 of the FW Boot Progress SensorBill Hoffa2015-06-081-1/+1
| | | | | | | | | | Change-Id: I3e00eb99db16bf9d1920a4761c8ca489c2bc365a RTC:129439 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17989 Tested-by: Jenkins Server Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: MATTHEW A. PLOETZ <maploetz@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* IPMI: C++11 bad string literal concatenationPatrick Williams2015-06-089-11/+11
| | | | | | | | | | Change-Id: I6e19a80eb1918b9b9ceb714c5e90110d17081480 RTC:124186 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17975 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add support for backplane VPDBill Schwartz2015-05-212-188/+426
| | | | | | | | | | | Replace the temporary use of mem buf to access planar vpd with new planar vpd interfaces. Change-Id: I24cda4d713806330a9f61d588006d63966f92550 RTC: 118373 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16326 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Investigate graceful shutdown path anomoliesRichard J. Knight2015-04-241-1/+1
| | | | | | | | | | | -Fix shutdown loop to notify processes correctly -Block pnor writes when gracefull shutdown is in process Change-Id: I1d882e8596a0218fa499d947f3c6387e7ecd4ee8 RTC:125361 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16852 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Add PNOR Version Information to IPMI Fru InventoryBill Hoffa2015-04-242-0/+252
| | | | | | | | Change-Id: Ib49fe67e9c6631b2b7ea0005e692c9aea6d84057 RTC:123353 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16768 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud