summaryrefslogtreecommitdiffstats
path: root/src/usr/ipmi/ipmidd.H
Commit message (Collapse)AuthorAgeFilesLines
* ipmi: Split into ipmibase and ipmiext modulesAndrew Jeffery2018-10-101-174/+0
| | | | | | | | | | | | | | | | | | Split the IPMI module into base and ext portions, with the BT interface, device driver and resource provider in the base portion, and all remaining IPMI functionality in the ext portion. The split is in preparation for moving the base functionality in the hostboot base image. Change-Id: Iec864f96240d79f4fadd5519d2ef46437d07c1fd Signed-off-by: Andrew Jeffery <andrewrj@au1.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66792 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* ipmi: IpmiDD and IpmiRP must never free resourcesAndrew Jeffery2018-10-101-10/+0
| | | | | | | | | | | | | | | | | | | An IPMI-based PNOR implementation will be introduced in the future. If it is in use (and it likely will be), then IpmiDD and IpmiRP must be functional right up until the shutdown() syscall is invoked. This is necessary because hostboot assumes parts of the PNOR can be paged in at any time (though not necessarily dirtied and flushed), and IPMI is now required to fulfil the requests. Remove the unnecessary shutdown-related code from both classes. Change-Id: I82276e5e12c8b917d655000a456b72a2ccacdb5f Signed-off-by: Andrew Jeffery <andrewrj@au1.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67077 Tested-by: Jenkins Server <pfd-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>
* ipmi: Break circular dependency between IpmiDD and IpmiRPAndrew Jeffery2018-10-081-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | Previously IpmiDD depended on IpmiRP to acquire IpmiRP's message queue for IpmiDD to enqueue hardware state change events. IpmiRP in-turn depends on IpmiDD for shutdown event handling, calling through IpmiDD::handleShutdown() in IpmiRP::shutdownNow(). Break the circular dependency by asynchronously publishing hardware state change events from IpmiDD on a queue owned by IpmiDD. IpmiRP consumes messages from IpmiDD's event queue and republishes them on its own internal queue for consumption by the state management task. This is a little inefficient but provides for greater design clarity in the face of a lack of a select() or poll() style interface that would allow listening for messages on multiple message queues. Change-Id: I3c3c3209d515ec9e90c04630779624bf85e953b1 Signed-off-by: Andrew Jeffery <andrewrj@au1.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65936 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Adding interface changes to provide BMC information to HDATElizabeth Liner2016-10-191-1/+32
| | | | | | | | | | | 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>
* BMC: Shutdown handling in IPMI ResourceBill Schwartz2014-12-011-0/+10
| | | | | | | | | | | | | Quiesce activity and free resources Depends-on: I2a763e5e3ea59e6afb7b7ab7d088fb236ee3428e Change-Id: Id801368fb81f0421c7b11e96898142548417db5c RTC: 106887 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14251 Tested-by: Jenkins Server Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: ANIRUDH BAGEPALLI <abagepa@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* IPMI Block Transfer implementationBrian Silver2014-10-231-0/+124
Change-Id: I8f6a590b29d9171389d10abc5b6e68f91ac94d16 RTC: 114907 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13721 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud