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
Unknown Object (File)
Apr 4 2024, 11:59 AM
Unknown Object (File)
Mar 26 2024, 12:03 AM
Unknown Object (File)
Jan 28 2024, 5:48 AM
Unknown Object (File)
Dec 22 2023, 9:55 PM
Unknown Object (File)
Dec 21 2023, 1:08 PM
Unknown Object (File)
Nov 21 2023, 10:54 AM
Unknown Object (File)
Aug 23 2023, 1:49 AM
Unknown Object (File)
Jul 7 2023, 4:10 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