From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752076AbbCZSOu (ORCPT ); Thu, 26 Mar 2015 14:14:50 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:47648 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751552AbbCZSOr (ORCPT ); Thu, 26 Mar 2015 14:14:47 -0400 Message-ID: <55144C5B.7070208@ti.com> Date: Thu, 26 Mar 2015 14:13:47 -0400 From: Carlos Hernandez User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Sascha Hauer , CC: Zhang Rui , Eduardo Valentin , , Stephen Warren , Mikko Perttunen , , , Subject: Re: [PATCH 04/13] thermal: Fix not emulating critical temperatures References: <1427385240-6086-1-git-send-email-s.hauer@pengutronix.de> <1427385240-6086-5-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1427385240-6086-5-git-send-email-s.hauer@pengutronix.de> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/26/2015 11:53 AM, Sascha Hauer wrote: > - The code should only accept an emulated temperature when the emulated > temperature is lower than the critical temperature. Instead the code Why? Emulating temperatures higher than critical temperature is useful for testing. For instance it allows one to validate that critical action (i.e. shutdown) is triggered. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carlos Hernandez Subject: Re: [PATCH 04/13] thermal: Fix not emulating critical temperatures Date: Thu, 26 Mar 2015 14:13:47 -0400 Message-ID: <55144C5B.7070208@ti.com> References: <1427385240-6086-1-git-send-email-s.hauer@pengutronix.de> <1427385240-6086-5-git-send-email-s.hauer@pengutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from comal.ext.ti.com ([198.47.26.152]:47648 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751552AbbCZSOr (ORCPT ); Thu, 26 Mar 2015 14:14:47 -0400 In-Reply-To: <1427385240-6086-5-git-send-email-s.hauer@pengutronix.de> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Sascha Hauer , linux-pm@vger.kernel.org Cc: Zhang Rui , Eduardo Valentin , linux-kernel@vger.kernel.org, Stephen Warren , Mikko Perttunen , kernel@pengutronix.de, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org On 03/26/2015 11:53 AM, Sascha Hauer wrote: > - The code should only accept an emulated temperature when the emulated > temperature is lower than the critical temperature. Instead the code Why? Emulating temperatures higher than critical temperature is useful for testing. For instance it allows one to validate that critical action (i.e. shutdown) is triggered. From mboxrd@z Thu Jan 1 00:00:00 1970 From: ceh@ti.com (Carlos Hernandez) Date: Thu, 26 Mar 2015 14:13:47 -0400 Subject: [PATCH 04/13] thermal: Fix not emulating critical temperatures In-Reply-To: <1427385240-6086-5-git-send-email-s.hauer@pengutronix.de> References: <1427385240-6086-1-git-send-email-s.hauer@pengutronix.de> <1427385240-6086-5-git-send-email-s.hauer@pengutronix.de> Message-ID: <55144C5B.7070208@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 03/26/2015 11:53 AM, Sascha Hauer wrote: > - The code should only accept an emulated temperature when the emulated > temperature is lower than the critical temperature. Instead the code Why? Emulating temperatures higher than critical temperature is useful for testing. For instance it allows one to validate that critical action (i.e. shutdown) is triggered.