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, Jan 4, 11:25 PM
Unknown Object (File)
Dec 4 2024, 11:04 AM
Unknown Object (File)
Nov 25 2024, 2:23 AM
Unknown Object (File)
Nov 24 2024, 7:14 PM
Unknown Object (File)
Nov 22 2024, 5:12 PM
Unknown Object (File)
Nov 22 2024, 7:25 AM
Unknown Object (File)
Nov 22 2024, 12:47 AM
Unknown Object (File)
Nov 20 2024, 11:41 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