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)
Mon, Nov 17, 8:05 AM
Unknown Object (File)
Nov 4 2025, 10:03 PM
Unknown Object (File)
Nov 4 2025, 10:02 PM
Unknown Object (File)
Nov 4 2025, 10:02 PM
Unknown Object (File)
Nov 4 2025, 7:13 PM
Unknown Object (File)
Oct 29 2025, 11:06 AM
Unknown Object (File)
Oct 27 2025, 6:04 AM
Unknown Object (File)
Oct 27 2025, 6:02 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