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)
Fri, May 22, 1:30 PM
Unknown Object (File)
Sat, May 9, 1:13 AM
Unknown Object (File)
Mon, Apr 27, 10:38 AM
Unknown Object (File)
Apr 21 2026, 6:38 AM
Unknown Object (File)
Apr 21 2026, 6:38 AM
Unknown Object (File)
Apr 21 2026, 6:37 AM
Unknown Object (File)
Apr 20 2026, 7:40 AM
Unknown Object (File)
Apr 15 2026, 4:01 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