Re: Frequency disappear for ARM Cortex-A72 - ROCKPRO64

From: tech-lists <tech-lists_at_zyxst.net>
Date: Fri, 12 Nov 2021 13:30:21 UTC
Hello,

On Fri, Nov 12, 2021 at 01:14:54PM +0100, Henri Hennebert via freebsd-arm wrote:
>Hello
>
>On a ROCKPRO64 with FreeBSD 13.0-STABLE #0 stable/13-n248012-b6b91760300b
>
>The frequency disappear in sysctl dev.cpu for ARM Cortex-A72

On a rpi4 it looks like this, and it's always been this way:

% sysctl dev.cpu
dev.cpu.3.%parent: cpulist0
dev.cpu.3.%pnpinfo: name=cpu@3 compat=arm,cortex-a72
dev.cpu.3.%location: 
dev.cpu.3.%driver: cpu
dev.cpu.3.%desc: Open Firmware CPU
dev.cpu.2.%parent: cpulist0
dev.cpu.2.%pnpinfo: name=cpu@2 compat=arm,cortex-a72
dev.cpu.2.%location: 
dev.cpu.2.%driver: cpu
dev.cpu.2.%desc: Open Firmware CPU
dev.cpu.1.%parent: cpulist0
dev.cpu.1.%pnpinfo: name=cpu@1 compat=arm,cortex-a72
dev.cpu.1.%location: 
dev.cpu.1.%driver: cpu
dev.cpu.1.%desc: Open Firmware CPU
dev.cpu.0.temperature: 47.1C
dev.cpu.0.freq_levels: 2100/-1 600/-1
dev.cpu.0.freq: 2100
dev.cpu.0.%parent: cpulist0
dev.cpu.0.%pnpinfo: name=cpu@0 compat=arm,cortex-a72
dev.cpu.0.%location: 
dev.cpu.0.%driver: cpu
dev.cpu.0.%desc: Open Firmware CPU
dev.cpu.%parent: 

On an Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz there are lines like this
for every core:

dev.cpu.1.cx_method: C1/hlt
dev.cpu.1.cx_usage_counters: 869537
dev.cpu.1.cx_usage: 100.00% last 1249us
dev.cpu.1.cx_lowest: C1
dev.cpu.1.cx_supported: C1/1/0
dev.cpu.1.freq_levels: 3400/84000 3200/77169 3100/73848 2900/67388
2700/61182 2500/55201 2400/52298 2200/46677 2000/41272 1800/36091
1700/34277 1500/29407 1300/24752 1100/20312 1000/18167 800/14031
dev.cpu.1.freq: 3400
dev.cpu.1.temperature: 43.0C
dev.cpu.1.coretemp.throttle_log: 0
dev.cpu.1.coretemp.tjmax: 100.0C
dev.cpu.1.coretemp.resolution: 1
dev.cpu.1.coretemp.delta: 57
dev.cpu.1.%parent: acpi0
dev.cpu.1.%pnpinfo: _HID=none _UID=0 _CID=none
dev.cpu.1.%location: handle=\_PR_.CPU1
dev.cpu.1.%driver: cpu
dev.cpu.1.%desc: ACPI CPU

I don't know why this is different either. Both machines are at version
1300520
-- 
J.