Page MenuHomeFreeBSD

arm64: Optimise the repeated TLBI workaround
ClosedPublic

Authored by andrew on Wed, Mar 4, 12:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 14, 11:45 AM
Unknown Object (File)
Fri, Mar 13, 9:20 PM
Unknown Object (File)
Thu, Mar 12, 11:25 PM
Unknown Object (File)
Wed, Mar 11, 11:08 PM
Unknown Object (File)
Sun, Mar 8, 9:20 AM
Unknown Object (File)
Sun, Mar 8, 4:21 AM
Unknown Object (File)
Fri, Mar 6, 4:24 PM
Unknown Object (File)
Thu, Mar 5, 12:29 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