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
F102759497: D42566.id130020.diff
Sat, Nov 16, 6:54 PM
F102747987: D42566.id130020.diff
Sat, Nov 16, 4:19 PM
Unknown Object (File)
Sep 30 2024, 9:46 AM
Unknown Object (File)
Sep 24 2024, 2:26 AM
Unknown Object (File)
Sep 21 2024, 7:13 AM
Unknown Object (File)
Sep 16 2024, 3:19 PM
Unknown Object (File)
Sep 16 2024, 12:30 PM
Unknown Object (File)
Sep 10 2024, 4:49 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 54389
Build 51279: arc lint + arc unit

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.