From: Jan Beulich Date: Fri, 8 Oct 2010 08:59:38 +0000 (-0400) Subject: hwmon: (coretemp) fix reading of microcode revision (v2) X-Git-Tag: v2.6.37-rc1~118^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3247800676c4a04352cde72b9935b57ffc72ce15;p=pandora-kernel.git hwmon: (coretemp) fix reading of microcode revision (v2) According to the documentation, simply reading the respective MSR isn't sufficient: It should be written with zeros, cpuid(1) be executed, and then read (see arch/x86/kernel/cpu/intel.c for an example). v2: Fail probe when microcode revision cannot be determined, but is needed to check for proper operation. Signed-off-by: Jan Beulich Cc: Fenghua Yu Cc: Chen Gong Cc: Jean Delvare Acked-by: Fenghua Yu Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed