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)
Sat, Jun 20, 1:09 AM
Unknown Object (File)
Wed, Jun 17, 11:02 PM
Unknown Object (File)
Wed, Jun 17, 5:48 PM
Unknown Object (File)
Wed, Jun 10, 10:22 AM
Unknown Object (File)
Sun, Jun 7, 9:47 AM
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
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