<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-skiboot/libflash, branch 04-16-2019</title>
<subtitle>Talos™ II skiboot sources</subtitle>
<id>https://git.raptorcs.com/git/talos-skiboot/atom?h=04-16-2019</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-skiboot/atom?h=04-16-2019'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/'/>
<updated>2019-04-09T01:49:52+00:00</updated>
<entry>
<title>test-ipmi-hiomap: Add read-one-byte test</title>
<updated>2019-04-09T01:49:52+00:00</updated>
<author>
<name>Vasant Hegde</name>
<email>hegdevasant@linux.vnet.ibm.com</email>
</author>
<published>2019-04-08T06:05:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=857f046d3ab00ec12dcb06ddabfed6bdfe00a819'/>
<id>urn:sha1:857f046d3ab00ec12dcb06ddabfed6bdfe00a819</id>
<content type='text'>
Add test case to read:
  - 1 byte
  - 1 block and 1 byte data

Cc: Andrew Jeffery &lt;andrew@aj.id.au&gt;
Cc: skiboot-stable@lists.ozlabs.org
Signed-off-by: Vasant Hegde &lt;hegdevasant@linux.vnet.ibm.com&gt;
Reviewed-by: Andrew Jeffery &lt;andrew@aj.id.au&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>test-ipmi-hiomap: Fix lpc-read-success</title>
<updated>2019-04-09T01:49:52+00:00</updated>
<author>
<name>Vasant Hegde</name>
<email>hegdevasant@linux.vnet.ibm.com</email>
</author>
<published>2019-04-08T06:05:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=9fd1495fba7a549c6cc1df239b3035750285ed61'/>
<id>urn:sha1:9fd1495fba7a549c6cc1df239b3035750285ed61</id>
<content type='text'>
Cc: Andrew Jeffery &lt;andrew@aj.id.au&gt;
Cc: skiboot-stable@lists.ozlabs.org
Signed-off-by: Vasant Hegde &lt;hegdevasant@linux.vnet.ibm.com&gt;
Reviewed-by: Andrew Jeffery &lt;andrew@aj.id.au&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>test-ipmi-hiomap: Add write-one-byte test</title>
<updated>2019-04-09T01:49:52+00:00</updated>
<author>
<name>Vasant Hegde</name>
<email>hegdevasant@linux.vnet.ibm.com</email>
</author>
<published>2019-04-08T06:05:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=9facf33360549ce3ab82b4d1c4478332735cd16e'/>
<id>urn:sha1:9facf33360549ce3ab82b4d1c4478332735cd16e</id>
<content type='text'>
Add test case to write:
  - 1 byte
  - 1 block and 1 byte data

Cc: Andrew Jeffery &lt;andrew@aj.id.au&gt;
Cc: skiboot-stable@lists.ozlabs.org
Signed-off-by: Vasant Hegde &lt;hegdevasant@linux.vnet.ibm.com&gt;
Reviewed-by: Andrew Jeffery &lt;andrew@aj.id.au&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>test-ipmi-hiomap: Assert if size is zero</title>
<updated>2019-04-09T01:49:52+00:00</updated>
<author>
<name>Vasant Hegde</name>
<email>hegdevasant@linux.vnet.ibm.com</email>
</author>
<published>2019-04-08T06:05:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=dfa935ebaa5438bfd2b4623743a54686fecce353'/>
<id>urn:sha1:dfa935ebaa5438bfd2b4623743a54686fecce353</id>
<content type='text'>
Cc: Andrew Jeffery &lt;andrew@aj.id.au&gt;
Cc: skiboot-stable@lists.ozlabs.org
Signed-off-by: Vasant Hegde &lt;hegdevasant@linux.vnet.ibm.com&gt;
Reviewed-by: Andrew Jeffery &lt;andrew@aj.id.au&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>libflash/ipmi-hiomap: Fix blocks count issue</title>
<updated>2019-04-09T01:49:52+00:00</updated>
<author>
<name>Vasant Hegde</name>
<email>hegdevasant@linux.vnet.ibm.com</email>
</author>
<published>2019-04-08T06:05:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=7f291166283f0f02e75787023326279036feebe1'/>
<id>urn:sha1:7f291166283f0f02e75787023326279036feebe1</id>
<content type='text'>
We convert data size to block count and pass block count to BMC.
If data size is not block aligned then we endup sending block count
less than actual data. BMC will write partial data to flash memory.

Sample log :
[  594.388458416,7] HIOMAP: Marked flash dirty at 0x42010 for 8
[  594.398756487,7] HIOMAP: Flushed writes
[  594.409596439,7] HIOMAP: Marked flash dirty at 0x42018 for 3970
[  594.419897507,7] HIOMAP: Flushed writes

In this case HIOMAP sent data with block count=0 and hence BMC didn't
flush data to flash.

Lets fix this issue by adjusting block count before sending it to BMC.

Cc: Andrew Jeffery &lt;andrew@aj.id.au&gt;
Cc: skiboot-stable@lists.ozlabs.org
Signed-off-by: Vasant Hegde &lt;hegdevasant@linux.vnet.ibm.com&gt;
Reviewed-by: Andrew Jeffery &lt;andrew@aj.id.au&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>libffs: Fix string truncation gcc warning.</title>
<updated>2019-03-20T03:27:08+00:00</updated>
<author>
<name>Michal Suchanek</name>
<email>msuchanek@suse.de</email>
</author>
<published>2019-03-13T19:18:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=bef1ddc40813976f0f422ade4a5b9374176ca22a'/>
<id>urn:sha1:bef1ddc40813976f0f422ade4a5b9374176ca22a</id>
<content type='text'>
Use memcpy as other libffs functions do.

Signed-off-by: Michal Suchanek &lt;msuchanek@suse.de&gt;
Reviewed-by: Vasant Hegde &lt;hegdevasant@linux.vnet.ibm.com&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>test-ipmi-hiomap: Add erase-one-block-twice test</title>
<updated>2019-02-24T23:43:38+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrew@aj.id.au</email>
</author>
<published>2019-02-21T06:28:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=a3777e58990f0b540ab0acbf89c999cde09e2f64'/>
<id>urn:sha1:a3777e58990f0b540ab0acbf89c999cde09e2f64</id>
<content type='text'>
Cc: stable
Signed-off-by: Andrew Jeffery &lt;andrew@aj.id.au&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>test-ipmi-hiomap: Add write-one-block-twice test</title>
<updated>2019-02-24T23:43:38+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrew@aj.id.au</email>
</author>
<published>2019-02-21T06:28:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=ed35a7d04bde4d3811cfcd87ff316be04ac6bdcf'/>
<id>urn:sha1:ed35a7d04bde4d3811cfcd87ff316be04ac6bdcf</id>
<content type='text'>
Cc: stable
Signed-off-by: Andrew Jeffery &lt;andrew@aj.id.au&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>test-ipmi-hiomap: Add read-one-block-twice test</title>
<updated>2019-02-24T23:43:38+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrew@aj.id.au</email>
</author>
<published>2019-02-21T06:28:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=b94bb54f6569af09e2b866871acc192862670126'/>
<id>urn:sha1:b94bb54f6569af09e2b866871acc192862670126</id>
<content type='text'>
Cc: stable
Signed-off-by: Andrew Jeffery &lt;andrew@aj.id.au&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>test-ipmi-hiomap: Add protocol-recovery-get-flash-info-failure test</title>
<updated>2019-02-24T23:43:38+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrew@aj.id.au</email>
</author>
<published>2019-02-21T06:28:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=9398b84fad0eaeb0dbfffb2f1f2c88a42ab5cc1e'/>
<id>urn:sha1:9398b84fad0eaeb0dbfffb2f1f2c88a42ab5cc1e</id>
<content type='text'>
Cc: stable
Signed-off-by: Andrew Jeffery &lt;andrew@aj.id.au&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.ibm.com&gt;
</content>
</entry>
</feed>
