Re: [PATCH] hwmon: (coretemp) Document sysfs numbering and label meaning

From: Ximing Zhang

Date: Sun Oct 18 2026 - 12:39:05 EST


I tested the documented sysfs numbering on an Intel Core i7-10510U
running 7.2.5-1-cachyos, with all eight logical CPUs online.

coretemp exposed the package sensor as temp1 with label "Package id 0".
The four per-core sensors were exposed as temp2 through temp5 with
labels "Core 0" through "Core 3", respectively.

The topology files reported the following SMT sibling pairs:

cpu0/cpu4: core_id 0
cpu1/cpu5: core_id 1
cpu2/cpu6: core_id 2
cpu3/cpu7: core_id 3

This confirms that the per-core attribute number is core_id + 2 and
that the label identifies the core_id rather than the logical CPU
number.

Tested-by: Ximing Zhang <xzhangjr@xxxxxxxxx>
Reviewed-by: Ximing Zhang <xzhangjr@xxxxxxxxx>