<feed xmlns='http://www.w3.org/2005/Atom'>
<title>blackbird-hostboot/src/usr/ipmibase, branch 07-25-2019</title>
<subtitle>Blackbird™ hostboot sources</subtitle>
<id>https://git.raptorcs.com/git/blackbird-hostboot/atom?h=07-25-2019</id>
<link rel='self' href='https://git.raptorcs.com/git/blackbird-hostboot/atom?h=07-25-2019'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-hostboot/'/>
<updated>2019-12-06T16:28:47+00:00</updated>
<entry>
<title>Automatically include config.h</title>
<updated>2019-12-06T16:28:47+00:00</updated>
<author>
<name>Dan Crowell</name>
<email>dcrowell@us.ibm.com</email>
</author>
<published>2019-11-20T18:36:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-hostboot/commit/?id=c46f1ee5b8b9f7ea7e398f373f990b6e3440a257'/>
<id>urn:sha1:c46f1ee5b8b9f7ea7e398f373f990b6e3440a257</id>
<content type='text'>
Rather than having to remember to include config.h anywhere
we reference a CONFIG variable (and usually forgetting),
this adds it to the default compiler flags so that it
gets included in every source file we build.

Change-Id: I53622ab4d46c55d942e98cae6ec03049fd5b3d08
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/87475
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: Zachary Clark &lt;zach@ibm.com&gt;
Reviewed-by: Roland Veloz &lt;rveloz@us.ibm.com&gt;
Reviewed-by: Christian R Geddes &lt;crgeddes@us.ibm.com&gt;
Reviewed-by: Nicholas E Bofferding &lt;bofferdn@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Increased the BMC timeout from 5 seconds to 30 seconds</title>
<updated>2019-08-12T15:10:57+00:00</updated>
<author>
<name>Roland Veloz</name>
<email>rveloz@us.ibm.com</email>
</author>
<published>2019-08-09T19:02:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-hostboot/commit/?id=08db2d6a3a0bafa6d76a0f281541a6aa2b4d2156'/>
<id>urn:sha1:08db2d6a3a0bafa6d76a0f281541a6aa2b4d2156</id>
<content type='text'>
On a zaius machine, the BMC was consistently hitting a checkstop
with the system shutting down with error status 0x613 following
istep 13.11 - mss_draminit_training.

The theory was that it was hitting a timeout issue.  Increasing
the timeout from 5 seconds to 30 seconds abated the situation. It
does appear that it was timeout issue.

Change-Id: I825f461855b2a4a70c732f0dda308b2579d60a7d
CQ:SW466685
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/82034
Reviewed-by: Glenn Miles &lt;milesg@ibm.com&gt;
Reviewed-by: Matt Derksen &lt;mderkse1@us.ibm.com&gt;
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>Add sequence id to IPMI timeout traces</title>
<updated>2019-04-09T15:49:39+00:00</updated>
<author>
<name>Dan Crowell</name>
<email>dcrowell@us.ibm.com</email>
</author>
<published>2019-03-26T14:06:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-hostboot/commit/?id=f89a1420c7d8e83c813a3cb9187886e7e1276de7'/>
<id>urn:sha1:f89a1420c7d8e83c813a3cb9187886e7e1276de7</id>
<content type='text'>
Adding the very important IPMI sequence id to the trace that
we push out when we get a timeout on a IPMI message.

Change-Id: Ia89332defba1fd2901a17fb3cefeeb7d69e9737a
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75017
Tested-by: Jenkins Server &lt;pfd-jenkins+hostboot@us.ibm.com&gt;
Tested-by: FSP CI Jenkins &lt;fsp-CI-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: Matt Derksen &lt;mderkse1@us.ibm.com&gt;
Reviewed-by: Corey V. Swenson &lt;cswenson@us.ibm.com&gt;
Reviewed-by: William G. Hoffa &lt;wghoffa@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Modify IPMI Timeout Value</title>
<updated>2019-04-08T18:06:17+00:00</updated>
<author>
<name>Bill Hoffa</name>
<email>wghoffa@us.ibm.com</email>
</author>
<published>2019-04-01T20:32:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-hostboot/commit/?id=ecf2201cee8cdd3e6eca7d56897fbdf108e59bf5'/>
<id>urn:sha1:ecf2201cee8cdd3e6eca7d56897fbdf108e59bf5</id>
<content type='text'>
  -- Currently the Timeout value for an IPMI message is assigned
     when the message is placed in the queue. The timeout value
     is the same whether we have 0 or 100 messages in the queue
     which leads to the occasional IPMI timeout when the BMC
     is sent a lot of messages in a short period of time.

  -- This fix is to implement the timeout as a per message timeout.
     I.E. if the message being put on the queue is the 3rd message
     on the queue it would get a timeout of 3x the timeout value.

Change-Id: Ieb328d96144f2b1fe9dc39f57191e86cf4821c2c
CQ: SW461931
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75538
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: Ilya Smirnov &lt;ismirno@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: Christian R. Geddes &lt;crgeddes@us.ibm.com&gt;
Reviewed-by: Daniel M. Crowell &lt;dcrowell@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Move watchdog timer to prevent timeout</title>
<updated>2019-02-26T19:06:29+00:00</updated>
<author>
<name>Matthew Raybuck</name>
<email>matthew.raybuck@ibm.com</email>
</author>
<published>2019-02-20T14:32:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-hostboot/commit/?id=02150d1b6c0d5108630ac4983165aacd54b2000f'/>
<id>urn:sha1:02150d1b6c0d5108630ac4983165aacd54b2000f</id>
<content type='text'>
The watchdog used to be set in istepdispatcher.C but due to various
changes to PNOR that would cause a watchdog timeout. This commit moves
the watchdog out of impiext code and into impibase which allows the
watchdog to be setup as soon as the ipmi resource provider comes up.
Then once the code reaches istepdispatcher the watchdog is adjusted as
needed.

Change-Id: Ia5f13800db22cd17b0feabc5257f8f6409f54376
CQ:SW453071
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72269
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: Nicholas E. Bofferding &lt;bofferdn@us.ibm.com&gt;
Reviewed-by: Ilya Smirnov &lt;ismirno@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>Reduce ipmi trace spam for pnor hiomap messages</title>
<updated>2018-11-27T22:28:17+00:00</updated>
<author>
<name>Dan Crowell</name>
<email>dcrowell@us.ibm.com</email>
</author>
<published>2018-11-09T18:04:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-hostboot/commit/?id=8e5dda92903e105c62f52390b35d3e335d55f532'/>
<id>urn:sha1:8e5dda92903e105c62f52390b35d3e335d55f532</id>
<content type='text'>
With the PNOR accesses now going over IPMI, the IPMI traces are
now completely overwhelmed by those messages.  This change will
skip tracing out the messages if they are the hiomap requests.

Example of trace spam:
  3.34945|IPMI|rp: queuing sync e8:5a
  3.34946|IPMI|rp: W&gt;Got message (0xe8:0x5a): l_is_pnor: 1
  3.34952|IPMI|dd: I&gt;write ok e8:5a seq 26 len 6
  3.35837|IPMI|dd: I&gt;read b2h ok ec:5a seq 26 len 8 cc 0
  3.35947|IPMI|rp: queuing sync e8:5a
  3.35948|IPMI|rp: W&gt;Got message (0xe8:0x5a): l_is_pnor: 1
  3.35953|IPMI|dd: I&gt;write ok e8:5a seq 27 len 6
  3.36837|IPMI|dd: I&gt;read b2h ok ec:5a seq 27 len 8 cc 0
  3.36947|IPMI|rp: queuing sync e8:5a
  3.36948|IPMI|rp: W&gt;Got message (0xe8:0x5a): l_is_pnor: 1
  3.36953|IPMI|dd: I&gt;write ok e8:5a seq 28 len 6
  3.43855|IPMI|dd: I&gt;read b2h ok ec:5a seq 28 len 8 cc 0
  3.43926|IPMI|rp: queuing sync e8:5a
  3.43927|IPMI|rp: W&gt;Got message (0xe8:0x5a): l_is_pnor: 1
  3.43933|IPMI|dd: I&gt;write ok e8:5a seq 29 len 6
  3.50860|IPMI|dd: I&gt;read b2h ok ec:5a seq 29 len 8 cc 0
  3.50902|IPMI|rp: queuing sync e8:5a
  3.50902|IPMI|rp: W&gt;Got message (0xe8:0x5a): l_is_pnor: 1
In a single boot on a system there were close to 4000 of these
traces.

Change-Id: Ia8944ca7f281986ec0bca7328fa56a7c0d521339
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68605
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: Christian R. Geddes &lt;crgeddes@us.ibm.com&gt;
Reviewed-by: William G. Hoffa &lt;wghoffa@us.ibm.com&gt;
Reviewed-by: Daniel M. Crowell &lt;dcrowell@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Increase ipmi polling frequency to every 1ms</title>
<updated>2018-11-20T22:06:45+00:00</updated>
<author>
<name>Dan Crowell</name>
<email>dcrowell@us.ibm.com</email>
</author>
<published>2018-11-19T22:55:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-hostboot/commit/?id=499916e4586920a5342a64646f3f2ec4bbe4e19d'/>
<id>urn:sha1:499916e4586920a5342a64646f3f2ec4bbe4e19d</id>
<content type='text'>
Changing the polling timer from 10ms to 1ms to solve a weird
pnor hang we've seen.

Change-Id: I796bfff7a6bce38faa56d31a935dca1aeb0a4d41
CQ: SW451298
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68931
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>Enable IPMI errl after targeting is initialized</title>
<updated>2018-11-05T17:51:47+00:00</updated>
<author>
<name>Corey Swenson</name>
<email>cswenson@us.ibm.com</email>
</author>
<published>2018-11-01T15:12:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-hostboot/commit/?id=83335d59ac593a543bcbe8c9c2f030798c02a2dc'/>
<id>urn:sha1:83335d59ac593a543bcbe8c9c2f030798c02a2dc</id>
<content type='text'>
A recent change split IPMI into base and extended.
Move the enable of IPMI errl from base to extended
to avoid targeting errors.

Change-Id: Ia833dd8178ff407dff1fa514b32468c5fc70e945
CQ:SW450286
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68265
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: ANDREW R. JEFFERY &lt;andrewrj@au1.ibm.com&gt;
Reviewed-by: Michael Baiocchi &lt;mbaiocch@us.ibm.com&gt;
Reviewed-by: Daniel M. Crowell &lt;dcrowell@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>ipmi: Increase polling rate to decrease boot time</title>
<updated>2018-10-17T17:38:04+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrewrj@au1.ibm.com</email>
</author>
<published>2018-10-16T23:36:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-hostboot/commit/?id=ead1bda912e69e5f2bd84a38258e98daffde0c79'/>
<id>urn:sha1:ead1bda912e69e5f2bd84a38258e98daffde0c79</id>
<content type='text'>
The recent introduction of the IPMI-based HIOMAP transport for the PNOR
means the boot process is now heavily constrained by the speed of IPMI
transfers.

As an interim change to introducing interrupt-driven BT support,
decrease the period of the IPMI poller to increase boot speed by a
factor of about 1.7x when using the IPMI HIOMAP transport. This also
slightly increases the speed of a MBOX HIOMAP boot, but the point here
is that there's not a detrimental effect in this configuration.

Change-Id: I853ab013e33715101383c2c80c2d1b67c1c79265
Signed-off-by: Andrew Jeffery &lt;andrewrj@au1.ibm.com&gt;
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67589
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>pnor: Introduce an IPMI-based PNOR driver implementation</title>
<updated>2018-10-10T18:45:29+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrewrj@au1.ibm.com</email>
</author>
<published>2018-09-17T07:53:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-hostboot/commit/?id=c829113199d6ee1f1788ff336a09b55b98bc3609'/>
<id>urn:sha1:c829113199d6ee1f1788ff336a09b55b98bc3609</id>
<content type='text'>
Similar to the AST MBOX implementation, the IPMI PNOR implementation
negotiates the layout of the LPC FW space with the BMC, but using IPMI
rather than the AST mailbox as a protocol transport. The same protocol
is still used and has simply been adapted to the new interface.

Note that currently the change of transport has had a 2-3x impact on
boot performance. Optimisation is an ongoing effort.

Change-Id: I7f838f5b5e88ac877a725386a33df58ee5e7213c
Signed-off-by: Andrew Jeffery &lt;andrewrj@au1.ibm.com&gt;
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65942
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>
</feed>
