Page MenuHomeFreeBSD

arm64: Optimise the repeated TLBI workaround
ClosedPublic

Authored by andrew on Mar 4 2026, 12:32 PM.
Tags
None
Referenced Files
F154963027: D55646.id.diff
Thu, Apr 30, 8:35 AM
Unknown Object (File)
Mon, Apr 27, 8:00 PM
Unknown Object (File)
Sun, Apr 26, 4:32 PM
Unknown Object (File)
Sat, Apr 18, 10:37 PM
Unknown Object (File)
Sun, Apr 5, 1:17 PM
Unknown Object (File)
Sat, Apr 4, 6:13 PM
Unknown Object (File)
Fri, Apr 3, 10:35 PM
Unknown Object (File)
Mar 26 2026, 6:35 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 Not Applicable
Unit
Tests Not Applicable