Page MenuHomeFreeBSD

Ensure the I-Cache is correctly handled in arm64_icache_sync_range
ClosedPublic

Authored by andrew on Jan 14 2019, 10:19 AM.
Tags
None
Referenced Files
F107101786: D18838.diff
Fri, Jan 10, 3:38 AM
Unknown Object (File)
Wed, Dec 18, 6:24 PM
Unknown Object (File)
Dec 6 2024, 11:18 AM
Unknown Object (File)
Oct 27 2024, 1:41 AM
Unknown Object (File)
Oct 16 2024, 12:32 AM
Unknown Object (File)
Sep 18 2024, 6:43 PM
Unknown Object (File)
Sep 18 2024, 1:31 AM
Unknown Object (File)
Sep 15 2024, 9:06 PM
Subscribers

Details

Summary

The cache_handle_range macro to handle the arm64 instruction and data
cache operations would return when it was complete. This causes problems
for arm64_icache_sync_range and arm64_icache_sync_range_checked as they
assume they can execute the i-cache handling instruction after it has been
called.

Fix this by making this assumption correct.

While here add missing instruction barriers and adjust the style to
match the rest of the assembly.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable