From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933154Ab3BSP2D (ORCPT ); Tue, 19 Feb 2013 10:28:03 -0500 Received: from mga03.intel.com ([143.182.124.21]:3836 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933036Ab3BSP2A (ORCPT ); Tue, 19 Feb 2013 10:28:00 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,696,1355126400"; d="scan'208";a="204012241" Message-ID: <1361287675.2323.26.camel@rzhang1-mobl4> Subject: Re: thermal governor: does it actually work?? From: Zhang Rui To: Borislav Petkov Cc: Peter Feuerer , Alexander Lam , "linux-kernel@vger.kernel.org" , Andreas Mohr Date: Tue, 19 Feb 2013 23:27:55 +0800 In-Reply-To: <20130219150551.GL26623@pd.tnic> References: <744357E9AAD1214791ACBA4B0B90926329ED72@SHSMSX101.ccr.corp.intel.com> <20130215154931.GA26213@rhlx01.hs-esslingen.de> <20130216214712.GA13494@pd.tnic> <20130217140908.GA20323@pd.tnic> <20130218135012.GB16622@pd.tnic> <1361285464.2323.20.camel@rzhang1-mobl4> <20130219150551.GL26623@pd.tnic> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2013-02-19 at 16:05 +0100, Borislav Petkov wrote: > On Tue, Feb 19, 2013 at 10:51:04PM +0800, Zhang Rui wrote: > > Okay, here I see the problem, say you want to turn on the fan at 60C and > > turn it off at 55C, is this what you want? > > hmmm, is it possible to do some tricks in acerhdf driver? > > say, > > only one active trip point as before. but change acerhdf_get_trip_temp > > to: > > acerhdf_get_trip_temp() > > { > > if (fan is on) > > return 55; > > else > > return 60; > > } > > > > In this way, when the fan is off and the temperature is raising, the fan > > will be turned on at 60C because we have an active trip point of 60C. > > And when the fan is turned on and the temperature starts to drop, the > > fan will be turned off at 55C. > > Makes a sense to me. I was questioning the need for 4 trip points too. I do not understand why you need 4 trip points for the issue above, unless I missed another gap here. > We probably would need a second, critical trip point though, just in > case. > yeah, it is okay to have a critical trip point. thanks, rui