Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751458Ab3IJLi1 (ORCPT ); Tue, 10 Sep 2013 07:38:27 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:64185 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751325Ab3IJLiZ (ORCPT ); Tue, 10 Sep 2013 07:38:25 -0400 From: "Rafael J. Wysocki" To: Viresh Kumar Cc: Guennadi Liakhovetski , Greg KH , "Rafael J. Wysocki" , Linux Kernel Mailing List , "linux-arm-kernel@lists.infradead.org" , "linux-pm@vger.kernel.org" , "cpufreq@vger.kernel.org" , SH-Linux , Magnus Damm Subject: Re: "cpufreq: fix serialization issues with freq change notifiers" breaks cpufreq too Date: Tue, 10 Sep 2013 13:49:24 +0200 Message-ID: <4292924.3iHJT5nzNS@vostro.rjw.lan> User-Agent: KMail/4.10.5 (Linux/3.11.0+; KDE/4.10.5; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2011 Lines: 44 On Tuesday, September 10, 2013 04:59:29 PM Viresh Kumar wrote: > On 9 September 2013 20:41, Guennadi Liakhovetski wrote: > > Sorry guys, I'm trying my best to stop this patch from propagating to > > stable and to get it fixed asap, so, the CC list might be a bit excessive. > > Also trying to fix the originally spare cc list, which makes it impossible > > for me to reply to the original thread, instead have to start a new one. > > > > Commit > > > > commit dceff5ce18801dddc220d6238628619c93bc3cb6 > > Author: Viresh Kumar > > Date: Sun Sep 1 22:19:37 2013 +0530 > > > > cpufreq: fix serialization issues with freq change notifiers > > > > breaks .transition_ongoing counting. This leads to cpufreq-cpu0 not > > working any more. In particular switching the governor from performance to > > powersave directly after boot doesn't result in a frequency switch any > > more. Reverting this patch fixes the problem again. Tested with today's > > -next. > > I have tested it again on my exynos and intel machines and couldn't see > a single problem with this patch.. > > I am afraid you need to give us some more information on how it broke > your stuff.. :) > > And I am also not sure cpufreq-cpu0 is different then any other driver.. That said I'm actually unsure what problems *exactly* are fixed by commit 7c30ed5. The commit log only says that PRECHANGE or POSTCHAGE shouldn't be called twice in a row, but it doesn't say why. As the fallout indicates, that actually happened before commit 7c30ed5 and nothing visibly broke, so the benefit from having that commit is questionable to me. On the other hand, the commit itself is evidently broken, so what exactly is the reason for keeping it? Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/