Page MenuHomeFreeBSD

riscv: fix L0 PTE setup (Sv48)
ClosedPublic

Authored by mhorne on Wed, May 15, 3:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 28, 6:29 PM
Unknown Object (File)
Sat, May 25, 2:02 PM
Unknown Object (File)
Tue, May 21, 12:26 PM
Unknown Object (File)
Sun, May 19, 12:29 PM
Unknown Object (File)
Sat, May 18, 8:24 PM
Unknown Object (File)
Sat, May 18, 3:36 PM
Unknown Object (File)
Fri, May 17, 7:59 PM
Unknown Object (File)
Thu, May 16, 12:36 PM
Subscribers

Details

Summary

Per the Privilege Spec, the Accessed (A) or Dirty (D) bits must only be
set for a leaf PTE.

It seems newer versions of QEMU have started to enforce this
requirement, and without this change, pmap_bootstrap() hangs when
switching to Sv48 mode.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable