Re: [PATCH v2 0/5] Cpufreq frequency serialization fixes

From: Meelis Roos
Date: Mon Apr 28 2014 - 16:57:43 EST


> Meelis Roos reported hangs during boot in the longhaul cpufreq driver, after
> commit 12478cf0c55 (cpufreq: Make sure frequency transitions are serialized).
> The root-cause of this issue is the extra invocation of the
> cpufreq_freq_transition_begin() and cpufreq_freq_transition_end() APIs in the
> longhaul driver. I found similar issues in the powernow-k6 and powernow-k7
> drivers as well. This patchset fixes the issue in all the 3 drivers and also
> adds a debug infrastructure to catch such issues easily.
>
> Patches 1-4 fix the regression in longhaul, powernow-k6 and powernow-k7
> drivers. (Patch 2 fixes a different bug in powernow-k6, and it is kept as a
> separate patch instead of merging it with patch 3, because I felt that it was
> a bit subtle and needed attention in a separate patch).
>
> Patch 5 adds a debug infrastructure to the cpufreq core to catch such problems
> more easily in the future.
>
>
> Changes in v2:
> --------------
>
> * Modified patch 1 to take error returns into account, as pointed out by
> Viresh.
> * Added patch 2 to fix the existing issue in the powernow-k6 driver, pointed
> out by Viresh.
> * Added patch 5 to introduce a debug infrastructure to catch such issues
> easily.

This also works on my VIA EPIA.

--
Meelis Roos (mroos@xxxxxxxx)
--
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/