Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753547AbbFLL6a (ORCPT ); Fri, 12 Jun 2015 07:58:30 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:56408 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750894AbbFLL60 (ORCPT ); Fri, 12 Jun 2015 07:58:26 -0400 Date: Fri, 12 Jun 2015 12:58:23 +0100 From: Luis Henriques To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable , Jean Delvare , Peter Feuerer , Kamal Mostafa Subject: Re: [PATCH 3.14 52/64] thermal: step_wise: Revert optimization Message-ID: <20150612115823.GA1625@ares> References: <20150603063928.472620468@linuxfoundation.org> <20150603063930.710988617@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20150603063930.710988617@linuxfoundation.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2517 Lines: 65 On Wed, Jun 03, 2015 at 08:43:20PM +0900, Greg Kroah-Hartman wrote: > 3.14-stable review patch. If anyone has any objections, please let me know. > > ------------------ > > From: Jean Delvare > > Commit 178c2490b99f898efc06d1ad75cadc84f13021a6 ("thermal: step_wise: > cdev only needs update on a new target state") broke driver acerhdf. > That driver abused the step_wise thermal governor until the bang_bang > governor was available, and the optimization broke this usage model. > > Kernels v3.12 to v3.18 are affected. In v3.19 the acerhdf driver was > switched to the bang_bang governor and that solved the problem. > > For kernels v3.12 to v3.17, the bang_bang governor isn't available > yet so the easiest fix is to revert the optimization. > > Signed-off-by: Jean Delvare > Reported-by: Dieter Jurzitza (https://bugzilla.opensuse.org/show_bug.cgi?id=925961) > Tested-by: Peter Feuerer > Tested-by: Dieter Jurzitza > --- > Please consider this patch for stable kernel branches from v3.12 to v3.17. > > If anyone cares about v3.18, I think a better fix would be to backport > commit 48c8dd64345ba2a8c41556095c7adacb1c8af7c1 ("acerhdf: Use bang-bang > thermal governor") but it's too big for stable, so it's left to > distributions. So maybe this fix should make it into v3.18 stable as > well - I'll let whoever maintains that branch decide. > Thanks, I am also queuing this patch for the 3.16 kernel. And I guess 3.13 could also pick it (Cc'ing Kamal). Cheers, -- Lu?s > drivers/thermal/step_wise.c | 3 --- > 1 file changed, 3 deletions(-) > > --- a/drivers/thermal/step_wise.c > +++ b/drivers/thermal/step_wise.c > @@ -146,9 +146,6 @@ static void thermal_zone_trip_update(str > dev_dbg(&instance->cdev->device, "old_target=%d, target=%d\n", > old_target, (int)instance->target); > > - if (old_target == instance->target) > - continue; > - > /* Activate a passive thermal instance */ > if (old_target == THERMAL_NO_TARGET && > instance->target != THERMAL_NO_TARGET) > > > -- > To unsubscribe from this list: send the line "unsubscribe stable" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- 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/