Page MenuHomeFreeBSD

arm64: Support mapping a 52-bit physical adddress
ClosedPublic

Authored by andrew on Sep 10 2024, 2:41 PM.
Tags
None
Referenced Files
F147453386: D46624.diff
Wed, Mar 11, 3:47 AM
F147420585: D46624.id147815.diff
Tue, Mar 10, 8:31 PM
Unknown Object (File)
Sat, Feb 21, 4:54 AM
Unknown Object (File)
Mon, Feb 16, 11:52 PM
Unknown Object (File)
Feb 8 2026, 3:33 PM
Unknown Object (File)
Feb 8 2026, 1:34 PM
Unknown Object (File)
Feb 8 2026, 12:34 PM
Unknown Object (File)
Jan 31 2026, 1:36 PM
Subscribers

Details

Summary

When FEAT_LPA2 is enabled the physical address space increases from
48-bits to 52-bits. The top two address bits are moved to the now
unused shareability field.

Update the kernel to support this new larger address space.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 61085
Build 57969: arc lint + arc unit

Event Timeline

alc added inline comments.
sys/arm64/include/pte.h
94–116

Just as a matter of style, why not place these below the definitions of ATTR_OA_51_50_MASK and ATTR_OA_51_50_DELTA?

This revision is now accepted and ready to land.Sep 15 2024, 5:55 PM

Reorder PTE_TO_PHYS and PHYS_TO_PTE

This revision now requires review to proceed.Dec 11 2024, 3:13 PM
This revision is now accepted and ready to land.Dec 12 2024, 10:47 AM