Skip to content

hwmon: (coretemp) Fix core count limitation

Zhang Rui linux-hwmon lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hwmon: (coretemp) Introduce enum for attr indexdrivers/hwmon/coretemp.c+10 -25 replies
2/3hwmon: (coretemp) Remove unnecessary dependency of array indexdrivers/hwmon/coretemp.c+5 -104 replies
3/3hwmon: (coretemp) Fix core count limitationdrivers/hwmon/coretemp.c+52 -586 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] hwmon: (coretemp) Fix core count limitation

Currently, coretemp driver only supports 128 cores per package. This loses some core temperature information on systems that have more than 128 cores per package.

 [   58.685033] coretemp coretemp.0: Adding Core 128 failed
 [   58.692009] coretemp coretemp.0: Adding Core 129 failed

To get rid of the fixed length pdata->core_data[] array,
Patch 1/3 and 2/3 removes the dependency of array index in sysfs attribute callbacks.
Patch 3/3 removes the pdata->core_data[] array and use a per package list to maintain the per core temperature infomation instead.

-rui

----------------------------------------------------------------
Zhang Rui (3):
hwmon: (coretemp) Introduce enum for attr index
hwmon: (coretemp) Remove unnecessary dependency of array index
hwmon: (coretemp) Fix core count limitation

 drivers/hwmon/coretemp.c | 137 +++++++++++++++++++++++------------------------
 1 file changed, 67 insertions(+), 70 deletions(-)