<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opensbi.git/lib/sbi_ipi.c, branch v0.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/opensbi.git/atom/lib/sbi_ipi.c?h=v0.2</id>
<link rel='self' href='http://cgit.235523.xyz/opensbi.git/atom/lib/sbi_ipi.c?h=v0.2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/'/>
<updated>2019-02-18T13:09:02Z</updated>
<entry>
<title>lib: Fix mask shift in sbi_ipi_send_many()</title>
<updated>2019-02-18T13:09:02Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2019-02-18T13:09:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=4e774f5470d567c33b620fff7b37622174f8949a'/>
<id>urn:sha1:4e774f5470d567c33b620fff7b37622174f8949a</id>
<content type='text'>
The mask shift in for-loop of sbi_ipi_send_many() is
broken with commit 918c1354b75c74b62f67c4e929551d643f035443
("lib: Improve delivery of SBI_IPI_EVENT_HALT")

This patch fix it.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: Fix small typo on sbi_ipi.c</title>
<updated>2019-02-18T03:51:58Z</updated>
<author>
<name>Nick Kossifidis</name>
<email>mickflemm@gmail.com</email>
</author>
<published>2019-02-17T21:43:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=148423d14132df71a0ed26b34c7f81a180cb1308'/>
<id>urn:sha1:148423d14132df71a0ed26b34c7f81a180cb1308</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib: Improve delivery of SBI_IPI_EVENT_HALT</title>
<updated>2019-02-18T03:51:58Z</updated>
<author>
<name>Nick Kossifidis</name>
<email>mickflemm@gmail.com</email>
</author>
<published>2019-02-17T07:00:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=918c1354b75c74b62f67c4e929551d643f035443'/>
<id>urn:sha1:918c1354b75c74b62f67c4e929551d643f035443</id>
<content type='text'>
When sbi_ipi_send_many gets called with the current hartid
included on pmask (or when pmask is NULL), and we send
a HALT event, since the for loop works sequentially over
all hartids on the mask, we may send a HALT event to the
current hart before the loop finishes. So we will halt
the current hart before it can deliver a HALT IPI to the
rest and some harts will remain active.

Make sure we send an IPI to the current hart after we've
finished with everybody else.

Signed-off-by: Nick Kossifidis &lt;mick@ics.forth.gr&gt;
</content>
</entry>
<entry>
<title>lib: Use CSR_&lt;FOO&gt; instead of &lt;foo&gt; for csr_*()</title>
<updated>2019-02-14T04:01:18Z</updated>
<author>
<name>Atish Patra</name>
<email>atish.patra@wdc.com</email>
</author>
<published>2019-02-13T02:32:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=70a474d2c24dc3e0c8841e6ef5cc96797deadbf5'/>
<id>urn:sha1:70a474d2c24dc3e0c8841e6ef5cc96797deadbf5</id>
<content type='text'>
Some older toolchains may not have all the csr's defined. Update all
the csr functions to use the CSR_ #define values instead of the
toolchain defined values.

Suggested-by: Olof Johansson &lt;olof@lixom.net&gt;
Signed-off-by: Atish Patra &lt;atish.patra@wdc.com&gt;
</content>
</entry>
<entry>
<title>all: Update copyright header in all files</title>
<updated>2019-01-24T08:37:47Z</updated>
<author>
<name>Anup patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2019-01-24T06:11:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=20990ee0abaf286917b6e2aae992d4183ff695f6'/>
<id>urn:sha1:20990ee0abaf286917b6e2aae992d4183ff695f6</id>
<content type='text'>
This patch updates copyright header in all files as follows:
1. Makes "SPDX-License-Identifier: BSD-2-Clause" as first line
2. Change copyright year to 2019 for Western Digital

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>include: Rename ipi_inject() to ipi_send() for sbi_platform</title>
<updated>2019-01-23T03:09:26Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2019-01-23T02:43:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=025d0ae994e5663e8c2ca0e16c42e814abac027d'/>
<id>urn:sha1:025d0ae994e5663e8c2ca0e16c42e814abac027d</id>
<content type='text'>
For better naming, we rename ipi_inject() to ipi_send() in
struct sbi_platform. We also replace term "inject" with
"send" in all related places.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: Remove source_hart and hartid parameter from IPI callbacks</title>
<updated>2019-01-23T03:09:26Z</updated>
<author>
<name>Anup patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2019-01-22T08:50:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=18ec89e46e3cf8011b30deded6ea8d77720bdb3c'/>
<id>urn:sha1:18ec89e46e3cf8011b30deded6ea8d77720bdb3c</id>
<content type='text'>
The source_hart and hartid parameter is really not required in
IPI callbacks of sbi_platform because current hartid can always
be obtained by calling sbi_current_hartid() API.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: Allow sending IPI to self.</title>
<updated>2019-01-22T04:33:49Z</updated>
<author>
<name>Atish Patra</name>
<email>atish.patra@wdc.com</email>
</author>
<published>2019-01-22T01:54:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=bc545539d2f2842c12c8b16d898a21113ce70417'/>
<id>urn:sha1:bc545539d2f2842c12c8b16d898a21113ce70417</id>
<content type='text'>
S-mode software may send IPI to self. For example,
tlbflush may be executed for the same hart.

Let the hart send IPI to itself. It's an overhead
but doesn't break anything. However, if we don't
allow it, it breaks if S-mode keep sending IPIs.

Signed-off-by: Atish Patra &lt;atish.patra@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: Fix ipi type update</title>
<updated>2019-01-22T04:33:49Z</updated>
<author>
<name>Atish Patra</name>
<email>atish.patra@wdc.com</email>
</author>
<published>2019-01-21T07:24:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=b9c517f5593716d11013bef5fa25f037734327b7'/>
<id>urn:sha1:b9c517f5593716d11013bef5fa25f037734327b7</id>
<content type='text'>
IPIs are updated in scratch space by source hart.
However, different harts or same hart may want to
send different IPIs before previous IPI was read
by the target hart. Currently, previous IPI type
is overwritten in that case.

Use atomic bit set/clear operations to update IPIs.

Signed-off-by: Atish Patra &lt;atish.patra@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: Simplify sbi_platform ipi_init() hooks</title>
<updated>2018-12-27T04:05:09Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2018-12-26T13:06:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=c1b6200653c51642e544c66fab8bb320969b818e'/>
<id>urn:sha1:c1b6200653c51642e544c66fab8bb320969b818e</id>
<content type='text'>
Instead of having separate ipi_init() hooks for cold and warm boot,
this patch updates struct sbi_platform to have just one ipi_init()
hook. The type of boot (cold or warm) is now a boolean flag parameter
for the updated ipi_init() hook.

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