<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opensbi.git, branch v0.6</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/opensbi.git/atom/?h=v0.6</id>
<link rel='self' href='http://cgit.235523.xyz/opensbi.git/atom/?h=v0.6'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/'/>
<updated>2020-02-24T05:57:57Z</updated>
<entry>
<title>include: Bump-up version to 0.6</title>
<updated>2020-02-24T05:57:57Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2020-02-24T05:57:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=ac5e821d50be631f26274765a59bc1b444ffd862'/>
<id>urn:sha1:ac5e821d50be631f26274765a59bc1b444ffd862</id>
<content type='text'>
This patch updates OpenSBI version to 0.6 as part of
release preparation.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: Simplify the for-loop in sbi_ipi_send_many()</title>
<updated>2020-02-24T03:40:04Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2020-02-22T06:20:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=f8b3bb826d488847009f74409b1898d88b5a6cc7'/>
<id>urn:sha1:f8b3bb826d488847009f74409b1898d88b5a6cc7</id>
<content type='text'>
We don't need to separately call sbi_ipi_send() for current HART
in sbi_ipi_send_many(). Instead, we can simplify the for-loop in
sbi_ipi_send_many() and call sbi_ipi_send() for all HARTs in the
for-loop itself.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>lib: Use available hart mask for correct hbase value</title>
<updated>2020-02-22T04:36:51Z</updated>
<author>
<name>Atish Patra</name>
<email>atish.patra@wdc.com</email>
</author>
<published>2020-02-21T23:47:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=393624377a45d0fc20a376db60fb136a3b1fd685'/>
<id>urn:sha1:393624377a45d0fc20a376db60fb136a3b1fd685</id>
<content type='text'>
As per the latest SBI specification, all online harts should receive
IPI if hbase is set to -1.

Set the target mask to all available hart mask if hbase is -1.

Signed-off-by: Atish Patra &lt;atish.patra@wdc.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: Fix typo in atomic exchange functions</title>
<updated>2020-02-22T04:34:38Z</updated>
<author>
<name>Atish Patra</name>
<email>atish.patra@wdc.com</email>
</author>
<published>2020-02-21T23:47:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=c3b3b8f43b49e4fa8fde5e916cd8d573687e3626'/>
<id>urn:sha1:c3b3b8f43b49e4fa8fde5e916cd8d573687e3626</id>
<content type='text'>
There is a typo in atomic operations code which prevents the
usage of riscv atomic instructions even if it is supported.

Fix the typo.

Signed-off-by: Atish Patra &lt;atish.patra@wdc.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>platform: qemu: virt: Correct the typo in config.mk</title>
<updated>2020-02-19T11:23:42Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2020-02-18T10:18:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=3e7d666d7ca5eca5b4ba9c0c624a1747bbfd7bf7'/>
<id>urn:sha1:3e7d666d7ca5eca5b4ba9c0c624a1747bbfd7bf7</id>
<content type='text'>
It should be "aligned".

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>platform: sifive: fu540: Add 32-bit specific fdt/payload addresses</title>
<updated>2020-02-19T11:22:07Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2020-02-18T10:15:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=66fb729a1e46a9a46e809f3b7867fef91477e494'/>
<id>urn:sha1:66fb729a1e46a9a46e809f3b7867fef91477e494</id>
<content type='text'>
For testing 32-bit SiFive specific drivers with QEMU riscv32, add
32-bit specific FW_JUMP_FDT_ADDR and FW_PAYLOAD_OFFSET.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: Print interrupt and exception delegation in boot prints</title>
<updated>2020-02-19T04:28:48Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2020-02-18T06:23:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=24c3082ea496d39d406601ee4243b724f4d31aec'/>
<id>urn:sha1:24c3082ea496d39d406601ee4243b724f4d31aec</id>
<content type='text'>
We print MIDELEG and MEDELEG CSRs as part of boot prints so that
boot log shows the interrupts and exceptions delegated to S-mode.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Atish Patra &lt;atish.patra@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: Don't check MIDELEG and MEDELEG at end of delegate_traps()</title>
<updated>2020-02-19T04:28:45Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2020-02-18T06:07:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=bc874e34cecbd1e024ae7be4ec2f34d9cb1fbecb'/>
<id>urn:sha1:bc874e34cecbd1e024ae7be4ec2f34d9cb1fbecb</id>
<content type='text'>
The MIDELEG and MEDELEG CSR checks at end of delegate_traps() were
added for initial bring-up on SiFive Unleashed and QEMU. These
checks are not required any more and in-future these checks can
cause failures because some of the MIDELEG/MEDELEG bits will be
hard-wired to 0 or 1.

For related discussion, refer github issue:
https://github.com/riscv/opensbi/issues/157

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Atish Patra &lt;atish.patra@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: utils: htif: Fix 32-bit build</title>
<updated>2020-02-18T05:00:16Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2020-02-18T04:55:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=c66543d049d33b94f1915babaed6eb1f90e05f78'/>
<id>urn:sha1:c66543d049d33b94f1915babaed6eb1f90e05f78</id>
<content type='text'>
When building 32-bit OpenSBI images, we get:

  lib/utils/sys/htif.c: In function '__check_fromhost':
  lib/utils/sys/htif.c:12:31: error: left shift count &gt;= width of type
                                     [-Werror=shift-count-overflow]
   #define HTIF_DATA_MASK  ((1UL &lt;&lt; HTIF_DATA_BITS) - 1)
                                 ^~

Fixes: c2f23cc6edd7 ("platform: Add Spike initial support")
Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>Revert "lib: Use __builtin_ctzl() in pmp_get()"</title>
<updated>2020-02-18T03:58:33Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2020-02-18T03:56:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=0b414532c41303ce42fa2b9cc4861c5b01e76b40'/>
<id>urn:sha1:0b414532c41303ce42fa2b9cc4861c5b01e76b40</id>
<content type='text'>
This reverts commit 897b8fbdd92fcfad194417d348b8dad16ab0e17a.

We are seeing compile errors using newlib based GCC cross-toolchain
so we restore back old ctz() implementation.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
</feed>
