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, May 18, 8:20 AM
Unknown Object (File)
Mon, May 18, 8:11 AM
Unknown Object (File)
Mon, May 18, 1:19 AM
Unknown Object (File)
Mon, May 18, 1:12 AM
Unknown Object (File)
Thu, May 14, 8:35 PM
Unknown Object (File)
Thu, May 14, 6:23 PM
Unknown Object (File)
Thu, May 14, 4:36 PM
Unknown Object (File)
Thu, May 14, 2:29 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 Not Applicable
Unit
Tests Not Applicable