Page MenuHomeFreeBSD

arm64: Support async MTE
Needs ReviewPublic

Authored by andrew on Thu, Mar 19, 4:07 PM.
Tags
None
Referenced Files
F149433799: D55959.id173929.diff
Tue, Mar 24, 10:52 AM
F149402955: D55959.diff
Tue, Mar 24, 5:45 AM
F149366218: D55959.diff
Tue, Mar 24, 12:18 AM
Unknown Object (File)
Mon, Mar 23, 12:18 AM
Unknown Object (File)
Sun, Mar 22, 4:47 PM
Subscribers

Details

Reviewers
manu
Group Reviewers
arm64
Summary

MTE supports a mode where tags are checked asynchronously. When this is
supported and enabled then tag check failures are recorded by setting
the TFSRE0_EL1.TF0 field (for userspace tag faults). This field is then
checked on kernel entry & send userspace a SIGSEGV if no other signals
are being sent.

This allows the tag check to be performed between the memory operation
and the next exception, reducing the overhead. On a tag check failure no
address location is reported so this mode lacks precision of which
memory access failed.

Sponsored by: Arm Ltd

Diff Detail

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