Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Pali =?utf-8?q?Roh=C3=A1r?= Newsgroups: linux.kernel Subject: Re: [PATCH 3/6] hwmon: (dell-smm) Disallow fan_type() calls on broken machines Date: Sun, 19 Jun 2016 00:50:02 +0200 Message-ID: References: Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-transfer-encoding:message-id; bh=4R3312qSfh6bSscGHJuMDbJl4JS5JTatLLkGFXbr8T8=; b=UMA58dEkH49fgHLRXGBFLZ/BZdM01Ykd33HMj6rVOxsYeMxACDlQLrXPg0tqO4kBff aVDPH5BQBAuKNEi/ZuD3q/alD3ewrLgpHh8dvmb0XRcNO5ustHZjDFqFzaqdz+krvVdX yaS/0QYTjWKLIsogPQKCY+rstEDXiJ5tiJqau76qRXnJPPx53dzU2BH/MZ6i5PjUvZi/ z6Rms7A3nRNNcP/hgPDiSX9tZosgJo+1thmZr220YmPFHz/kMa8RGJWj4lnDfff19FAO 6Ph08xku4qNNKnCTf2I2b2wG+XlhcMzdDGHcoCH7SzhOjy9jDp1hz/4UfGUNrEuHP+23 NT9Q== X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-transfer-encoding:message-id; bh=4R3312qSfh6bSscGHJuMDbJl4JS5JTatLLkGFXbr8T8=; b=CQ/5Rta5lZHZ+bguSvGOcq9wpt+ZXXHSOr/xrf9iOqqUY6OaAsNGWSBVeTFJS7Z3C6 t1ytRvOF2Swc2KtyoT0KvmIoRGa1wiC6BsT2llAd10CWvxZf91AmEBJfzPUPBeVxTVjj 6tKqJQAT/4jyTHBOP8Wzo35EpseFN9z5xECFfO5gaudlm2AcC0ddRZrtSxfndZYXbeEx +oG/qj5LYbuAmvia3wgNHO9dRTFom4rsrdAmtzcDYNxLXQN0kSZQ9P1mQmndA2M9n7xX ON5sZWRdOs17QrMUmz3Gt78/FP3+bLkrSQyFpQP0dUxw/8Le7C63RkRRX91m4u+VZwoj tm1w== X-Gm-Message-State: ALyK8tLOFXjpFI1jDgBwkYxPDUcjjdODd0B32AJNZBsGAiXuXe5DG5mQPJI29DryzveXcw== X-Received: by 10.194.79.198 with SMTP id l6mr7846961wjx.27.1466290018634; Sat, 18 Jun 2016 15:46:58 -0700 (PDT) User-Agent: KMail/1.13.7 (Linux/3.13.0-88-generic; KDE/4.14.2; x86_64; ; ) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5780907.ZJgZe51igl"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 54 Organization: linux.* mail to news gateway X-Original-Cc: Jean Delvare , Jan C Peters , Thorsten Leemhuis , David =?utf-8?q?Santamar=C3=ADa_Rogado?= , Peter Saunderson , Tolga Cakir , "Austin S. Hemmelgarn" , Mario_Limonciello@dell.com, Gabriele Mazzotta , =?utf-8?q?Micha=C5=82_K=C4=99pie=C5=84?= , Dakota Whipple , Leon Yu , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org X-Original-Date: Sun, 19 Jun 2016 00:46:57 +0200 X-Original-Message-ID: <201606190046.57390@pali> X-Original-References: <1466204089-17030-1-git-send-email-pali.rohar@gmail.com> <1466204089-17030-4-git-send-email-pali.rohar@gmail.com> <5765AA31.8010202@roeck-us.net> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1425871 --nextPart5780907.ZJgZe51igl Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Saturday 18 June 2016 22:08:17 Guenter Roeck wrote: > On 06/17/2016 03:54 PM, Pali Roh=C3=A1r 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. > >=20 > > So this patch creates fan_type blacklist of affected Dell machines > > and disallow fan_type() call on them to prevent that erratic > > behaviour. > >=20 > > 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. > >=20 > > Reported-by: Jan C Peters > > Signed-off-by: Pali Roh=C3=A1r > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=3D100121 > > Cc: stable@vger.kernel.org # v4.0+, will need backport >=20 > Applied. >=20 > 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. >=20 > Guenter Ok. Meanwhile patch was tested on Inspiron 580, so maybe it could be=20 appended into commit message. =2D-=20 Pali Roh=C3=A1r pali.rohar@gmail.com --nextPart5780907.ZJgZe51igl Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAldlz2EACgkQi/DJPQPkQ1L/DACfX7tv009c7ameStDyxCMQ4Vgt soEAoKiElMAmQXNm0aWVj0/OciWW1q1W =XEeL -----END PGP SIGNATURE----- --nextPart5780907.ZJgZe51igl--