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
Unknown Object (File)
Sat, Apr 12, 5:07 AM
Unknown Object (File)
Fri, Apr 11, 6:26 PM
Unknown Object (File)
Tue, Apr 8, 8:26 AM
Unknown Object (File)
Sun, Apr 6, 3:47 AM
Unknown Object (File)
Mar 13 2025, 9:29 PM
Unknown Object (File)
Feb 13 2025, 8:01 AM
Unknown Object (File)
Jan 26 2025, 6:19 PM
Unknown Object (File)
Jan 24 2025, 12:12 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 Not Applicable
Unit
Tests Not Applicable

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