Page MenuHomeFreeBSD

riscv: fix L0 PTE setup (Sv48)
ClosedPublic

Authored by mhorne on May 15 2024, 3:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 7:38 AM
Unknown Object (File)
Sat, Nov 9, 10:11 AM
Unknown Object (File)
Fri, Nov 8, 12:42 AM
Unknown Object (File)
Oct 17 2024, 1:07 PM
Unknown Object (File)
Oct 16 2024, 3:50 PM
Unknown Object (File)
Oct 14 2024, 9:23 PM
Unknown Object (File)
Oct 13 2024, 11:45 AM
Unknown Object (File)
Oct 12 2024, 8:38 AM
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