<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/arch/riscv/cpu/mtrap.S, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2018-12-18T01:56:27Z</updated>
<entry>
<title>riscv: Return to previous privilege level after trap handling</title>
<updated>2018-12-18T01:56:27Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2018-12-12T14:12:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=10753ef8fd14dfe1d41ec253966569de19463adc'/>
<id>urn:sha1:10753ef8fd14dfe1d41ec253966569de19463adc</id>
<content type='text'>
At present the trap handler returns to hardcoded M-mode/S-mode.
Change to returning to previous privilege level instead.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Lukas Auer &lt;lukas.auer@aisec.fraunhofer.de&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>riscv: Fix context restore before returning from trap handler</title>
<updated>2018-12-18T01:56:27Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2018-12-12T14:12:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=496262cca63f25408c6715b39cea1747e8ce9b59'/>
<id>urn:sha1:496262cca63f25408c6715b39cea1747e8ce9b59</id>
<content type='text'>
sp cannot be loaded before restoring other registers.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Lukas Auer &lt;lukas.auer@aisec.fraunhofer.de&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>riscv: Move trap handler codes to mtrap.S</title>
<updated>2018-12-18T01:56:27Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2018-12-12T14:12:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=4b3f5ed5ac1a4376c29c3010d25049c03de4ed57'/>
<id>urn:sha1:4b3f5ed5ac1a4376c29c3010d25049c03de4ed57</id>
<content type='text'>
Currently the M-mode trap handler codes are in start.S. For future
extension, move them to a separate file mtrap.S.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Lukas Auer &lt;lukas.auer@aisec.fraunhofer.de&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
</feed>
