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)
Wed, Apr 23, 10:39 PM
Unknown Object (File)
Mon, Apr 14, 9:23 AM
Unknown Object (File)
Tue, Apr 1, 3:07 AM
Unknown Object (File)
Feb 22 2025, 2:13 PM
Unknown Object (File)
Feb 22 2025, 1:42 PM
Unknown Object (File)
Feb 22 2025, 1:31 PM
Unknown Object (File)
Feb 22 2025, 8:23 AM
Unknown Object (File)
Feb 21 2025, 12:17 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