Page MenuHomeFreeBSD

arm64: Enable pointer authentication with QARMA3
ClosedPublic

Authored by andrew on Apr 8 2025, 11:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 28, 10:19 AM
Unknown Object (File)
Sun, Mar 22, 12:19 PM
Unknown Object (File)
Sun, Mar 22, 1:23 AM
Unknown Object (File)
Mon, Mar 16, 3:24 AM
Unknown Object (File)
Sun, Mar 15, 9:13 PM
Unknown Object (File)
Sat, Mar 14, 4:14 AM
Unknown Object (File)
Wed, Mar 11, 8:05 PM
Unknown Object (File)
Tue, Mar 10, 10:22 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.