<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-hostboot/src/usr/ipmi, branch 07-25-2019</title>
<subtitle>Talos™ II hostboot sources</subtitle>
<id>https://git.raptorcs.com/git/talos-hostboot/atom?h=07-25-2019</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-hostboot/atom?h=07-25-2019'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hostboot/'/>
<updated>2018-10-10T18:39:41+00:00</updated>
<entry>
<title>ipmi: Split into ipmibase and ipmiext modules</title>
<updated>2018-10-10T18:39:41+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrewrj@au1.ibm.com</email>
</author>
<published>2018-09-28T05:18:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hostboot/commit/?id=5fc457309f2c6bad2bf1464a4cc7756692ede3b8'/>
<id>urn:sha1:5fc457309f2c6bad2bf1464a4cc7756692ede3b8</id>
<content type='text'>
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 &lt;andrewrj@au1.ibm.com&gt;
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66792
Tested-by: Jenkins Server &lt;pfd-jenkins+hostboot@us.ibm.com&gt;
Tested-by: Jenkins OP Build CI &lt;op-jenkins+hostboot@us.ibm.com&gt;
Reviewed-by: Corey V. Swenson &lt;cswenson@us.ibm.com&gt;
Tested-by: FSP CI Jenkins &lt;fsp-CI-jenkins+hostboot@us.ibm.com&gt;
Tested-by: Jenkins OP HW &lt;op-hw-jenkins+hostboot@us.ibm.com&gt;
Reviewed-by: Daniel M. Crowell &lt;dcrowell@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>ipmi: IpmiDD and IpmiRP must never free resources</title>
<updated>2018-10-10T18:38:21+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrewrj@au1.ibm.com</email>
</author>
<published>2018-10-05T03:29:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hostboot/commit/?id=1b481183921d9877a5693219249bb9c4cd8ccf69'/>
<id>urn:sha1:1b481183921d9877a5693219249bb9c4cd8ccf69</id>
<content type='text'>
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 &lt;andrewrj@au1.ibm.com&gt;
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67077
Tested-by: Jenkins Server &lt;pfd-jenkins+hostboot@us.ibm.com&gt;
Tested-by: Jenkins OP HW &lt;op-hw-jenkins+hostboot@us.ibm.com&gt;
Tested-by: FSP CI Jenkins &lt;fsp-CI-jenkins+hostboot@us.ibm.com&gt;
Reviewed-by: Daniel M. Crowell &lt;dcrowell@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>ipmi: Terminate SEL task via shutdown event</title>
<updated>2018-10-09T15:07:42+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrewrj@au1.ibm.com</email>
</author>
<published>2018-10-04T05:33:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hostboot/commit/?id=d6741cb3db68795586a21fc812806836135341ec'/>
<id>urn:sha1:d6741cb3db68795586a21fc812806836135341ec</id>
<content type='text'>
The IpmiSEL task will become part of the extended image once the IPMI
module is split in two. Once split, if we need to handle an early shutdown
we cannot be referencing code from HBI in HBB. To that end, ensure we
don't instantiate an IpmiSEL via Singleton in an attempt to shutdown its
event loop when it hasn't been loaded, let alone started. Instead, have
IpmiSEL register itself in the shutdown handler, and shut down the SEL
task before IpmiRP.

Change-Id: I358f6cb1f5528a4ad72c93477ad883cad19e2bf6
Signed-off-by: Andrew Jeffery &lt;andrewrj@au1.ibm.com&gt;
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67076
Tested-by: Jenkins Server &lt;pfd-jenkins+hostboot@us.ibm.com&gt;
Tested-by: Jenkins OP Build CI &lt;op-jenkins+hostboot@us.ibm.com&gt;
Tested-by: Jenkins OP HW &lt;op-hw-jenkins+hostboot@us.ibm.com&gt;
Tested-by: FSP CI Jenkins &lt;fsp-CI-jenkins+hostboot@us.ibm.com&gt;
Reviewed-by: Corey V. Swenson &lt;cswenson@us.ibm.com&gt;
Reviewed-by: Daniel M. Crowell &lt;dcrowell@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>ipmi: Introduce register_for_event() interface</title>
<updated>2018-10-08T20:29:30+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrewrj@au1.ibm.com</email>
</author>
<published>2018-09-17T07:53:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hostboot/commit/?id=988eda165254887e231a61d7031e5baf636c8c85'/>
<id>urn:sha1:988eda165254887e231a61d7031e5baf636c8c85</id>
<content type='text'>
register_for_event() allows the IPMI PNOR implementation to indicate
interest in SELs from the hiomap protocol used for managing the LPC FW
space.

Change-Id: I3bf6cb7f860d41a0c46755e23fd54276ae2258ff
Signed-off-by: Andrew Jeffery &lt;andrewrj@au1.ibm.com&gt;
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65938
Tested-by: Jenkins Server &lt;pfd-jenkins+hostboot@us.ibm.com&gt;
Tested-by: Jenkins OP Build CI &lt;op-jenkins+hostboot@us.ibm.com&gt;
Tested-by: Jenkins OP HW &lt;op-hw-jenkins+hostboot@us.ibm.com&gt;
Tested-by: FSP CI Jenkins &lt;fsp-CI-jenkins+hostboot@us.ibm.com&gt;
Reviewed-by: Daniel M. Crowell &lt;dcrowell@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>ipmi: Drop unnecessary ipmibt dependency from ipmifru</title>
<updated>2018-10-08T20:25:52+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrewrj@au1.ibm.com</email>
</author>
<published>2018-09-28T05:01:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hostboot/commit/?id=dc0f490b31fc43fb9da6771bfa160ed0a1e9c983'/>
<id>urn:sha1:dc0f490b31fc43fb9da6771bfa160ed0a1e9c983</id>
<content type='text'>
Change-Id: I5c0f88f5a95c95928248141b3a8713fb9fe0ed6d
Signed-off-by: Andrew Jeffery &lt;andrewrj@au1.ibm.com&gt;
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66791
Tested-by: Jenkins Server &lt;pfd-jenkins+hostboot@us.ibm.com&gt;
Tested-by: Jenkins OP Build CI &lt;op-jenkins+hostboot@us.ibm.com&gt;
Tested-by: Jenkins OP HW &lt;op-hw-jenkins+hostboot@us.ibm.com&gt;
Tested-by: FSP CI Jenkins &lt;fsp-CI-jenkins+hostboot@us.ibm.com&gt;
Reviewed-by: Daniel M. Crowell &lt;dcrowell@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>ipmi: Drop unnecessary ipmiconfig dependencies</title>
<updated>2018-10-08T20:25:31+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrewrj@au1.ibm.com</email>
</author>
<published>2018-09-28T04:48:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hostboot/commit/?id=281dac1b173c1accb89a6c3507872a6522fbfab3'/>
<id>urn:sha1:281dac1b173c1accb89a6c3507872a6522fbfab3</id>
<content type='text'>
Removing the unused include is a cleanup motivated by splitting the ipmi
module in two, into parts consisting of the service (DD and RP) and
clients (FRU, SEL, etc).

Change-Id: Idc4b7c839edda5f23d73a0e0ad8112b2bcbb255d
Signed-off-by: Andrew Jeffery &lt;andrewrj@au1.ibm.com&gt;
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66790
Tested-by: Jenkins Server &lt;pfd-jenkins+hostboot@us.ibm.com&gt;
Tested-by: Jenkins OP Build CI &lt;op-jenkins+hostboot@us.ibm.com&gt;
Tested-by: Jenkins OP HW &lt;op-hw-jenkins+hostboot@us.ibm.com&gt;
Reviewed-by: Daniel M. Crowell &lt;dcrowell@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>ipmi: Break circular dependency between IpmiDD and IpmiRP</title>
<updated>2018-10-08T20:24:20+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrewrj@au1.ibm.com</email>
</author>
<published>2018-09-17T07:53:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hostboot/commit/?id=bc363055ec19613cc2e2fb40392765e03f401c1a'/>
<id>urn:sha1:bc363055ec19613cc2e2fb40392765e03f401c1a</id>
<content type='text'>
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 &lt;andrewrj@au1.ibm.com&gt;
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65936
Tested-by: Jenkins Server &lt;pfd-jenkins+hostboot@us.ibm.com&gt;
Tested-by: Jenkins OP Build CI &lt;op-jenkins+hostboot@us.ibm.com&gt;
Tested-by: Jenkins OP HW &lt;op-hw-jenkins+hostboot@us.ibm.com&gt;
Tested-by: FSP CI Jenkins &lt;fsp-CI-jenkins+hostboot@us.ibm.com&gt;
Reviewed-by: Corey V. Swenson &lt;cswenson@us.ibm.com&gt;
Reviewed-by: Daniel M. Crowell &lt;dcrowell@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Support for extended FRU data for memory modules</title>
<updated>2018-10-03T14:36:59+00:00</updated>
<author>
<name>Maxim Polyakov</name>
<email>m.polyakov@yadro.com</email>
</author>
<published>2018-09-13T13:23:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hostboot/commit/?id=1ad25a8428db5a9811c5d494d1a9cdb4c57a1658'/>
<id>urn:sha1:1ad25a8428db5a9811c5d494d1a9cdb4c57a1658</id>
<content type='text'>
Decode some DIMM SPD fields according to JEDEC format to write
detailed info into an IMPI FRU message:
1. Manufacturer field contains real orgainsation name instead of ID.
2. Module name contains type, capacity, speed and other attributes.

Change-Id: I869d2fdcdffa40aa0439a119a1327d83931f5ec5
Signed-off-by: Artem Senichev &lt;a.senichev@yadro.com&gt;
Signed-off-by: Maxim Polyakov &lt;m.polyakov@yadro.com&gt;
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66746
Tested-by: Jenkins Server &lt;pfd-jenkins+hostboot@us.ibm.com&gt;
Reviewed-by: Daniel M. Crowell &lt;dcrowell@us.ibm.com&gt;
Tested-by: Jenkins OP Build CI &lt;op-jenkins+hostboot@us.ibm.com&gt;
Tested-by: Jenkins OP HW &lt;op-hw-jenkins+hostboot@us.ibm.com&gt;
Reviewed-by: William G. Hoffa &lt;wghoffa@us.ibm.com&gt;
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66902
Tested-by: FSP CI Jenkins &lt;fsp-CI-jenkins+hostboot@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>ipmi: Replace incorrect dependency on ipmibt with ipmimsg</title>
<updated>2018-10-02T19:42:51+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrewrj@au1.ibm.com</email>
</author>
<published>2018-09-17T07:53:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hostboot/commit/?id=9a7f18c66e5b76abeebd12fa3444a9385e6f377b'/>
<id>urn:sha1:9a7f18c66e5b76abeebd12fa3444a9385e6f377b</id>
<content type='text'>
No symbols from ipmibt.H were required, but some from ipmimsg.H were.

Change-Id: I9730670b5c2686cbf3f55e2b52e91ded3d78cfb0
Signed-off-by: Andrew Jeffery &lt;andrewrj@au1.ibm.com&gt;
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65935
Tested-by: Jenkins Server &lt;pfd-jenkins+hostboot@us.ibm.com&gt;
Tested-by: Jenkins OP Build CI &lt;op-jenkins+hostboot@us.ibm.com&gt;
Tested-by: Jenkins OP HW &lt;op-hw-jenkins+hostboot@us.ibm.com&gt;
Tested-by: FSP CI Jenkins &lt;fsp-CI-jenkins+hostboot@us.ibm.com&gt;
Reviewed-by: Corey V. Swenson &lt;cswenson@us.ibm.com&gt;
Reviewed-by: Daniel M. Crowell &lt;dcrowell@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>ipmi: Break circular dependency between ipmimsg and ipmibt</title>
<updated>2018-10-02T19:42:41+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrewrj@au1.ibm.com</email>
</author>
<published>2018-09-17T07:53:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hostboot/commit/?id=102225f4e3e23c51665bb45c79eb0a578666fffc'/>
<id>urn:sha1:102225f4e3e23c51665bb45c79eb0a578666fffc</id>
<content type='text'>
Implement the message factory in the back-end implementation for which
it is producing messages. The linker will resolve the right
implementation based on the build configuration.

Change-Id: I407f51e239b3dd3795502942cc24d80fbf0ffac6
Signed-off-by: Andrew Jeffery &lt;andrewrj@au1.ibm.com&gt;
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65934
Tested-by: Jenkins Server &lt;pfd-jenkins+hostboot@us.ibm.com&gt;
Tested-by: Jenkins OP Build CI &lt;op-jenkins+hostboot@us.ibm.com&gt;
Tested-by: Jenkins OP HW &lt;op-hw-jenkins+hostboot@us.ibm.com&gt;
Tested-by: FSP CI Jenkins &lt;fsp-CI-jenkins+hostboot@us.ibm.com&gt;
Reviewed-by: Corey V. Swenson &lt;cswenson@us.ibm.com&gt;
Reviewed-by: Daniel M. Crowell &lt;dcrowell@us.ibm.com&gt;
</content>
</entry>
</feed>
