[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231127131651.476795-1-rui.zhang@intel.com>
Date: Mon, 27 Nov 2023 21:16:48 +0800
From: Zhang Rui <rui.zhang@...el.com>
To: linux@...ck-us.net, jdelvare@...e.com
Cc: fenghua.yu@...el.com, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [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(-)
Powered by blists - more mailing lists