jrtc27 99b1bac35d riscv: Fix pmap_fault_fixup for L3 pages
Summary:
The parentheses being in the wrong place means that, for L3 pages,
oldpte has all bits except PTE_V cleared, and so all the subsequent
checks against oldpte will fail, causing us to bail out and not retry
the faulting instruction after an SFENCE.VMA. This causes a WITNESS +
INVARIANTS kernel to fault on the "Chisel P3" (BOOM-based) DARPA SSITH
GFE SoC in pmap_init when writing to pv_table and, being a nofault
entry, subsequently panic with:

  panic: vm_fault_lookup: fault on nofault entry, addr: 0xffffffc004e00000

Reviewed by:	markj
Approved by:	markj
Differential Revision:	https://reviews.freebsd.org/D24315
2020-04-06 22:29:15 +00:00
..
2020-02-20 16:58:19 +00:00
2020-03-27 00:29:33 +00:00
2020-04-01 19:22:09 +00:00
2020-04-01 17:09:21 +00:00
2020-03-01 23:01:37 +00:00
2020-03-16 12:33:57 +00:00
2020-04-04 04:03:10 +00:00
2020-02-03 17:35:11 +00:00