]> git.itanic.dy.fi Git - linux-stable/commit
hwmon: (dell-smm) Disallow fan_type() calls on broken machines
authorPali Rohár <pali.rohar@gmail.com>
Fri, 17 Jun 2016 22:54:46 +0000 (00:54 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 18 Jun 2016 20:03:29 +0000 (13:03 -0700)
commit2744d2fde00dc8bcc3679eb72c81a63058e90faa
treee7b81b717029ee2ef12beb5e0a543435d2478bac
parent7613663cc186f8f3c50279390ddc60286758001c
hwmon: (dell-smm) Disallow fan_type() calls on broken machines

Some Dell machines have especially broken SMM or BIOS which cause that once
fan_type() is called then CPU fan speed going randomly up and down. And for
fixing this behaviour reboot is required.

So this patch creates fan_type blacklist of affected Dell machines and
disallow fan_type() call on them to prevent that erratic behaviour.

Old blacklist which disabled loading driver on some machines added in
commits a4b45b25f18d ("hwmon: (dell-smm) Blacklist Dell Studio XPS 8100")
and 6220f4ebd7b4 ("hwmon: (dell-smm) Blacklist Dell Studio XPS 8000") were
moved to FAN_TYPE blacklist.

Reported-by: Jan C Peters <jcpeters89@gmail.com>
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=100121
Cc: stable@vger.kernel.org # v4.0+, will need backport
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/dell-smm-hwmon.c