Page MenuHomeFreeBSD

arm64: Use pmap_early_vtophys in pmap_bootstrap_san
ClosedPublic

Authored by andrew on Nov 13 2023, 5:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 12, 8:58 AM
Unknown Object (File)
Tue, May 12, 8:58 AM
Unknown Object (File)
Apr 20 2026, 12:46 AM
Unknown Object (File)
Apr 17 2026, 2:51 AM
Unknown Object (File)
Apr 14 2026, 4:11 AM
Unknown Object (File)
Apr 14 2026, 2:39 AM
Unknown Object (File)
Apr 14 2026, 1:57 AM
Unknown Object (File)
Apr 11 2026, 12:55 PM
Subscribers

Details

Summary

Use pmap_early_vtophys to find the physical address of the kernel base
rather than using the calculated offset as it will be removed in a
latter commit.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I tried testing this locally, however I don't get very far into the kernel before it hangs with KASAN both with and without this change.

Tested on an the Arm AEM Model (architecture simulator). I think KASAN has issues with my local VM.

This revision was not accepted when it landed; it landed in state Needs Review.Nov 15 2023, 6:13 PM
This revision was automatically updated to reflect the committed changes.