summaryrefslogtreecommitdiffstats
path: root/src/usr/ipmi
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* enable eSEL for HB errorlogs from hostboot runtime.Brian Horton2015-04-151-3/+0
| | | | | | | | | | Change-Id: I3dd50c5216e6481958c488220a38c3d6a810d61c RTC: 124972 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17014 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>
* Chassis power cycle does not have correct actionRichard J. Knight2015-04-092-8/+31
| | | | | | | | | | | | | -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>
* Update VPD Fields Use for Fru InventoryBill Hoffa2015-04-092-61/+46
| | | | | | | | | Change-Id: Iaa4802e72e355acd03cb88e58c40d1069dd76ef5 RTC:125044 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16766 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update getFaultSensor to map all target typesRichard J. Knight2015-04-021-29/+41
| | | | | | | | | | | | -fix logic to return sensor for any target. Change-Id: I3bb842d6a8708762ee6163420cdda382eb4fca72 RTC:125231 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16385 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>
* Reject IPMI events which aren't destined for the hostBrian Silver2015-04-021-35/+57
| | | | | | | | | | | 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-10/+51
| | | | | | | | | | | | | 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>
* Add "IPMI shutdown requested" to non-debug consoleRichard J. Knight2015-03-101-2/+15
| | | | | | | | | | | | | | | -Added console message to inidcate shutdown was requested via IPMI. Resolves open-power/hostboot#13 Change-Id: Ibe9c514a69a1c7003d455c1c86fa14cde6adecd3 RTC:125035 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16142 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Runtime fixes for IPMIDan Crowell2015-03-031-4/+8
| | | | | | | | | | | | | -initialize trace buffer in IPMI runtime code -fix buffer mixup -fix netfn format for opal call Change-Id: I612431f81d40f1698b585353da9c245adf1447e1 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16082 Tested-by: Jenkins Server Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Assert called when trying to deconfigure a DIMMRichard J. Knight2015-03-011-45/+51
| | | | | | | | | | | | | | -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>
* Mark Centaurs as present/functionl on IPLRichard J. Knight2015-03-011-3/+12
| | | | | | | | | | | | | | -Update Centaur status sensor after discove targets is called to initialize the Centaur Func sensors on the BMC Change-Id: I28b1047b50b690b97a20093721467f45455c5217 RTC:124846 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16059 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud