CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/04/03 08:20:23
Modified files:
sys/arch/amd64/amd64: machdep.c
sys/arch/arm64/arm64: cpu.c machdep.c
sys/arch/arm64/dev: acpicpu.c
sys/arch/arm64/include: cpu.h
Log message:
Add hw.blockcpu support for arm64. Here we classify CPU cores based on
their "capacity". This a concept borrowed from the device tree standard
that indicates the nominal performance of a CPU core. For ACPI machines
we use similar information from ACPI's Collaborative Processor Performance
Control (CPPC). If performance is less than 30% of the fastest cores in
the same we classify them as L. Between 30% and 80% we classify them as E.
And above 80% we classify them as P. The CPU capacity is communicated to
userland though kstat(4).
ok deraadt@, jca@