Page MenuHomeFreeBSD

arm64: mte: configure initial state for system registers
ClosedPublic

Authored by andrew on Mar 19 2026, 4:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 24, 2:42 AM
Unknown Object (File)
Sat, Aug 15, 6:03 AM
Unknown Object (File)
Thu, Aug 13, 12:37 AM
Unknown Object (File)
Thu, Aug 13, 12:37 AM
Unknown Object (File)
Thu, Aug 13, 12:37 AM
Unknown Object (File)
Thu, Aug 13, 12:37 AM
Unknown Object (File)
Wed, Aug 12, 11:30 PM
Unknown Object (File)
Wed, Aug 12, 5:21 PM
Subscribers

Details

Summary

The fields in SCTLR_EL1 and HCR_EL2 for enabling MTE are set, and if the
ID_AA64PFR1_EL1 register shows MTE is present, the GCR_EL1 register is
also configured, and the two TFSR registers which hold pending tag check
faults are cleared.

Sponsored by: Arm Ltd
Signed-off-by: Harry Moulton <harry.moulton@arm.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 71527
Build 68410: arc lint + arc unit