hwmon: (k8temp) Fix temperature reporting for ASB1 processor revisions
authorAndreas Herrmann <andreas.herrmann3@amd.com>
Fri, 9 Jul 2010 14:22:47 +0000 (16:22 +0200)
committerJean Delvare <khali@linux-fr.org>
Fri, 9 Jul 2010 14:22:47 +0000 (16:22 +0200)
commitd535bad90dad4eb42ec6528043fcfb53627d4f89
tree0ec65cd980bcfa0e859cdf4a43d583d331fd130f
parente467e104bb7482170b79f516d2025e7cfcaaa733
hwmon: (k8temp) Fix temperature reporting for ASB1 processor revisions

Reported temperature for ASB1 CPUs is too high.
Add ASB1 CPU revisions (these are also non-desktop variants) to the
list of CPUs for which the temperature fixup is not required.

Example: (from LENOVO ThinkPad Edge 13, 01972NG, system was idle)

  Current kernel reports

  $ sensors
  k8temp-pci-00c3
  Adapter: PCI adapter
  Core0 Temp:  +74.0 C
  Core0 Temp:  +70.0 C
  Core1 Temp:  +69.0 C
  Core1 Temp:  +70.0 C

  With this patch I have

  $ sensors
  k8temp-pci-00c3
  Adapter: PCI adapter
  Core0 Temp:  +54.0 C
  Core0 Temp:  +51.0 C
  Core1 Temp:  +48.0 C
  Core1 Temp:  +49.0 C

Cc: stable@kernel.org [.32.x .33.x, .34.x]
Cc: Rudolf Marek <r.marek@assembler.cz>
Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/k8temp.c