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

From: Pali RohÃr
Date: Fri May 27 2016 - 06:45:57 EST

On Friday 27 May 2016 12:01:21 Thorsten Leemhuis wrote:
> Pali RohÃr wrote on 27.05.2016 11:47:
> > [â]
> > I do not see any long taking SMM call here. Are you really sure
> > that your machine freeze when loading or using dell-smm-hwmon?
> Uhh, sorry, it seems something got mixed up somewhere. As mentioned
> earlier in this thread already: The Studio XPS 8000 I have here never
> froze when loading or using dell-smm-hwmon. I only saw its CPU fan
> speed going up and down as described in
> From the mail that
> started this thread I got the impression that all those problems are
> all related somehow, so I went testing the patch as asked.

Looks like there are two different problems with dell-smm-hwmon driver:

1) Fan speed going randomly up and down without system freeze

2) System freeze at boot time and at that time fan speed goes up

I though that problem with fan speed is SMM freeze, but from your log I
see that it is not truth. And my patch seems to fix problem 2).

So for problem 1) I need to know:

* Is it regression? I.e. is there kernel version under which i8k (or
dell-smm-hwmon) is working?

* If it is regression, then I need somebody to fully fully bisect
problematic commit. And then starts reverting it on top of new kernel
versions (to check that only that commit cause problem 1)).

Pali RohÃr

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