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)
Thu, Jun 4, 2:00 PM
Unknown Object (File)
Thu, Jun 4, 2:00 PM
Unknown Object (File)
Mon, Jun 1, 7:29 AM
Unknown Object (File)
Wed, May 27, 10:16 AM
Unknown Object (File)
Mon, May 25, 10:45 AM
Unknown Object (File)
Fri, May 22, 9:16 PM
Unknown Object (File)
Mon, May 18, 8:20 AM
Unknown Object (File)
Mon, May 18, 8:11 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