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)
Wed, Sep 10, 6:26 PM
Unknown Object (File)
Tue, Sep 9, 11:32 PM
Unknown Object (File)
Tue, Sep 9, 1:16 PM
Unknown Object (File)
Fri, Aug 22, 9:51 PM
Unknown Object (File)
Aug 3 2025, 10:53 PM
Unknown Object (File)
Aug 2 2025, 8:49 PM
Unknown Object (File)
Jul 27 2025, 5:54 AM
Unknown Object (File)
Jul 24 2025, 12:37 PM
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 64593
Build 61477: 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.