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)
Sun, Oct 4, 8:13 AM
Unknown Object (File)
Fri, Oct 2, 8:15 PM
Unknown Object (File)
Fri, Oct 2, 5:21 AM
Unknown Object (File)
Wed, Sep 30, 3:55 PM
Unknown Object (File)
Wed, Sep 30, 6:30 AM
Unknown Object (File)
Mon, Sep 28, 7:22 PM
Unknown Object (File)
Sun, Sep 20, 10:48 AM
Unknown Object (File)
Sun, Sep 20, 10:13 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