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)
Sat, Jun 6, 8:52 PM
Unknown Object (File)
Sat, Jun 6, 8:51 PM
Unknown Object (File)
Sat, Jun 6, 8:50 PM
Unknown Object (File)
Fri, May 22, 1:30 PM
Unknown Object (File)
May 9 2026, 1:13 AM
Unknown Object (File)
Apr 27 2026, 10:38 AM
Unknown Object (File)
Apr 21 2026, 6:38 AM
Unknown Object (File)
Apr 21 2026, 6: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 Passed
Unit
No Test Coverage
Build Status
Buildable 57715
Build 54603: arc lint + arc unit