Re: [PATCH 3/6] hwmon: (dell-smm) Disallow fan_type() calls on broken machines

From: Pali RohÃr
Date: Sat Jun 18 2016 - 18:47:07 EST


On Saturday 18 June 2016 22:08:17 Guenter Roeck wrote:
> On 06/17/2016 03:54 PM, Pali RohÃr wrote:
> > 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@xxxxxxxxx>
> > Signed-off-by: Pali RohÃr <pali.rohar@xxxxxxxxx>
> > Link: https://bugzilla.kernel.org/show_bug.cgi?id=100121
> > Cc: stable@xxxxxxxxxxxxxxx # v4.0+, will need backport
>
> Applied.
>
> It seemed worthwhile to apply this patch now, without waiting for
> further test feedback, since it at least reduces the impact of the
> observed problems. If follow-up changes are necessary, those will
> have to be applied in separate patches.
>
> Guenter

Ok. Meanwhile patch was tested on Inspiron 580, so maybe it could be
appended into commit message.

--
Pali RohÃr
pali.rohar@xxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part.