Page MenuHomeFreeBSD

arm64: Check for MTE tag failures on kernel entry
Needs ReviewPublic

Authored by andrew on Mar 19 2026, 4:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 14, 8:45 AM
Unknown Object (File)
Thu, May 14, 8:45 AM
Unknown Object (File)
Sat, Apr 25, 9:01 AM
Unknown Object (File)
Sat, Apr 25, 3:36 AM
Unknown Object (File)
Tue, Apr 21, 10:20 AM
Unknown Object (File)
Sun, Apr 19, 2:43 AM
Unknown Object (File)
Sat, Apr 18, 10:53 AM
Unknown Object (File)
Sat, Apr 18, 7:18 AM
Subscribers

Details

Reviewers
manu
Group Reviewers
arm64
Summary

When entering the kernel from userspace we need to check for MTE tag
failures when using asynchronous MTE. This is done by checking if either
tag fault check types that have asynchronous checks are enabled, and
if so check the register the result is stored. It then sets a flag the
kernel can later use to raise a signal.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 71533
Build 68416: arc lint + arc unit