summaryrefslogtreecommitdiffstats
path: root/ipc/util.c
diff options
context:
space:
mode:
authorAndreas Herrmann <andreas.herrmann3@amd.com>2010-08-25 15:42:12 +0200
committerJean Delvare <khali@linux-fr.org>2010-08-25 15:42:12 +0200
commita05e93f3b3fc2f53c1d0de3b17019e207c482349 (patch)
tree75cd457fee96e903503dc1c221f80baf05e07c08 /ipc/util.c
parenthwmon: (ads7871) Fix ads7871_probe error paths (diff)
downloadlinux-a05e93f3b3fc2f53c1d0de3b17019e207c482349.tar.xz
linux-a05e93f3b3fc2f53c1d0de3b17019e207c482349.zip
hwmon: (k8temp) Differentiate between AM2 and ASB1
Commit 8bf0223ed515be24de0c671eedaff49e78bebc9c (hwmon, k8temp: Fix temperature reporting for ASB1 processor revisions) fixed temperature reporting for ASB1 CPUs. But those CPU models (model 0x6b, 0x6f, 0x7f) were packaged both as AM2 (desktop) and ASB1 (mobile). Thus the commit leads to wrong temperature reporting for AM2 CPU parts. The solution is to determine the package type for models 0x6b, 0x6f, 0x7f. This is done using BrandId from CPUID Fn8000_0001_EBX[15:0]. See "Constructing the processor Name String" in "Revision Guide for AMD NPT Family 0Fh Processors" (Rev. 3.46). Cc: Rudolf Marek <r.marek@assembler.cz> Cc: stable@kernel.org [.32.x, .33.x, .34.x, .35.x] Reported-by: Vladislav Guberinic <neosisani@gmail.com> Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions