HomeFreeBSD

Add an loader command on arm64 to sync the cache

Description

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

Details

Provenance
andrewAuthored on Dec 20 2021, 1:42 PM
Parents
rGc1381f07f61a: Don't sync the I/D caches when they are coherent
Branches
Unknown
Tags
Unknown