Page MenuHomeFreeBSD

arm64: Optimise the repeated TLBI workaround
ClosedPublic

Authored by andrew on Mar 4 2026, 12:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 13, 12:16 PM
Unknown Object (File)
Wed, Aug 12, 1:28 PM
Unknown Object (File)
Wed, Aug 12, 1:17 PM
Unknown Object (File)
Sun, Aug 9, 6:18 AM
Unknown Object (File)
Fri, Aug 7, 11:28 AM
Unknown Object (File)
Mon, Aug 3, 7:47 AM
Unknown Object (File)
Mon, Aug 3, 1:12 AM
Unknown Object (File)
Sun, Aug 2, 1:39 AM
Subscribers

Details

Summary

It has been reported that the overhead of repeating all TLBI
instructions is too large [1]. The Software Developer Errata Notices
(SDEN) for the relevant Arm CPUs have been updated so a single
"tlbi vale1is, xzr" followed by "dsb ish" is sufficient to work around
the issues.

Replace the places we repeat TLBI instructions with the new sequence.

[1] https://lore.kernel.org/linux-arm-kernel/20260218164348.2022831-1-mark.rutland@arm.com/

Sponsored by: Arm Ltd

Diff Detail

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