]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add an loader command on arm64 to sync the cache
authorAndrew Turner <andrew@FreeBSD.org>
Mon, 20 Dec 2021 13:42:15 +0000 (13:42 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Mon, 20 Dec 2021 13:58:36 +0000 (13:58 +0000)
commitc399283c71e310e1573e8d27f9cb9d27a4ea3376
treeffe6377e1ccd817bf4c0811859bf4656902da08f
parentc1381f07f61a66979f1569995f37f2a0413c0413
Add an loader command on arm64 to sync the cache

On boot we don't need to perform any CPU cache management when the IDC
and DIC fields in the ctr_el0 register are set. Add a command to tell
loader to ignore these fields. This could be useful, for example, if the
hardware is misreporting the values and we are missing a quirk to enable
it.

It is not expected this will be needed, but is only intended as a
workaround to ensure the kernel can still boot.

Sponsored by: The FreeBSD Foundation
stand/arm64/libarm64/cache.c