summaryrefslogtreecommitdiffstats
path: root/src/include/usr/ipmi
Commit message (Collapse)AuthorAgeFilesLines
* Get SN from BMC and update into PVPD EEPROMMeng Li2018-05-192-2/+20
| | | | | | | | | | | | Resolves #135 Change-Id: I46b5c2208ed28822c6001a955f4056d976e79339 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58010 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>
* Enable super-long watchdog timer when console traces are enabledDan Crowell2018-05-021-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | When console traces are enabled, the boot takes significantly longer than usual. Our standard watchdog timeout of 2 minutes is not sufficient. Made the following changes: - Tied the enablement of the long timeout to the CONFIG flags for console traces - Increased the timeout to 1 hour (from 40 minutes) since this is lab only and false positives are the worst... - Added a couple clarifying traces to make future watchdog debug simpler Change-Id: I92bb0b07cb77a13cb390450999b285f2ad74168d CQ: SW425407 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57580 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@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: Christian R. Geddes <crgeddes@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 setting hbVolatile and RebootControl sensorsMatt Derksen2018-01-161-7/+11
| | | | | | | | | | | | | | | | 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-212-0/+69
| | | | | | | | | | | | | | | | 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>
* Increase error log size to 4K for obmc systemsBrian Bakke2017-12-111-4/+2
| | | | | | | | | | | | | Change-Id: I63f4dfd21080693aaf7eabe682fa597b40f7d77b RTC: 182608 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50603 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: 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>
* Send down OCC info logs to BMC for call-homeMatt Derksen2017-11-091-4/+19
| | | | | | | | | | | | | | | | | | 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-062-0/+68
| | | | | | | | | | | | | | | | | | | | | | 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-302-1/+12
| | | | | | | | | | | | | | | | | 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>
* Remove NETFUN_AMI from ipmiif.HIlya Smirnov2017-10-111-3/+1
| | | | | | | | | | | | | Change-Id: Ic46fc04f682554e2aa9f7bfafa09cd667574825f RTC:180471 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/47018 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* New OCC/HTMGT interfaces for GPU sensor supportMatt Derksen2017-09-051-8/+96
| | | | | | | | | | | | | | | 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/+50
| | | | | | | | | 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>
* SBE update plan for OpenPOWERMarty Gloff2017-08-091-1/+5
| | | | | | | | | | | | | | | | | | | | We need to have a new way to handle the SBE update flow for OpenPOWER. Update the SBE code one side at a time to avoid a scenario where a bad code load bricks the system. Start by loading side 0 (primary), then re-IPL, and finally load side 1 (backup). A new config flag is used, SBE_UPDATE_CONSECUTIVE. Change-Id: Icf18ebec173c2f42fe200fb9cd547b9ebc580acc RTC: 176755 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43893 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Secure Boot: Shutdown after key transitionNick Bofferding2017-07-281-6/+28
| | | | | | | | | | | | | | | | | | - 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-7/+255
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Support manufacturing date VPD in IPMI fru inventoryMatt Ploetz2017-05-021-0/+2
| | | | | | | | | | | | 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-272-17/+3
| | | | | | | | | | | | 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-071-1/+9
| | | | | | | | | | | | | | | | | | | | | -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-0/+2
| | | | | | | | | | | 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>
* fixes necessary to compile with BT IPMI config option enabledRobert Lippert2016-12-191-1/+2
| | | | | | | | | | | Change-Id: I13842c0b7aed33a7e61fa3a57f00e91702dd594c Signed-off-by: Robert Lippert <rlippert@google.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33979 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Adding interface changes to provide BMC information to HDATElizabeth Liner2016-10-191-7/+8
| | | | | | | | | | | 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/+23
| | | | | | | | | | | | | | | | | | 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>
* Avoid visible errors during SBE updatePrasad Bg Ranganath2016-07-181-0/+64
| | | | | | | | | | 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>
* Workarounds for reducing IPL time with trace-liteJay Azurin2016-05-171-1/+11
| | | | | | | | | | | | | | | | | | | Increase the watchdog timeout value to prevent watchdog resets when running with trace-lite enabled. Add option to exclude FAPI trace component to reduce IPL time Change-Id: I577bf775461e3ae256b48a9eb5d4bbdee6deae49 CQ: SW352263 ForwardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24482 Tested-by: Jenkins Server Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> 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-on: http://ralgit01.raleigh.ibm.com/gerrit1/24601
* Sending Firmware progress sensor is now synchronousAndres Lugo-Reyes2016-03-212-2/+16
| | | | | | | | | | | | | | | | 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-6/+7
| | | | | | | | | | | | | | 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>
* No Callout in SEL for ABUSJaymes Wilks2016-03-031-2/+7
| | | | | | | | | | | This commit adds endpoint information into SELs for abus callouts. Change-Id: Ie83ccd437d0a1ed6ae96c24bab31843af19fda9f CQ:SW321779 ForwardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/20723 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* DIMM Present sensor not active after dimm is deconfiguredRichard J. Knight2016-02-241-1/+10
| | | | | | | | | | | | | | | | | | -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-10/+76
| | | | | | | | 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-191-13/+5
| | | | | | | | | | | 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>
* Race condition in IPMI-SEL thread startBen Rafanello2015-10-191-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Return valid fault sensors for all types of calloutsRichard J. Knight2015-08-182-2/+25
| | | | | | | | | | | | | | | | | | - 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-101-0/+1
| | | | | | | | | | | 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 IPMI watchdog action to hard resetMatt Ploetz2015-08-071-1/+1
| | | | | | | | | | Change-Id: Ib67afa1c7c59df041e9d0622d931b1c396e6767f RTC:133088 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19609 Tested-by: Jenkins Server Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@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-211-0/+1
| | | | | | | | 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>
* Ignore IPMI SEL Event instead of treating as a Power-Cycle CommandBill Hoffa2015-06-101-0/+1
| | | | | | | | | 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>
* Chassis power cycle does not have correct actionRichard J. Knight2015-04-091-0/+7
| | | | | | | | | | | | | -Fix power control sequence to issue a power cycle reqest when a chassis power cycle modifyer is sent in BMC request. Change-Id: Ib3fb9da6e916d6faa7c4cfd50184d4133af62c34 CQ:SW297663 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16776 Tested-by: Jenkins Server Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Reject IPMI events which aren't destined for the hostBrian Silver2015-04-021-0/+8
| | | | | | | | | | | Change-Id: I378e0763c5ca8c13830d0e6c057b24e6beb5dc8c Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16671 Tested-by: Jenkins Server Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* change error log to SEL processingBrian Horton2015-03-111-2/+18
| | | | | | | | | | | | | for hostboot runtime, do not send eSEL (AMI bug) for hostboot ipl, send down SEL following eSEL Change-Id: I86ee9766e27548c3f7f72fbdbfd76c8a8be7da73 RTC: 124971 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16107 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update Shutdown Path for SBE UpdatesMike Baiocchi2015-03-011-0/+1
| | | | | | | | | | | | | | | | This change will do the following: -- Flush out a console message to alert the user that the system is shutting down to perform a SBE Update. -- Set the watchdog timer to 15 seconds before shutting down. -- Set the watchdog timer to NO_ACTIONS such that the boot count sensor will handle the re-IPL. Change-Id: I3e8ca07030e50a56cd8bafc514bab036e3fdab96 RTC: 120734 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16045 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Assert called when trying to deconfigure a DIMMRichard J. Knight2015-03-011-0/+1
| | | | | | | | | | | | | | -Remove assert call from default path. Assert should not be called for targets without status sensors. Path should be a no-op. Change-Id: Id1aa002ea3d79cf24b5c123cbd92647257d12093 RTC:124846 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16058 Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update dev tree with additional sensor informationRichard J. Knight2015-02-281-0/+96
| | | | | | | | | | | | | | | -Add sensor type, reading type and specific offsets. -Add IPMI entity ID and instance information for sensors -Include IPMI Enity instance in targets which have ipmi sensors attribute Change-Id: I02b0a5046c67e2e00af30a0c78cbcc182ae4c0cd RTC:123186 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15881 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* IPMI FRU UpdatesBill Hoffa2015-02-251-5/+39
| | | | | | | | Change-Id: Iab7684e1ab89cc29311d6882206952bb2966e4e4 RTC:119680 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15860 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Changes for IPMI interworkingBrian Silver2015-02-251-12/+9
| | | | | | | | | | | | | | | | | | | | Move the check for too many outstanding requests so we don't rely on the control register busy state to stop xmit Remove the error log for unexpected messages. Remove the error log for async messages. RTC: 124619 Change-Id: I74917ee900b71d8d296ae56bc3625a4357a9f72a Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15968 Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: MATTHEW A. PLOETZ <maploetz@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Updates to support serverwiz2 sensor formatRichard J. Knight2015-02-252-21/+25
| | | | | | | | | | | Change-Id: I2518f6e78197f8dc329641e38264a7878060509d Depends-on: I09c95f470ca4748eeed568b71dc1c8b6e1c3ab76 RTC:124008 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15853 Tested-by: Jenkins Server Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Set watchdog timout to 120 second defaultRichard J. Knight2015-02-241-4/+6
| | | | | | | | | | Change-Id: I945d43e05e500639b558ee7c920e384f13b96cdc RTC:124402 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15885 Tested-by: Jenkins Server Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* enable IPMI interface for hostboot runtime (hbrt)Brian Horton2015-02-232-16/+20
| | | | | | | | | | | | | | This will be used by the errlog code to send committed logs to the BMC, and by sensor code for read and writes. Change-Id: Ie1f8013dddea99af14bfe166d45e7a74f0806efe RTC: 120094 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15674 Tested-by: Jenkins Server Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add support for soft power off command from BMCRichard J. Knight2015-02-191-3/+9
| | | | | | | | | | Change-Id: I065a281700dc7a878e1502b29b06a70aba5896f9 RTC:108830 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15747 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update to use uint32_t sensor numbersRichard J. Knight2015-02-192-18/+12
| | | | | | | | | | | | | | | | -Add frequency sensor type/numbers -Add getTargetFromSensor interface -Fix missing gaps in DIMM Temp sensor range -Add Centaur Temp sensors -Move getSensorNumber to targeting Change-Id: Id788a60b4dc0171402817408e8c6d6dcd637048c RTC:123523 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15653 Tested-by: Jenkins Server Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Make OCC_Active sensor readableRichard J. Knight2015-02-162-14/+85
| | | | | | | | | | | | | | | | | | - add support to base sensor object to read sensors - add is_active method to OCC_Active sensor - add static method to get sensor number from base object - add write support to Boot_count sensor Change-Id: I82685207e374766f56a4788607c71a93be5d976e RTC:120588 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15149 Tested-by: Jenkins Server Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* error log to esel integrationBrian Horton2015-02-162-2/+267
| | | | | | | | | | Change-Id: I2f134d73b114e4177e3e285defd85fbc21153913 RTC: 117454 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15466 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud