Mark Johnston 3ec68206f5 Add some more checking to the RISC-V page fault handler.
- Panic immediately if witness says we're holding non-sleepable locks.
  This helps ensure that we don't recurse on the pmap lock in
  pmap_fault_fixup().
- Panic if the kernel faults on a user address without setting an
  onfault handler.
- Panic if the fault occurred in a critical section or interrupt
  handler, like we do on other platforms.
- Fix some style issues in trap_pfault().

Reviewed by:	jhb
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D18561
2018-12-14 21:07:12 +00:00
..
2018-12-14 00:40:38 +00:00
2018-12-13 04:40:53 +00:00
2018-10-20 20:45:49 +00:00
2018-12-12 21:10:34 +00:00
2018-12-14 03:55:08 +00:00
2018-10-20 22:39:35 +00:00
2018-12-11 16:49:01 +00:00