kernel_optimize_test/drivers/hwmon
Andreas Herrmann a05e93f3b3 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>
2010-08-25 15:42:12 +02:00
..
ams of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
abituguru3.c
abituguru.c
ad7414.c
ad7418.c
adcxx.c
adm1021.c
adm1025.c
adm1026.c
adm1029.c
adm1031.c
adm9240.c
ads7828.c
ads7871.c hwmon: (ads7871) Fix ads7871_probe error paths 2010-08-25 15:42:10 +02:00
adt7411.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
adt7462.c
adt7470.c
adt7475.c
amc6821.c
applesmc.c hwmon: (applesmc) Add temperature sensor labels to sysfs interface 2010-05-27 19:58:54 +02:00
asb100.c
asc7621.c hwmon: (asc7621) Clean up and improve detect function 2010-08-14 21:08:52 +02:00
asus_atk0110.c
atxp1.c
coretemp.c hwmon: (coretemp) Fix harmless build warning 2010-08-25 15:42:08 +02:00
dme1737.c hwmon: (dme1737) Add SCH5127 support 2010-05-27 19:59:01 +02:00
ds1621.c
emc1403.c hwmon: (emc1403) Add power support 2010-08-14 21:08:49 +02:00
emc2103.c hwmon: Add driver for SMSC EMC2103 temperature monitor and fan controller 2010-08-14 21:08:54 +02:00
f71805f.c
f71882fg.c revert "hwmon: f71882fg: add support for the Fintek F71808E" 2010-08-20 09:34:55 -07:00
f75375s.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
fschmd.c
g760a.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
gl518sm.c
gl520sm.c
hdaps.c drivers/hwmon/hdaps.c: add Lenovo Thinkpad T400 to the whitelist 2010-08-09 20:45:10 -07:00
hp_accel.c
hwmon-vid.c
hwmon.c
i5k_amb.c hwmon: (i5k_amb) Fix sysfs attribute for lockdep 2010-06-20 09:22:31 +02:00
ibmaem.c
ibmpex.c
it87.c hwmon: (it87) Export labels for internal sensors 2010-08-14 21:08:50 +02:00
jc42.c hwmon: add support for JEDEC JC 42.4 compliant temperature sensors 2010-08-09 20:45:10 -07:00
jz4740-hwmon.c HWMON: Add JZ4740 ADC driver 2010-08-05 13:26:19 +01:00
k8temp.c hwmon: (k8temp) Differentiate between AM2 and ASB1 2010-08-25 15:42:12 +02:00
k10temp.c hwmon: (k10temp) Do not blacklist known working CPU models 2010-06-20 09:22:31 +02:00
Kconfig revert "hwmon: f71882fg: add support for the Fintek F71808E" 2010-08-20 09:34:55 -07:00
lis3lv02d_i2c.c
lis3lv02d_spi.c
lis3lv02d.c
lis3lv02d.h
lm63.c
lm70.c
lm73.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
lm75.c hwmon: (lm75) Add suspend/resume feature 2010-08-14 21:08:50 +02:00
lm75.h hwmon: (lm75) Add suspend/resume feature 2010-08-14 21:08:50 +02:00
lm77.c
lm78.c
lm80.c
lm83.c
lm85.c
lm87.c
lm90.c
lm92.c
lm93.c
lm95241.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
ltc4215.c
ltc4245.c hwmon: (ltc4245) Expose all GPIO pins as analog voltages 2010-08-14 21:08:49 +02:00
Makefile hwmon: Add driver for SMSC EMC2103 temperature monitor and fan controller 2010-08-14 21:08:54 +02:00
max1111.c
max1619.c
max6650.c
mc13783-adc.c hwmon: Don't access struct mc13783 directly from mc13783-adc 2010-08-12 11:28:03 +02:00
pc87360.c hwmon: (pc87360) Fix device resource declaration 2010-08-14 21:08:48 +02:00
pc87427.c hwmon: (pc87427) Move sysfs file removal to a separate function 2010-08-14 21:09:00 +02:00
pcf8591.c
pkgtemp.c x86, hwmon: Package Level Thermal/Power: pkgtemp hwmon driver 2010-08-03 15:58:07 -07:00
s3c-hwmon.c
sht15.c
sis5595.c
smm665.c hwmon: driver for SMM665 Six-Channel Active DC Output Controller/Monitor 2010-08-09 20:45:10 -07:00
smsc47b397.c
smsc47m1.c
smsc47m192.c
thmc50.c
tmp102.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
tmp401.c
tmp421.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
ultra45_env.c of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
via686a.c
via-cputemp.c hwmon: (via-cputemp) Remove bogus "SHOW" global variable 2010-08-14 21:09:02 +02:00
vt1211.c
vt8231.c
w83l785ts.c
w83l786ng.c
w83627ehf.c hwmon: (w83627ehf) Add support for W83667HG-B 2010-08-14 21:08:55 +02:00
w83627hf.c
w83781d.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
w83791d.c
w83792d.c
w83793.c
wm831x-hwmon.c
wm8350-hwmon.c