Page MenuHomeFreeBSD

riscv: fix L0 PTE setup (Sv48)
ClosedPublic

Authored by mhorne on May 15 2024, 3:48 PM.
Tags
None
Referenced Files
F133645000: D45210.id.diff
Mon, Oct 27, 6:04 AM
F133644803: D45210.id.diff
Mon, Oct 27, 6:02 AM
Unknown Object (File)
Sun, Oct 26, 12:12 PM
Unknown Object (File)
Mon, Oct 13, 12:55 AM
Unknown Object (File)
Jun 22 2025, 10:00 PM
Unknown Object (File)
Jun 11 2025, 1:15 AM
Unknown Object (File)
Jun 9 2025, 8:31 PM
Unknown Object (File)
May 12 2025, 7:16 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