]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
hwmon: (coretemp) Let the user force TjMax
authorJean Delvare <khali@linux-fr.org>
Fri, 16 Sep 2011 19:24:02 +0000 (21:24 +0200)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 22 Sep 2011 00:25:18 +0000 (17:25 -0700)
commita45a8c8571c0be6a6bd72ae5a14255c26b14b504
tree47593c6b73c9a68dce03b57e7a387f94f441b8bb
parent6bf9e9b09c3abb5447bbbf16c2d0cbe721e44f3f
hwmon: (coretemp) Let the user force TjMax

On old CPUs (and even some recent Atom CPUs) TjMax can't be read from
the CPU registers, so it is guessed by the driver using a complex
heuristic which isn't reliable. So let users who know their CPU's
TjMax pass it as a module parameter.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: "R, Durgadoss" <durgadoss.r@intel.com>
Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: Alexander Stein <alexander.stein@systec-electronic.com>
Acked-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Documentation/hwmon/coretemp
drivers/hwmon/coretemp.c