Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137796593
D49897.id153946.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
427 B
Referenced Files
None
Subscribers
None
D49897.id153946.diff
View Options
diff --git a/sys/riscv/riscv/trap.c b/sys/riscv/riscv/trap.c
--- a/sys/riscv/riscv/trap.c
+++ b/sys/riscv/riscv/trap.c
@@ -239,7 +239,7 @@
* Enable interrupts for the duration of the page fault. For
* user faults this was done already in do_trap_user().
*/
- if ((frame->tf_sstatus & SSTATUS_SIE) != 0)
+ if ((frame->tf_sstatus & SSTATUS_SPIE) != 0)
intr_enable();
if (stval >= VM_MIN_KERNEL_ADDRESS) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 26, 9:48 PM (10 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26214947
Default Alt Text
D49897.id153946.diff (427 B)
Attached To
Mode
D49897: riscv: Fix handling of interrupts during kernel page faults
Attached
Detach File
Event Timeline
Log In to Comment