<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opensbi.git/lib/sbi_trap.c, branch v0.1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/opensbi.git/atom/lib/sbi_trap.c?h=v0.1</id>
<link rel='self' href='http://cgit.235523.xyz/opensbi.git/atom/lib/sbi_trap.c?h=v0.1'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/'/>
<updated>2019-01-24T08:37:47Z</updated>
<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>lib: Remove target_hart and hartid parameter from TIMER callbacks</title>
<updated>2019-01-23T03:09:26Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2019-01-22T09:17:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=9895d446ae947c2c3d060808bcb66870afaeb659'/>
<id>urn:sha1:9895d446ae947c2c3d060808bcb66870afaeb659</id>
<content type='text'>
The target_hart and hartid paramter of TIMER callbacks is not
required because it always current hartid which can be obtained
using sbi_current_hartid() API.

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: Add doxygen style documentation for sbi_platform</title>
<updated>2019-01-22T06:10:15Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2019-01-21T17:53:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=5c2ab99971dfbf9645da91e20c21f20e2648e192'/>
<id>urn:sha1:5c2ab99971dfbf9645da91e20c21f20e2648e192</id>
<content type='text'>
This patch adds doxygen style documenation for struct sbi_platform
and related functions/macros/defines.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>include: Add documentation for sbi_trap_regs and friends</title>
<updated>2019-01-16T05:55:25Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2019-01-14T09:30:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=3298251f0c56b556a8f53632e46020861a2f4f8a'/>
<id>urn:sha1:3298251f0c56b556a8f53632e46020861a2f4f8a</id>
<content type='text'>
This patch adds doxygen style documentation for struct sbi_trap_regs
and related macros/defines/functions.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: Redirect illegal instruction trap to S-mode when not handled</title>
<updated>2018-12-31T03:58:26Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2018-12-27T16:09:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=5959312a5c26df64ebfdd9b4d926e88cf3d87840'/>
<id>urn:sha1:5959312a5c26df64ebfdd9b4d926e88cf3d87840</id>
<content type='text'>
Currently, we fail with error SBI_ENOTSUPP when we are not able
to handle illegal instruction trap. Instead, we should just
redirect illegal instruction trap to S-mode when not handled.

This redirection of illegal instruction trap will help lazy
save/restore of floating point registers to work correctly in
Linux kernel.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: Print mtval in sbi_trap_error()</title>
<updated>2018-12-27T04:36:38Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2018-12-27T04:36:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=f2d4c5f2915e805e660a533d30cda6edf97b8bcd'/>
<id>urn:sha1:f2d4c5f2915e805e660a533d30cda6edf97b8bcd</id>
<content type='text'>
The mtval CSR is very useful information when debugging hence
print it upon trap error in sbi_trap_error().

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: Add misaligned load/store trap handling</title>
<updated>2018-12-26T05:44:22Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2018-12-24T11:19:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=b5ae8e8a650d8cb0134f03f53472fb026d2ee6e6'/>
<id>urn:sha1:b5ae8e8a650d8cb0134f03f53472fb026d2ee6e6</id>
<content type='text'>
We generally don't get misaligned load/store traps from Linux/U-Boot
compiled using GCC 8.2 or higher but this is not true with older
GCC toolchains. To tackle this we add misaligned load/store trap
handling adopted from BBL sources but much more simpler.
(Note: BBL sources can be found at https://github.com/riscv/riscv-pk.git)

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>Introduce sbi_current_hartid()</title>
<updated>2018-12-21T08:06:59Z</updated>
<author>
<name>Damien Le Moal</name>
<email>damien.lemoal@wdc.com</email>
</author>
<published>2018-12-21T08:06:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=5563a0335421c3e1d69dc62a1b58675ddf3d1e5b'/>
<id>urn:sha1:5563a0335421c3e1d69dc62a1b58675ddf3d1e5b</id>
<content type='text'>
Use this helper instead of hardcoding csr_read(mhartid).

Signed-off-by: Damien Le Moal &lt;damien.lemoal@wdc.com&gt;
</content>
</entry>
<entry>
<title>Initial commit.</title>
<updated>2018-12-11T13:54:06Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2018-12-11T13:54:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=9e8ff05cb61f157fb0bcb6b0071d7b6dc0763faa'/>
<id>urn:sha1:9e8ff05cb61f157fb0bcb6b0071d7b6dc0763faa</id>
<content type='text'>
Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
</feed>
