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
F156581894: D55946.id175433.diff
Thu, May 14, 8:35 PM
F156570811: D55946.id.diff
Thu, May 14, 6:23 PM
F156561374: D55946.id173916.diff
Thu, May 14, 4:36 PM
F156547690: D55946.id.diff
Thu, May 14, 2:29 PM
Unknown Object (File)
Tue, May 12, 11:49 PM
Unknown Object (File)
Tue, May 12, 5:11 PM
Unknown Object (File)
Tue, May 12, 2:43 PM
Unknown Object (File)
Tue, May 12, 9:02 AM
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 Not Applicable
Unit
Tests Not Applicable