Re: Which AMD CPUs are supported -- temperature

From: Dennis Clarke <dclarke_at_blastwave.org>
Date: Wed, 12 Feb 2020 15:44:06 -0500
On 2020-02-12 15:23, mike tancsa wrote:
> sysctl -a dev.cpu.0.temperature

Those sort of things seem to just "not work"(tm) on older type of 
processors :

vesta#
vesta#
vesta# uname -apKU
FreeBSD vesta 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC  amd64 
amd64 1201000 1201000

vesta# sysctl -a | grep 'cpu'
kern.smp.cpus: 6
kern.smp.maxcpus: 256
kern.ccpu: 0
   <cpu count="6" mask="3f,0,0,0">0, 1, 2, 3, 4, 5</cpu>
     <cpu count="2" mask="3,0,0,0">0, 1</cpu>
       <cpu count="1" mask="1,0,0,0">0</cpu>
       <cpu count="1" mask="2,0,0,0">1</cpu>
     <cpu count="2" mask="c,0,0,0">2, 3</cpu>
       <cpu count="1" mask="4,0,0,0">2</cpu>
       <cpu count="1" mask="8,0,0,0">3</cpu>
     <cpu count="2" mask="30,0,0,0">4, 5</cpu>
       <cpu count="1" mask="10,0,0,0">4</cpu>
       <cpu count="1" mask="20,0,0,0">5</cpu>
kern.sched.cpusetsize: 32
kern.pin_pcpu_swi: 0
kern.racct.pcpu_threshold: 1
cpu     HAMMER
device  cpufreq
kern.vt.splash_cpu_duration: 10
kern.vt.splash_cpu_style: 2
kern.vt.splash_ncpu: 0
kern.vt.splash_cpu: 0
vfs.ncpurgeminvnodes: 512
net.inet.tcp.per_cpu_timers: 0
debug.cpufreq.verbose: 0
debug.cpufreq.lowest: 0
debug.acpi.cpu_unordered: 0
hw.ncpu: 6
hw.acpi.cpu.cx_lowest: C1
hw.intrs: irq0: attimer0:3 _at_cpu0(domain0): 0
irq1: atkbd0:1 _at_cpu0(domain0): 0
irq3::5 _at_cpu0(domain0): 0
irq4::7 _at_cpu0(domain0): 0
irq5::9 _at_cpu0(domain0): 0
irq6::11 _at_cpu0(domain0): 0
irq7::13 _at_cpu0(domain0): 0
irq8: atrtc0:15 _at_cpu0(domain0): 0
irq9: acpi0:17 _at_cpu0(domain0): 0
irq10::19 _at_cpu0(domain0): 0
irq11::21 _at_cpu0(domain0): 0
irq12::23 _at_cpu0(domain0): 0
irq13::25 _at_cpu0(domain0): 0
irq14::27 _at_cpu0(domain0): 0
irq15::29 _at_cpu0(domain0): 0
irq16: hdac1:31 _at_cpu0(domain0): 37
irq17: ehci0 ehci1+:33 _at_cpu0(domain0): 2
irq18: ohci0 ohci1*:35 _at_cpu0(domain0): 22
irq19: ahci0:37 _at_cpu0(domain0): 4704900
irq20::39 _at_cpu0(domain0): 0
irq21::41 _at_cpu0(domain0): 0
irq22::43 _at_cpu0(domain0): 0
irq23::45 _at_cpu0(domain0): 0
irq256: hpet0:t0:53 _at_cpu0(domain0): 0
irq257: hpet0:t1:55 _at_cpu0(domain0): 0
irq258: hpet0:t2:57 _at_cpu0(domain0): 0
irq259: hdac0:59 _at_cpu0(domain0): 3
irq260: xhci0:61 _at_cpu0(domain0): 0
irq261: re0:63 _at_cpu0(domain0): 2908189
dev.cpufreq.0.%parent: cpu0
dev.cpufreq.0.%pnpinfo:
dev.cpufreq.0.%location:
dev.cpufreq.0.%driver: cpufreq
dev.cpufreq.0.%desc:
dev.cpufreq.%parent:
dev.hwpstate.0.%parent: cpu0
dev.acpi_perf.5.%parent: cpu5
dev.acpi_perf.4.%parent: cpu4
dev.acpi_perf.3.%parent: cpu3
dev.acpi_perf.2.%parent: cpu2
dev.acpi_perf.1.%parent: cpu1
dev.acpi_perf.0.%parent: cpu0
dev.cpu.5.cx_method: C1/hlt C2/io
dev.cpu.5.cx_usage_counters: 12254878 0
dev.cpu.5.cx_usage: 100.00% 0.00% last 120487us
dev.cpu.5.cx_lowest: C1
dev.cpu.5.cx_supported: C1/1/0 C2/2/100
dev.cpu.5.%parent: acpi0
dev.cpu.5.%pnpinfo: _HID=none _UID=0
dev.cpu.5.%location: handle=\_PR_.P006
dev.cpu.5.%driver: cpu
dev.cpu.5.%desc: ACPI CPU
dev.cpu.4.cx_method: C1/hlt C2/io
dev.cpu.4.cx_usage_counters: 12019819 0
dev.cpu.4.cx_usage: 100.00% 0.00% last 2984us
dev.cpu.4.cx_lowest: C1
dev.cpu.4.cx_supported: C1/1/0 C2/2/100
dev.cpu.4.%parent: acpi0
dev.cpu.4.%pnpinfo: _HID=none _UID=0
dev.cpu.4.%location: handle=\_PR_.P005
dev.cpu.4.%driver: cpu
dev.cpu.4.%desc: ACPI CPU
dev.cpu.3.cx_method: C1/hlt C2/io
dev.cpu.3.cx_usage_counters: 12269169 0
dev.cpu.3.cx_usage: 100.00% 0.00% last 33499us
dev.cpu.3.cx_lowest: C1
dev.cpu.3.cx_supported: C1/1/0 C2/2/100
dev.cpu.3.%parent: acpi0
dev.cpu.3.%pnpinfo: _HID=none _UID=0
dev.cpu.3.%location: handle=\_PR_.P004
dev.cpu.3.%driver: cpu
dev.cpu.3.%desc: ACPI CPU
dev.cpu.2.cx_method: C1/hlt C2/io
dev.cpu.2.cx_usage_counters: 12058705 0
dev.cpu.2.cx_usage: 100.00% 0.00% last 8us
dev.cpu.2.cx_lowest: C1
dev.cpu.2.cx_supported: C1/1/0 C2/2/100
dev.cpu.2.%parent: acpi0
dev.cpu.2.%pnpinfo: _HID=none _UID=0
dev.cpu.2.%location: handle=\_PR_.P003
dev.cpu.2.%driver: cpu
dev.cpu.2.%desc: ACPI CPU
dev.cpu.1.cx_method: C1/hlt C2/io
dev.cpu.1.cx_usage_counters: 10797189 0
dev.cpu.1.cx_usage: 100.00% 0.00% last 1713us
dev.cpu.1.cx_lowest: C1
dev.cpu.1.cx_supported: C1/1/0 C2/2/100
dev.cpu.1.%parent: acpi0
dev.cpu.1.%pnpinfo: _HID=none _UID=0
dev.cpu.1.%location: handle=\_PR_.P002
dev.cpu.1.%driver: cpu
dev.cpu.1.%desc: ACPI CPU
dev.cpu.0.cx_method: C1/hlt C2/io
dev.cpu.0.cx_usage_counters: 28428935 0
dev.cpu.0.cx_usage: 100.00% 0.00% last 922us
dev.cpu.0.cx_lowest: C1
dev.cpu.0.cx_supported: C1/1/0 C2/2/100
dev.cpu.0.freq_levels: 3300/13770 3000/11040 2400/7417 1800/4680 1400/3195
dev.cpu.0.freq: 1400
dev.cpu.0.%parent: acpi0
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%location: handle=\_PR_.P001
dev.cpu.0.%driver: cpu
dev.cpu.0.%desc: ACPI CPU
dev.cpu.%parent:
security.jail.param.cpuset.id: 0
vesta#

Such is life.


-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional
Received on Wed Feb 12 2020 - 19:44:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:23 UTC