]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove an unneeded cpu_dcache_wb_range from arm64
authorAndrew Turner <andrew@FreeBSD.org>
Tue, 18 Oct 2022 16:37:43 +0000 (17:37 +0100)
committerAndrew Turner <andrew@FreeBSD.org>
Thu, 27 Oct 2022 16:05:46 +0000 (17:05 +0100)
commit7ddba690f8aea5cc0bd496cd7c8fabaf6ee9f4ef
tree9451b1cf0e557ee23c67f3e1d4c360a3e0259a52
parent60c96dbf20da7014c014e19c47b57c30b338bfe0
Remove an unneeded cpu_dcache_wb_range from arm64

The cpu_dcache_wb_range function is an expensive function that is
unneeded in ddb. It is used when the cache needs to be written to RAM,
e.g. when working with a non-cache coherent device.

Remove it as cpu_icache_sync_range already has the needed d-cache
handling to ensure any changed memory is visible to the i-cache.

Reviewed by: imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37037
sys/arm64/arm64/db_interface.c