Page MenuHomeFreeBSD

arm64: Enable pointer authentication with QARMA3
ClosedPublic

Authored by andrew on Apr 8 2025, 11:23 AM.
Tags
None
Referenced Files
F131021502: D49710.id157457.diff
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
Unknown Object (File)
Sat, Sep 27, 1:53 AM
Unknown Object (File)
Wed, Sep 24, 7:07 AM
Unknown Object (File)
Tue, Sep 23, 4:27 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 63797
Build 60681: arc lint + arc unit

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.