Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3311240ybf; Tue, 3 Mar 2020 03:42:46 -0800 (PST) X-Google-Smtp-Source: ADFU+vsBBn/JJGqIH7OYvQS//p16fIBP2jigUKSdb4bBsP92Dn8aAUn59dZOAPco37jL1GjV0Hbn X-Received: by 2002:a54:4099:: with SMTP id i25mr2204244oii.129.1583235766442; Tue, 03 Mar 2020 03:42:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583235766; cv=none; d=google.com; s=arc-20160816; b=I7OvF44CV3p9XIy37EMXtzPHYj6owYGwHEPLFeD2Rg6tx1cZtlSUcWzYoHb4aMAuJb mi0nahL8x2XzT0XvyEP7pCPRzJLd961Trc6tjRK7UOIx4OYkKdbKwzRJLs8En++aXNuK Hm+AB7TzCP23YV/DMz13lX7d/Y1TtYznSipJQTZJU5YIdpS9/8+Yc6O2tMHH1RNq2TA2 tnL0F+oN/264HJZvOyAHla0KTyxzHfh+K2Nnxi/OBxwl5HjOJ3sXevxm2D8cwKi0Ffhe Wtkhd2RwO4xda4ThT7qTUd+gEJxz52ZWpuAwMPXZa12u7vBe9mxJSkLmmtYV5of/WuIA +l4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=jJ/XV2usCbxItuxEMH0XzvQohk58MuRc/TCdKnge5Ms=; b=mPIpbdYOwFdu1XptM8X8MESNuTa2+O6kCklAcqlEsN33F56sBzDM9S5DWlvnETpeGF T/0x2dizhrcSzIChzsocRG1ojJK/kzu2jE4qCfiOvcD2svFa+MOCZqorrdJMRUh2ZODf 1CNRe+fA/NV3McefL4qH46ModO2/KyMFMbwdrhJrM7vsOKyPeo89pjnt0mVdobyJ/bKV 3ryHeuc5npMFgn+Cp+o3dWrJAVLztB7MJfjKljXBa0pqrTvz8sX80Yxyk3ctIr7PC9Fd Vq1nOvCmRbqLOTVOjS19fguKXnWeib4qUFtbHq8oYOZvOBwzRHuLYPxI5/XIacP2Zq0C neGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=jrZNGq8m; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l145si1506236oih.44.2020.03.03.03.42.32; Tue, 03 Mar 2020 03:42:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=jrZNGq8m; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728615AbgCCLdC (ORCPT + 99 others); Tue, 3 Mar 2020 06:33:02 -0500 Received: from mail-ua1-f67.google.com ([209.85.222.67]:46563 "EHLO mail-ua1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728311AbgCCLdC (ORCPT ); Tue, 3 Mar 2020 06:33:02 -0500 Received: by mail-ua1-f67.google.com with SMTP id h22so954105uap.13 for ; Tue, 03 Mar 2020 03:33:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verdurent-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jJ/XV2usCbxItuxEMH0XzvQohk58MuRc/TCdKnge5Ms=; b=jrZNGq8mHiKGxago1Y0w61XHNZ69z5yL/vRklU2RUrUlT1l04s3o1HTS/pJS3iKfLy U2XMJxcr+VDosSHrFasFV6MNshoOFxJmjy2XKEvrMBjQoWXpu9S1P0qWN0fBqogVkvjN Zt5EfAIOAe8LJBY4GaTzY+PuiDS83rpOuxyAAvfEGpmAs2kv9yagnFCToj9HfXemCWl0 ghBIxt1/cZYywR641ndZA4YXziBtL/ODq5JHK+lxKk9CBIIsGgBn7XZVewTjHJzQSQQQ LXFXo1k7M4/tYmE0phGJdcqF2ha10XioTTct5NRQTyq3cnFuNxscpBc7vbFy/aAH7Yoo 8AVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jJ/XV2usCbxItuxEMH0XzvQohk58MuRc/TCdKnge5Ms=; b=V633n5JuXLnZOoHpnUuj4+pdQ7917aWC2MynGfbR41p1HJIPiHS8ZaV3c4RRukw1ay KLPhUFmLY2o1CRt8xbsVxwCODvM1UyRrsLlu0lvGbHS3Yb55YYh4cgmy2G4v+HAxkDEc 3gus6AB9oUwPb8sg9Vg8xd3IT5uIi/r+jSuUERRUR0M2tOq+eAej53YO0YgVEcf0oDAF MDna2CoyHHeQwJB0KnCNVxUfaJjzBLFuNC0qWJ4PSMvMSgns8EMQ5hF4GJneoT+QamMh 17KsEXxIIw7ZogEi6Cs6exhKjTOqIi1y+autryyuEs+TGGJfq+L6HASkcy1r6wE3gIAs 5Pkg== X-Gm-Message-State: ANhLgQ28oAVyaspf1RgBcVTithbMmNrvhSmW0Jbp5n0cymMa0SSyfL/S yQb7ZQtcnxF8mDw/2uCRKarnR314YXYzAATsRHNWRA== X-Received: by 2002:ab0:634c:: with SMTP id f12mr2464856uap.48.1583235179522; Tue, 03 Mar 2020 03:32:59 -0800 (PST) MIME-Version: 1.0 References: <1583226996-24747-1-git-send-email-rkambl@codeaurora.org> <1583226996-24747-2-git-send-email-rkambl@codeaurora.org> In-Reply-To: <1583226996-24747-2-git-send-email-rkambl@codeaurora.org> From: Amit Kucheria Date: Tue, 3 Mar 2020 17:02:48 +0530 Message-ID: Subject: Re: [PATCH 1/1] arm64: dts: qcom: sc7180: Changed all sensor values Thermal-zones node To: Rajeshwari Cc: Andy Gross , Rob Herring , Bjorn Andersson , linux-arm-msm , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , sanm@codeaurora.org, sivaa@codeaurora.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 3, 2020 at 2:47 PM Rajeshwari wrote: > > To enable kernel critical shutdown feature all sensors threshold values > should be 110C to perform shutdown in orderly manner and changed trip > point from hot to critical. IMO, we should keep the hot trip at 90 so we can potentially use it for notifications via the ops->notify callback in the future. Just add a new critical trip section to all these non-CPU thermal zones if you want to trigger the orderly shutdown when one of them reaches the threshold. > Signed-off-by: Rajeshwari > --- > arch/arm64/boot/dts/qcom/sc7180.dtsi | 52 ++++++++++++++++++------------------ > 1 file changed, 26 insertions(+), 26 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi > index d068584..55fd156 100644 > --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi > @@ -1952,9 +1952,9 @@ > > trips { > aoss0_alert0: trip-point0 { > - temperature = <90000>; > + temperature = <110000>; > hysteresis = <2000>; > - type = "hot"; > + type = "critical"; > }; > }; > }; > @@ -2007,9 +2007,9 @@ > > trips { > gpuss0_alert0: trip-point0 { > - temperature = <90000>; > + temperature = <110000>; > hysteresis = <2000>; > - type = "hot"; > + type = "critical"; > }; > }; > }; > @@ -2022,9 +2022,9 @@ > > trips { > gpuss1_alert0: trip-point0 { > - temperature = <90000>; > + temperature = <110000>; > hysteresis = <2000>; > - type = "hot"; > + type = "critical"; > }; > }; > }; > @@ -2037,9 +2037,9 @@ > > trips { > aoss1_alert0: trip-point0 { > - temperature = <90000>; > + temperature = <110000>; > hysteresis = <2000>; > - type = "hot"; > + type = "critical"; > }; > }; > }; > @@ -2052,9 +2052,9 @@ > > trips { > cwlan_alert0: trip-point0 { > - temperature = <90000>; > + temperature = <110000>; > hysteresis = <2000>; > - type = "hot"; > + type = "critical"; > }; > }; > }; > @@ -2067,9 +2067,9 @@ > > trips { > audio_alert0: trip-point0 { > - temperature = <90000>; > + temperature = <110000>; > hysteresis = <2000>; > - type = "hot"; > + type = "critical"; > }; > }; > }; > @@ -2082,9 +2082,9 @@ > > trips { > ddr_alert0: trip-point0 { > - temperature = <90000>; > + temperature = <110000>; > hysteresis = <2000>; > - type = "hot"; > + type = "critical"; > }; > }; > }; > @@ -2097,9 +2097,9 @@ > > trips { > q6_hvx_alert0: trip-point0 { > - temperature = <90000>; > + temperature = <110000>; > hysteresis = <2000>; > - type = "hot"; > + type = "critical"; > }; > }; > }; > @@ -2112,9 +2112,9 @@ > > trips { > camera_alert0: trip-point0 { > - temperature = <90000>; > + temperature = <110000>; > hysteresis = <2000>; > - type = "hot"; > + type = "critical"; > }; > }; > }; > @@ -2127,9 +2127,9 @@ > > trips { > mdm_alert0: trip-point0 { > - temperature = <90000>; > + temperature = <110000>; > hysteresis = <2000>; > - type = "hot"; > + type = "critical"; > }; > }; > }; > @@ -2142,9 +2142,9 @@ > > trips { > mdm_dsp_alert0: trip-point0 { > - temperature = <90000>; > + temperature = <110000>; > hysteresis = <2000>; > - type = "hot"; > + type = "critical"; > }; > }; > }; > @@ -2157,9 +2157,9 @@ > > trips { > npu_alert0: trip-point0 { > - temperature = <90000>; > + temperature = <110000>; > hysteresis = <2000>; > - type = "hot"; > + type = "critical"; > }; > }; > }; > @@ -2172,9 +2172,9 @@ > > trips { > video_alert0: trip-point0 { > - temperature = <90000>; > + temperature = <110000>; > hysteresis = <2000>; > - type = "hot"; > + type = "critical"; > }; > }; > }; > -- > QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member > of Code Aurora Forum, hosted by The Linux Foundation >