Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1407900

Re: [PATCH] dell-smm-hwmon: Cache fan_type() calls and use fan_status() for fan detection

From Thorsten Leemhuis <fedora@leemhuis.info>
Newsgroups linux.kernel
Subject Re: [PATCH] dell-smm-hwmon: Cache fan_type() calls and use fan_status() for fan detection
Date 2016-05-27 10:10 +0200
Message-ID <rDl0e-Ub-31@gated-at.bofh.it> (permalink)
References <rBgo2-4JM-9@gated-at.bofh.it> <rD5HQ-8cR-13@gated-at.bofh.it> <rD5Rw-8g7-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Pali Rohár wrote on 26.05.2016 17:51:
> On Thursday 26 May 2016 17:39:57 Thorsten Leemhuis wrote:
>> > I need to know if this patch fixes problem on Dell Studio XPS 8000
>> > and Dell Studio XPS 8100 machines, so we can revert git commits:
>> > 6220f4ebd7b4 ("hwmon: (dell-smm) Blacklist Dell Studio XPS 8000")
>> > a4b45b25f18d ("hwmon: (dell-smm) Blacklist Dell Studio XPS 8100")
>> Just checked: Sorry, that patch did not fix the CPU fan speed issue
>> on my XPS 8000, so there is afaics no reason to revert 6220f4ebd7b4
>> :-/
> Please, can you apply patch "dell-smm-hwmon: In debug mode log duration 
> of SMM calls" 

On top of "Cache fan_type() calls and use fan_status() for fan 
detection" or with that patch reverted? I did the latter and 
tested with 4.6 (just mentioning it here in case it matters).

> and compile dell-smm-hwmon in debug mode to tell us which 
> SMM call takes too long? This is probably they key for that XPS 
> problems...

[    5.941037] dell_smm_hwmon: smm(0xfea3 0x0000) = 0x4147  (took   14470 usecs)
[    5.941139] dell_smm_hwmon: smm(0x11a3 0x0000) = 0xffff  (took      93 usecs)
[    5.941236] dell_smm_hwmon: smm(0x11a3 0x0001) = 0xffff  (took      93 usecs)
[    5.941331] dell_smm_hwmon: smm(0x11a3 0x0002) = 0xffff  (took      92 usecs)
[    5.941427] dell_smm_hwmon: smm(0x11a3 0x0003) = 0xffff  (took      92 usecs)
[    5.941526] dell_smm_hwmon: smm(0x03a3 0x0000) = 0x0000  (took      95 usecs)
[    5.941625] dell_smm_hwmon: smm(0x03a3 0x0001) = 0x0001  (took      95 usecs)

HTH, CU, knurd

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] dell-smm-hwmon: Cache fan_type() calls and use fan_status() for fan detection Pali Rohár <pali.rohar@gmail.com> - 2016-05-21 16:50 +0200
  Re: [PATCH] dell-smm-hwmon: Cache fan_type() calls and use fan_status() for fan detection Pali Rohár <pali.rohar@gmail.com> - 2016-05-22 02:30 +0200
  Re: [PATCH] dell-smm-hwmon: Cache fan_type() calls and use  fan_status() for fan detection Guenter Roeck <linux@roeck-us.net> - 2016-05-22 02:30 +0200
  Re: [PATCH] dell-smm-hwmon: Cache fan_type() calls and use  fan_status() for fan detection Thorsten Leemhuis <fedora@leemhuis.info> - 2016-05-26 17:50 +0200
    Re: [PATCH] dell-smm-hwmon: Cache fan_type() calls and use fan_status() for fan detection Pali Rohár <pali.rohar@gmail.com> - 2016-05-26 18:00 +0200
      Re: [PATCH] dell-smm-hwmon: Cache fan_type() calls and use  fan_status() for fan detection Thorsten Leemhuis <fedora@leemhuis.info> - 2016-05-27 10:10 +0200
        Re: [PATCH] dell-smm-hwmon: Cache fan_type() calls and use  fan_status() for fan detection Pali Rohár <pali.rohar@gmail.com> - 2016-05-27 11:50 +0200
          Re: [PATCH] dell-smm-hwmon: Cache fan_type() calls and use  fan_status() for fan detection Thorsten Leemhuis <fedora@leemhuis.info> - 2016-05-27 12:10 +0200
            Re: [PATCH] dell-smm-hwmon: Cache fan_type() calls and use fan_status() for fan detection Pali Rohár <pali.rohar@gmail.com> - 2016-05-27 12:50 +0200
              Re: [PATCH] dell-smm-hwmon: Cache fan_type() calls and use  fan_status() for fan detection Thorsten Leemhuis <fedora@leemhuis.info> - 2016-05-27 15:10 +0200
                Re: [PATCH] dell-smm-hwmon: Cache fan_type() calls and use fan_status() for fan detection Pali Rohár <pali.rohar@gmail.com> - 2016-05-27 15:30 +0200
                Re: [PATCH] dell-smm-hwmon: Cache fan_type() calls and use  fan_status() for fan detection Peter Saunderson <peteasa@gmail.com> - 2016-05-29 21:30 +0200
                Re: [PATCH] dell-smm-hwmon: Cache fan_type() calls and use  fan_status() for fan detection Pali Rohár <pali.rohar@gmail.com> - 2016-05-30 11:40 +0200
                Re: [PATCH] dell-smm-hwmon: Cache fan_type() calls and use  fan_status() for fan detection Peter Saunderson <peteasa@gmail.com> - 2016-05-30 18:30 +0200
                Re: [PATCH] dell-smm-hwmon: Cache fan_type() calls and use  fan_status() for fan detection Thorsten Leemhuis <fedora@leemhuis.info> - 2016-05-30 13:50 +0200

csiph-web