Page MenuHomeFreeBSD

arm64: Enable pointer authentication with QARMA3
ClosedPublic

Authored by andrew on Apr 8 2025, 11:23 AM.
Tags
None
Referenced Files
F132492477: D49710.diff
Fri, Oct 17, 9:09 AM
Unknown Object (File)
Thu, Oct 16, 6:56 AM
Unknown Object (File)
Fri, Oct 10, 11:16 AM
Unknown Object (File)
Sat, Oct 4, 8:14 AM
Unknown Object (File)
Fri, Oct 3, 6:19 PM
Unknown Object (File)
Fri, Oct 3, 4:00 AM
Unknown Object (File)
Thu, Oct 2, 4:13 PM
Unknown Object (File)
Wed, Oct 1, 4:02 AM
Subscribers

Details

Summary

When the QARMA3 algorithm is used the ID_AA64ISAR2_EL1.APA3 field is
non-zero. Include this in the check for enabling pointer auth.

Sponsored by: Arm Ltd

Diff Detail

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

Event Timeline

This looks reasonable. Is it worth a comment on the ID_AA64ISAR1_EL1 and ID_AA64ISAR2_EL1 blocks?

Add comments for why we check each register

Rebase and add a comment above update_special_reg

This revision was not accepted when it landed; it landed in state Needs Review.Jun 23 2025, 4:34 PM
This revision was automatically updated to reflect the committed changes.