This is a note to let you know that I've just added the patch titled
hwmon: (coretemp) Relax target temperature range check
to the 2.6.39-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
hwmon-coretemp-relax-target-temperature-range-check.patch
and it can be found in the queue-2.6.39 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 4c6e0f8101e62d8b2d01dc94b835a98b191a1454 Mon Sep 17 00:00:00 2001
From: Jean Delvare <[email protected]>
Date: Tue, 31 May 2011 15:50:51 -0400
Subject: hwmon: (coretemp) Relax target temperature range check
From: Jean Delvare <[email protected]>
commit 4c6e0f8101e62d8b2d01dc94b835a98b191a1454 upstream.
The current temperature range check of MSR_IA32_TEMPERATURE_TARGET
seems too strict to me, some TjMax values documented in
Documentation/hwmon/coretemp wouldn't pass. Relax the check so that
all the documented values pass.
Signed-off-by: Jean Delvare <[email protected]>
Cc: Carsten Emde <[email protected]>
Cc: Fenghua Yu <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/hwmon/coretemp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/hwmon/coretemp.c
+++ b/drivers/hwmon/coretemp.c
@@ -263,7 +263,7 @@ static int __devinit get_tjmax(struct cp
* If the TjMax is not plausible, an assumption
* will be used
*/
- if ((val > 80) && (val < 120)) {
+ if (val >= 70 && val <= 125) {
dev_info(dev, "TjMax is %d C.\n", val);
return val * 1000;
}
Patches currently in stable-queue which might be from [email protected] are
queue-2.6.39/hwmon-coretemp-fix-tjmax-detection-for-older-cpus.patch
queue-2.6.39/hwmon-coretemp-relax-target-temperature-range-check.patch
_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable