Page MenuHomeFreeBSD

arm64: Optimise the repeated TLBI workaround
ClosedPublic

Authored by andrew on Mar 4 2026, 12:32 PM.
Tags
None
Referenced Files
F162141022: D55646.diff
Fri, Jul 10, 5:29 AM
F162109725: D55646.diff
Thu, Jul 9, 8:57 PM
Unknown Object (File)
Wed, Jul 8, 5:38 AM
Unknown Object (File)
Mon, Jul 6, 4:04 AM
Unknown Object (File)
Fri, Jul 3, 7:01 PM
Unknown Object (File)
Wed, Jul 1, 12:53 PM
Unknown Object (File)
Mon, Jun 29, 10:54 AM
Unknown Object (File)
Sat, Jun 27, 7:21 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