Re: [PATCH] cpufreq: Fix cpufreq regression after suspend/resume
From: Paul Bolle
Date: Sat Jul 13 2013 - 06:16:49 EST
On Wed, 2013-07-10 at 22:50 +0200, Toralf FÃrster wrote:
> I tested the patch several times on top of a66b2e5 - the origin issue is
> fixed
Srivatsa's patch became commit f51e1eb63d ("cpufreq: Fix cpufreq
regression after suspend/resume").
> but - erratically another issue now appears : all 4 cores are runs
> after wakeup at 2.6 GHz.
Well, a laptop I use seems to run into something related: the second of
its two cores can get stuck at a fixed frequency after resume. Often
it's its maximum frequency. That makes the CPU run hot, without actually
doing much work. But it can also get stuck at its lowest frequency.
Please note that commit f51e1eb63d, which is part of v3.10.1-rc1,
doesn't seem to cause this behavior. This issue can already be seen when
running v3.10.0. So perhaps that commit just made this issue more
noticeable to Toralf. But it's not clear to me what Toralf's origin(al?)
issue actually was.
Anyhow, I suspect that the stuck frequency is a regression introduced in
v3.10.0. But I have been unable to pinpoint it to a commit added in the
v3.10 cycle through bisecting. I must have marked a commit good that was
actually bad, just because a few suspend and resume cycles didn't
trigger this issue. To be continued...
> The temporary hot fix is to switch between governor performance and
> ondemand for all 4 cores.
That workaround works here too. I switch the core that is stuck at a
particular frequency to some other governor and then back to ondemand.
Thanks,
Paul Bolle
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/