Module Name:    src
Committed By:   jmcneill
Date:           Thu Sep  2 20:57:57 UTC 2021

Modified Files:
        src/sys/arch/arm/apple: apple_platform.c

Log Message:
apple: derive CPU speed from mpidr_el1

According to https://github.com/AsahiLinux/docs/wiki/HW%3AARM-System-Registers,
MPIDR_EL1 Aff2 determines whether a core is an efficiency or performance
core. Replace the compat data table with code that uses the aff2 value
for fake DMIPS/MHz value, to hopefully maintain compatibility with future
cores.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/apple/apple_platform.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to