Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1425870
| Path | csiph.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Pali Rohár <pali.rohar@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/6] dell-smm-hwmon fixes |
| Date | Sun, 19 Jun 2016 00:50:02 +0200 |
| Message-ID | <rLxdU-1O2-5@gated-at.bofh.it> (permalink) |
| References | <rLaU1-4aG-3@gated-at.bofh.it> <rLrLg-6Ar-3@gated-at.bofh.it> <rLxdU-1O2-7@gated-at.bofh.it> |
| 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=+Ef37YDszftC+gHNP6GDyrOWnbqzp+7FrMTqc8OYQ+U=; b=lo+WVukMnVj8GIsU/W0b7zBCfsmmfXlFviZ9LS2IZInt0IjUFc0L44qM5SESmjIlXG 5DBpDN7R1e0Vm+xK2bxO0zjaHz8oMPOBZv97aYXJxAzqnB/+hvs3WR9S8PX3GNae+iCv HWJW3i8A4cna+8HARukkwMUBokuL5AE09ljIANPZHqVngInPGVrdDU1wef/Uudow8Qs9 sD+aBmjtJPj/pH+058oAJvLoIWbQaoZ1OvRrp5P90B1UaCumc+HTgA4aUOBGDYiGRiVR lCkLMT1ZX+InhHHNF+ypLsKMSoYaOan1Ii+ulm6D5XdwDNSYIcOdxLzM35Zc/ecDs/Uc SK7g== |
| 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=+Ef37YDszftC+gHNP6GDyrOWnbqzp+7FrMTqc8OYQ+U=; b=DSL/eAgxYeNePMTXOQM50pxb9N9BXuLDduvvtJ0bOkbRTr+42otnLE8UHZxq2smdnh DlVud1AKZS7NLb0l29iiBbfhJ8a1Al/oPqsxhBMQYryeUYR/E24/4ddt+C/sBBsHIv92 EtuFt8bnnm8CKZCn8OUAtgPvEcWcZaCaWTCccCFD2Y/ICpCfEujJXEv86b3LLfhQl+qo cJwPGq4+/2SrLWfMTpGwylN8MTvD3FvwO4wGuxJUN8rDqb9WU6IUXZCcW/ga9Nw3xwZI E1F2DE2/5xH7NB9/Wod1T4Gx6antZL9SoMuN9J5q1wCL9ArWaKSL8DL49g8uNMMNWHi+ jSaw== |
| X-Gm-Message-State | ALyK8tIkIWzA87QOCKSPx+S80YPZOzRx2NBQJAnTGWlZHTSlogcjBDaosrpv8ElfNWmMpA== |
| X-Received | by 10.28.50.194 with SMTP id y185mr4180241wmy.51.1466289862717; Sat, 18 Jun 2016 15:44:22 -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="nextPart1783281.23akJLct6X"; protocol="application/pgp-signature"; micalg=pgp-sha1 |
| Content-Transfer-Encoding | 7bit |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 90 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Guenter Roeck <linux@roeck-us.net>, Jean Delvare <jdelvare@suse.com>, Jan C Peters <jcpeters89@gmail.com>, Thorsten Leemhuis <fedora@leemhuis.info>, David Santamaría Rogado <howl.nsp@gmail.com>, Peter Saunderson <peteasa@gmail.com>, Tolga Cakir <cevelnet@gmail.com>, "Austin S. Hemmelgarn" <ahferroin7@gmail.com>, Mario_Limonciello@dell.com, Gabriele Mazzotta <gabriele.mzt@gmail.com>, Michał Kępień <kernel@kempniu.pl>, Dakota Whipple <dakotajaywhipple@gmail.com>, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org |
| X-Original-Date | Sun, 19 Jun 2016 00:44:20 +0200 |
| X-Original-Message-ID | <201606190044.21035@pali> |
| X-Original-References | <1466204089-17030-1-git-send-email-pali.rohar@gmail.com> <57657CE2.6040107@roeck-us.net> <CA+vQ2zCoGhLT2PUUhcuggJ3oE9Z6vfUW=Z1wgm8Ozz3XdnQoxA@mail.gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1425870 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Thanks for testing! It took too long, but bugs in vendor SMM code are hard to detect and probably impossible to fix. So I would call this patch just as "workaround" and not proper bug fix... On Saturday 18 June 2016 23:58:19 Leon Yu wrote: > Just installed on "Inspiron 580", appears to have fixed the problem. > > On Sat, Jun 18, 2016 at 12:54 PM, Guenter Roeck <linux@roeck-us.net> > wrote: > > On 06/18/2016 08:26 AM, Pali Rohár wrote: > >> On Saturday 18 June 2016 17:13:59 Guenter Roeck wrote: > >>> On 06/17/2016 03:54 PM, Pali Rohár wrote: > >>>> I'm sending all my dell-smm-hwmon patches in one series, because > >>>> due to changes in code other patches depends on previous. > >>>> > >>>> First two patches fixes problem with old /proc/i8k file. Second > >>>> is security fix and should be backported to all stable kernels > >>>> (that problem was there always). I tested i8kctl tool (from > >>>> i8kutils package) that it still works with these patches. > >>>> Without root access for those security operations just showes > >>>> '?' or '-1'. > >>>> > >>>> Third and fourth patches try to fix problem on machines with > >>>> broken SMM/BIOS when calling function fan_type(). > >>>> > >>>> Fifth is new feature and last sixth useful for debugging. > >>>> > >>>> Pali Rohár (6): > >>>> hwmon: (dell-smm) Fail in ioctl I8K_BIOS_VERSION when bios > >>>> version is > >>>> > >>>> not a number > >>>> > >>>> hwmon: (dell-smm) Restrict fan control and serial number to > >>>> > >>>> CAP_SYS_ADMIN by default > >>>> > >>>> hwmon: (dell-smm) Disallow fan_type() calls on broken > >>>> machines hwmon: (dell-smm) Cache fan_type() calls and > >>>> change fan detection hwmon: (dell-smm) Detect fan with > >>>> index=2 hwmon: (dell-smm) In debug mode log duration of SMM > >>>> calls > >>>> > >>>> drivers/hwmon/dell-smm-hwmon.c | 122 > >>>> ++++++++++++++++++++++++++++++++-------- 1 file changed, 99 > >>>> insertions(+), 23 deletions(-) > >>> > >>> Pali, > >>> > >>> You asked for additional testing, so I am not sure what you > >>> expect me to do. > >>> > >>> Which of the patches can/should I apply now ? > >>> > >>> Guenter > >> > >> Test 3/6 and 4/6 patches on affected Dell machines. I CCed all > >> people who tried to debug those bugs, so need confirmation from > >> them that after applying 3/6 and 4/6 patches, erratic fan > >> behaviour is not there... > >> > >> But because those two patches depends on previous, it is needed to > >> test whole series... > >> > >> This doesn't tell me which patches to apply now. The first two ? > > > > Guenter -- Pali Rohár pali.rohar@gmail.com
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/6] dell-smm-hwmon fixes Pali Rohár <pali.rohar@gmail.com> - 2016-06-18 01:00 +0200
[PATCH 5/6] hwmon: (dell-smm) Detect fan with index=2 Pali Rohár <pali.rohar@gmail.com> - 2016-06-18 01:00 +0200
Re: [PATCH 5/6] hwmon: (dell-smm) Detect fan with index=2 Tolga Cakir <cevelnet@gmail.com> - 2016-06-19 02:10 +0200
[PATCH 4/6] hwmon: (dell-smm) Cache fan_type() calls and change fan detection Pali Rohár <pali.rohar@gmail.com> - 2016-06-18 01:00 +0200
Re: [PATCH 4/6] hwmon: (dell-smm) Cache fan_type() calls and change fan detection Tolga Cakir <cevelnet@gmail.com> - 2016-06-19 02:10 +0200
[PATCH 1/6] hwmon: (dell-smm) Fail in ioctl I8K_BIOS_VERSION when bios version is not a number Pali Rohár <pali.rohar@gmail.com> - 2016-06-18 01:00 +0200
Re: [PATCH 1/6] hwmon: (dell-smm) Fail in ioctl I8K_BIOS_VERSION when bios version is not a number Guenter Roeck <linux@roeck-us.net> - 2016-06-18 22:10 +0200
[PATCH 3/6] hwmon: (dell-smm) Disallow fan_type() calls on broken machines Pali Rohár <pali.rohar@gmail.com> - 2016-06-18 01:00 +0200
Re: [PATCH 3/6] hwmon: (dell-smm) Disallow fan_type() calls on broken machines Guenter Roeck <linux@roeck-us.net> - 2016-06-18 22:10 +0200
Re: [PATCH 3/6] hwmon: (dell-smm) Disallow fan_type() calls on broken machines Pali Rohár <pali.rohar@gmail.com> - 2016-06-19 00:50 +0200
[PATCH 2/6] hwmon: (dell-smm) Restrict fan control and serial number to CAP_SYS_ADMIN by default Pali Rohár <pali.rohar@gmail.com> - 2016-06-18 01:00 +0200
Re: [PATCH 2/6] hwmon: (dell-smm) Restrict fan control and serial number to CAP_SYS_ADMIN by default Guenter Roeck <linux@roeck-us.net> - 2016-06-18 22:10 +0200
[PATCH 6/6] hwmon: (dell-smm) In debug mode log duration of SMM calls Pali Rohár <pali.rohar@gmail.com> - 2016-06-18 01:00 +0200
Re: [PATCH 0/6] dell-smm-hwmon fixes Pali Rohár <pali.rohar@gmail.com> - 2016-06-18 14:30 +0200
Re: [PATCH 0/6] dell-smm-hwmon fixes Guenter Roeck <linux@roeck-us.net> - 2016-06-18 17:20 +0200
Re: [PATCH 0/6] dell-smm-hwmon fixes Pali Rohár <pali.rohar@gmail.com> - 2016-06-18 17:30 +0200
Re: [PATCH 0/6] dell-smm-hwmon fixes Guenter Roeck <linux@roeck-us.net> - 2016-06-18 19:00 +0200
Re: [PATCH 0/6] dell-smm-hwmon fixes Pali Rohár <pali.rohar@gmail.com> - 2016-06-19 00:40 +0200
Re: [PATCH 0/6] dell-smm-hwmon fixes Pali Rohár <pali.rohar@gmail.com> - 2016-06-20 11:20 +0200
Re: [PATCH 0/6] dell-smm-hwmon fixes Guenter Roeck <linux@roeck-us.net> - 2016-06-20 15:30 +0200
Re: [PATCH 0/6] dell-smm-hwmon fixes Pali Rohár <pali.rohar@gmail.com> - 2016-06-23 14:20 +0200
Re: [PATCH 0/6] dell-smm-hwmon fixes Guenter Roeck <linux@roeck-us.net> - 2016-06-23 16:00 +0200
Re: [PATCH 0/6] dell-smm-hwmon fixes Pali Rohár <pali.rohar@gmail.com> - 2016-06-19 00:50 +0200
Re: [PATCH 0/6] dell-smm-hwmon fixes Michał Kępień <kernel@kempniu.pl> - 2016-06-22 10:10 +0200
csiph-web