<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-hostboot/src/usr/isteps/ucd, 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>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/talos-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>Fix UCD invalid command error for 0 byte block read SMBus requests</title>
<updated>2019-04-17T20:51:00+00:00</updated>
<author>
<name>Nick Bofferding</name>
<email>bofferdn@us.ibm.com</email>
</author>
<published>2019-04-12T19:45:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hostboot/commit/?id=cf29aa3e9203d94386ddc092c7141ac4660c646f'/>
<id>urn:sha1:cf29aa3e9203d94386ddc092c7141ac4660c646f</id>
<content type='text'>
If a UCD device had a legitimate 0-sized reponse to a block read request,
this set off a bug in the code where the i2c driver would issue a 0 byte
read request without a start, stop, or address bit, which causes the i2c
engine to throw a command invalid error.  This commit fixes the logic so that
in that condition, the driver either skips the offending read (for cases where
a PEC byte follows), or completes the transaction with a stop bit (for
no PEC byte case)

Change-Id: I64011b4e540120c8547fa3ca84a4dd68f45b479a
CQ: SW462736
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75940
Reviewed-by: Ilya Smirnov &lt;ismirno@us.ibm.com&gt;
Reviewed-by: Matthew Raybuck &lt;matthew.raybuck@ibm.com&gt;
Reviewed-by: Michael Baiocchi &lt;mbaiocch@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>Cleanup UCD Update Algorithm Code</title>
<updated>2019-04-03T14:52:25+00:00</updated>
<author>
<name>Mike Baiocchi</name>
<email>mbaiocch@us.ibm.com</email>
</author>
<published>2019-04-01T15:40:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hostboot/commit/?id=1b5381224824a0f0fc67f86dc39624328ef87203'/>
<id>urn:sha1:1b5381224824a0f0fc67f86dc39624328ef87203</id>
<content type='text'>
This commit converts previous asserts to valid error log calls
while also updating some traces to the UCD update algorithm
procedure.

Change-Id: I4579d1eb602bbcb35ef9fd01131178d24007727a
RTC:205979
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75323
Reviewed-by: Matthew Raybuck &lt;matthew.raybuck@ibm.com&gt;
Tested-by: Jenkins Server &lt;pfd-jenkins+hostboot@us.ibm.com&gt;
Reviewed-by: Ilya Smirnov &lt;ismirno@us.ibm.com&gt;
Tested-by: Jenkins OP Build CI &lt;op-jenkins+hostboot@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: Nicholas E. Bofferding &lt;bofferdn@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Fix UCD retry loop size bug</title>
<updated>2019-03-30T22:55:50+00:00</updated>
<author>
<name>Matthew Raybuck</name>
<email>matthew.raybuck@ibm.com</email>
</author>
<published>2019-03-29T19:12:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hostboot/commit/?id=ac7a4f206efe2dd97c6e6d86c1db6bf39e40cd86'/>
<id>urn:sha1:ac7a4f206efe2dd97c6e6d86c1db6bf39e40cd86</id>
<content type='text'>
There is a bug in the attemptDeviceOp code where an error during the
deviceOp function will overwrite the io_bufferLength value causing the
retry loop to fail permanently on subsequent retries.

Change-Id: Ib525e60e1c6cca2604a279cc595946a92cd4f94d
RTC: 205982
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75243
Reviewed-by: Michael Baiocchi &lt;mbaiocch@us.ibm.com&gt;
Reviewed-by: Ilya Smirnov &lt;ismirno@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: Nicholas E. Bofferding &lt;bofferdn@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Create Attribute to force UCD Updates</title>
<updated>2019-03-30T13:41:17+00:00</updated>
<author>
<name>Mike Baiocchi</name>
<email>mbaiocch@us.ibm.com</email>
</author>
<published>2019-03-28T18:35:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hostboot/commit/?id=571956c7f546d84211d955b93d540a992795544a'/>
<id>urn:sha1:571956c7f546d84211d955b93d540a992795544a</id>
<content type='text'>
This commit adds ATTR_UCD_MFR_REVISION_OVERRIDE such that a user can
override the MFR_REVISION seen on a UCD device.  This could then force
a UCD flash update.

Change-Id: I3d807b3ddf2c62752046953f0f3d1754d80da381
RTC:205982
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75179
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: FSP CI Jenkins &lt;fsp-CI-jenkins+hostboot@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;
Reviewed-by: Nicholas E. Bofferding &lt;bofferdn@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Handle bad PEC from UCD device op</title>
<updated>2019-03-30T03:24:18+00:00</updated>
<author>
<name>Matthew Raybuck</name>
<email>matthew.raybuck@ibm.com</email>
</author>
<published>2019-03-28T15:41:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hostboot/commit/?id=b445b93fc21ee80515090087e063fd74b8d508a3'/>
<id>urn:sha1:b445b93fc21ee80515090087e063fd74b8d508a3</id>
<content type='text'>
The current UCD code doesn't have any error handling for a bad PEC byte
instead it is just ignored. This will add the necessary error handling
to the retry code for bad PEC bytes.

Change-Id: I8d9960a203b5864812bcaa0019087bb3dcff0c53
RTC:205982
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75174
Reviewed-by: Michael Baiocchi &lt;mbaiocch@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: 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: Nicholas E. Bofferding &lt;bofferdn@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Add retry loop to UCD deviceOps</title>
<updated>2019-03-29T19:54:25+00:00</updated>
<author>
<name>Matthew Raybuck</name>
<email>matthew.raybuck@ibm.com</email>
</author>
<published>2019-03-27T17:59:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hostboot/commit/?id=8684bd3d5656797931b455ff6aae7d2be3b12eed'/>
<id>urn:sha1:8684bd3d5656797931b455ff6aae7d2be3b12eed</id>
<content type='text'>
The UCD requirements say that if a device operation fails to attempt a
total of three times before giving up. This commit adds that
functionality. Each deviceOp is attempted three times with the addition
of the attemptDeviceOp function.

Change-Id: I03874f66465960c672026fb42a8719e6b6aad7ec
RTC:205982
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75109
Reviewed-by: Nicholas E. Bofferding &lt;bofferdn@us.ibm.com&gt;
Reviewed-by: Ilya Smirnov &lt;ismirno@us.ibm.com&gt;
Tested-by: Jenkins Server &lt;pfd-jenkins+hostboot@us.ibm.com&gt;
Reviewed-by: Michael Baiocchi &lt;mbaiocch@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>Verify UCD update success at end of store to UCD flash</title>
<updated>2019-03-29T19:53:08+00:00</updated>
<author>
<name>Nick Bofferding</name>
<email>bofferdn@us.ibm.com</email>
</author>
<published>2019-03-27T17:28:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hostboot/commit/?id=0d9e3f2cde9173ae224e726e340d42355d33dfb2'/>
<id>urn:sha1:0d9e3f2cde9173ae224e726e340d42355d33dfb2</id>
<content type='text'>
Implements manufacturer recommended verification procedure to determine if the
UCD updates to data flash worked correctly.  Verifies if the MFR_STATUS
bit indicating flash update completed is set, then checks to see if the
flash update error bit is confirmed not to be set.  On any failure, calls out
the UCD device as a predictive error.

Change-Id: Ibe0e00029dbd41291f8651f083434ce059c2c37f
RTC: 205979
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75099
Reviewed-by: Matthew Raybuck &lt;matthew.raybuck@ibm.com&gt;
Reviewed-by: Michael Baiocchi &lt;mbaiocch@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: 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>Invoke UCD Update Algorithm on UCD Devices</title>
<updated>2019-03-26T15:38:01+00:00</updated>
<author>
<name>Mike Baiocchi</name>
<email>mbaiocch@us.ibm.com</email>
</author>
<published>2019-03-22T18:56:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hostboot/commit/?id=72fc1da005b7f17ca181a826e8c2559e843e45e3'/>
<id>urn:sha1:72fc1da005b7f17ca181a826e8c2559e843e45e3</id>
<content type='text'>
This commit invokes the full UCD update algorithm on all
UCD9090 and UCD90120A devices found in ZZ and Zeppelin systems.
The algorithm is based on walking through a pre-processed update
binary per UCD device and calling the appropriate SMBUS device
operations.

Change-Id: I626df3612260d505e65a22d0620b65216d00c65f
RTC:205979
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/74887
Reviewed-by: Matthew Raybuck &lt;matthew.raybuck@ibm.com&gt;
Reviewed-by: Ilya Smirnov &lt;ismirno@us.ibm.com&gt;
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: Nicholas E. Bofferding &lt;bofferdn@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Add check to determine if a UCD's I2C Master is functional</title>
<updated>2019-03-26T15:21:13+00:00</updated>
<author>
<name>Mike Baiocchi</name>
<email>mbaiocch@us.ibm.com</email>
</author>
<published>2019-03-26T04:15:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hostboot/commit/?id=ffdc6b255981c8b52e3f5513425ebbaa8dfeb675'/>
<id>urn:sha1:ffdc6b255981c8b52e3f5513425ebbaa8dfeb675</id>
<content type='text'>
Inside the code that loops over all the supported UCD devices for
possibly updating their flash image, a check was added to make
sure that the UCD's I2C Master target is functional.

Change-Id: Id03bf20f0295a27f67f9da8da207934af710630f
CQ:SW460918
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75002
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;
Reviewed-by: Matthew Raybuck &lt;matthew.raybuck@ibm.com&gt;
Reviewed-by: Ilya Smirnov &lt;ismirno@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: Nicholas E. Bofferding &lt;bofferdn@us.ibm.com&gt;
</content>
</entry>
</feed>
