HomeFreeBSD

Don't sync the I/D caches when they are coherent

Description

Don't sync the I/D caches when they are coherent

In the arm64 loader we need to syncronise the I and D caches. On some
newer CPUs the I and D caches are coherent so we don't need to perform
these operations.

While here remove the arguments to cpu_inval_icache as they are unneeded.

Reported by: cperciva
Tested by: cperciva
Sponsored by: Innovate UK

(cherry picked from commit c1381f07f61a66979f1569995f37f2a0413c0413)

Details

Provenance
andrewAuthored on Dec 17 2021, 9:33 AM
Parents
rG8c60821c2617: ocs_fc: Add lancer G7 to the supported hardware in the man page.
Branches
Unknown
Tags
Unknown