<p>Jonathan Neuschäfer has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/23774">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">arch/riscv: Delegate the page fault exceptions<br><br>These exceptions were new in the Privileged Architecture spec 1.10.<br>We need to delegate them to S-mode.<br><br>Change-Id: Iec15afe9656107b9aeea1677c5b8dc7d654fa746<br>Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net><br>---<br>M src/arch/riscv/virtual_memory.c<br>1 file changed, 3 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/23774/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/arch/riscv/virtual_memory.c b/src/arch/riscv/virtual_memory.c</span><br><span>index 3cc2cc9..3bee868 100644</span><br><span>--- a/src/arch/riscv/virtual_memory.c</span><br><span>+++ b/src/arch/riscv/virtual_memory.c</span><br><span>@@ -32,6 +32,9 @@</span><br><span>     | (1 << CAUSE_LOAD_ACCESS)</span><br><span>     | (1 << CAUSE_STORE_ACCESS)</span><br><span>    | (1 << CAUSE_USER_ECALL)</span><br><span style="color: hsl(120, 100%, 40%);">+       | (1 << CAUSE_FETCH_PAGE_FAULT)</span><br><span style="color: hsl(120, 100%, 40%);">+ | (1 << CAUSE_LOAD_PAGE_FAULT)</span><br><span style="color: hsl(120, 100%, 40%);">+  | (1 << CAUSE_STORE_PAGE_FAULT)</span><br><span>        ;</span><br><span> </span><br><span> void mstatus_init(void)</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/23774">change 23774</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/23774"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Iec15afe9656107b9aeea1677c5b8dc7d654fa746 </div>
<div style="display:none"> Gerrit-Change-Number: 23774 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Jonathan Neuschäfer <j.neuschaefer@gmx.net> </div>