From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754276AbcL3QLc (ORCPT ); Fri, 30 Dec 2016 11:11:32 -0500 Received: from kozue.soulik.info ([108.61.200.231]:54494 "EHLO kozue.soulik.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751854AbcL3QLb (ORCPT ); Fri, 30 Dec 2016 11:11:31 -0500 Subject: Re: [PATCH v4 0/5] thermal: fixes the rockchip thermal To: Caesar Wang , edubezval@gmail.com, rui.zhang@intel.com References: <1481540735-12710-1-git-send-email-wxt@rock-chips.com> Cc: linux-pm@vger.kernel.org, briannorris@chromium.org, linux-kernel@vger.kernel.org, smbarber@chromium.org, linux-rockchip@lists.infradead.org, "randy.li@rock-chips.com" From: ayaka Message-ID: Date: Sat, 31 Dec 2016 00:11:25 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <1481540735-12710-1-git-send-email-wxt@rock-chips.com> 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 BTW, Caesar have you ever met this at RK3288 at booting time? [ 8.430582] thermal thermal_zone1: critical temperature reached(125 C),shutting down [ 8.439038] thermal thermal_zone2: critical temperature reached(125 C),shutting down [ 8.456344] thermal thermal_zone1: critical temperature reached(125 C),shutting down [ 8.465298] thermal thermal_zone2: critical temperature reached(125 C),shutting down On 12/12/2016 07:05 PM, Caesar Wang wrote: > There are five patches posted for upstream. > 89267b5 thermal: rockchip: improve conversion error messages > a0b5649 thermal: rockchip: don't pass table structs by value > bceed92 thermal: rockchip: fixes invalid temperature case > 30be6d0 thermal: rockchip: optimize the conversion table > 35636e9 thermal: rockchip: handle the set_trips without the trip points. > -- > > History version: > V1: > https://lkml.org/lkml/2016/11/22/250 > V2: > https://lkml.org/lkml/2016/11/23/348 > V3: > http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1281432.html > --- > > Brain posted the below patches for upstream. > 89267b5 thermal: rockchip: improve conversion error messages > a0b5649 thermal: rockchip: don't pass table structs by value > That make sense to improve efficiency > > Caesar post the below patches for upstream. > bceed92 thermal: rockchip: fixes invalid temperature case > 30be6d0 thermal: rockchip: optimize the conversion table > 35636e9 thermal: rockchip: handle the set_trips without the trip points. > That will fixes some issues in special cases. > -- > > Anyway, this series patches should can improve the rockchip thermal driver. > > > Changes in v4: > - As Eduardo and Brian commnets on > https://patchwork.kernel.org/patch/9449301 > - Print a better name. > - As Eduardo commented on https://patchwork.kernel.org/patch/9449313/ > - remove the Brain's review for previous version, since the new version > update something. > > Changes in v3: > - fix trivial thing for error message nd return value. > - change the commit. > - Fixes something as Brian comments on > > Changes in v2: > - As Brian commnets that restructure this to pass error codes back to the > upper layers. > - Improve the commit message. > - improve the commit as Brian commnets on https://patchwork.kernel.org/patch/9440985 > - Fixes something as Brian comments on > https://patchwork.kernel.org/patch/9440989. > > Changes in v1: > - The original Brian posted on https://patchwork.kernel.org/patch/9437686 > Note: it'd probably be even nicer to know which sensor this was, but we've > kinda abstracted that one away by this point... > - The original Brian posted on https://patchwork.kernel.org/patch/9437687 > > Brian Norris (2): > thermal: rockchip: improve conversion error messages > thermal: rockchip: don't pass table structs by value > > Caesar Wang (3): > thermal: rockchip: fixes invalid temperature case > thermal: rockchip: optimize the conversion table > thermal: rockchip: handle set_trips without the trip points > > drivers/thermal/rockchip_thermal.c | 153 ++++++++++++++++++++++++------------- > 1 file changed, 100 insertions(+), 53 deletions(-) >