Page MenuHomeFreeBSD

riscv: Handle access faults in user mode
ClosedPublic

Authored by kp on Oct 1 2020, 8:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 30, 8:55 AM
Unknown Object (File)
Tue, Apr 30, 8:55 AM
Unknown Object (File)
Tue, Apr 30, 8:55 AM
Unknown Object (File)
Tue, Apr 30, 5:43 AM
Unknown Object (File)
Thu, Apr 18, 6:31 AM
Unknown Object (File)
Thu, Apr 18, 6:28 AM
Unknown Object (File)
Thu, Apr 18, 3:18 AM
Unknown Object (File)
Dec 20 2023, 7:23 AM
Subscribers

Details

Summary

Access faults in user mode are treated like TLB misses, which leads to
an endless loop of faults. It's less serious than the same fault in
kernel mode, because we can just terminate the process, but that's not
ideal.

Treat user mode access faults as a bus error.

Sponsored by: Axiado
Suggested by: jrtc27

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 33915
Build 31115: arc lint + arc unit