Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2435563imu; Thu, 10 Jan 2019 14:18:19 -0800 (PST) X-Google-Smtp-Source: ALg8bN78OuhOOUc5SbDAwF1nlj4u8BGP3zOuMuUmAosjHm98DLg+GwSr4yvJojeyC14G5xSq3qPj X-Received: by 2002:a63:6f0d:: with SMTP id k13mr10894444pgc.42.1547158699094; Thu, 10 Jan 2019 14:18:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547158699; cv=none; d=google.com; s=arc-20160816; b=yMRPnuOPAdxh6JRLRY9wpO9YfnpX0Is4A08KAwxPThHXbrOk2qMcYEAobvfp40Nc1w asOsH3mW3AK9GeeEzixuDxnYxCz0UmJcNozXhXb4KHOHFq3eRO+gj2JpgsX+mePqaRx9 cPF1JZIMifb65QHB5smCLNyc4OsQKk5FKXO7F0O0MzzVoWi/kJlftYQryDN8EguuWW2N /GGzfS2Rj2CXTlpFNjx2LPLhMA2hbpYoDyHgn5hLuZRNckpY3tYeV3cur2PI6Q1NhCEN ij4isZqo6J3RDl1oVDys/4jPuNS40J5jwESdeGqZgiYWjotPVlr6QuOpyXcSdCWyqzx1 dmeQ== 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=Vy7pN6aDzFrDAzH1p4yOc3Z4zZXfqcqoGwMPJMXmmLM=; b=Pe0oSruiknooL33ff3HPhgOWgiir0zx5btRe1zZzAUdXmNTWyhsq1V2gmaivd5oMgT VxAzMXrvuoX6c7Qfs0kUM3K1OaylYWHodGhL0av3XR4VtbDfs0tz0AVQ2hwg+ChibDYj EWk7pcRQYLEEFPmd1NKmye0gznGH5MwLMjHJHgqodMBHGHeqeXXNulwbjcLb24Iy2aCg yLGCLMXDVDg6kQF/HW4gkN0l/KJnGhQc7g0OPjPU82rl6eO+AGJhb/6tjvQs/OM7xleK hsJt79X9zUb5aC8i2KB6tlu66FC0P5pbk07qVuBcJayqIs8LLBo3DOEHjv8z37lw/QHK fujw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JIWm5JHT; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 20si26060962pft.177.2019.01.10.14.18.04; Thu, 10 Jan 2019 14:18:19 -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=@chromium.org header.s=google header.b=JIWm5JHT; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729346AbfAJROh (ORCPT + 99 others); Thu, 10 Jan 2019 12:14:37 -0500 Received: from mail-vs1-f68.google.com ([209.85.217.68]:36287 "EHLO mail-vs1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728918AbfAJROh (ORCPT ); Thu, 10 Jan 2019 12:14:37 -0500 Received: by mail-vs1-f68.google.com with SMTP id v205so7474493vsc.3 for ; Thu, 10 Jan 2019 09:14:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Vy7pN6aDzFrDAzH1p4yOc3Z4zZXfqcqoGwMPJMXmmLM=; b=JIWm5JHTv7uv3F9kiaXoFZdazgwTJf9+6BMPBtupiq6d0P41Jn0QQ/RmiJuB+/54c+ j8JcnzizAU0YqPGWQU0AisDLpQmeclmBoF/ghS2HUm4rnafrWP6x8sQ1neEulWuU9Fyp VCwtjbHcCUt5fHF/O5E/e84tkE8ChQOnvoqDg= 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=Vy7pN6aDzFrDAzH1p4yOc3Z4zZXfqcqoGwMPJMXmmLM=; b=Inql/VjQhKGk6bZea2/5V3BcBlh3LBlj7DZFFDggV5k60iBLb9WYJT8GFudxOq1UI2 zsKoQi7iekyH3dRcwgbUgGAXLg5XhOX76YmhZRBNd9nyaTH/wM11ApXlu4te0J00bl76 bhpxQnak+IgnKu8lNPvnZcHR93osDL6J7HNrFYytZd9cuQGlbu+wYON2AGrq4OQCH9+H SQk1wIrHiSnVO0/SkzqjIVTWFssdEM5qv8UAeAUErGafyKKCspIN3d1udeHw10KDaPOi IYdSjCxvBW1+JjCUtk6bfAQBiv3MoUQPxt/zeElQVB1m5Dg2W+VmIzLt1Yw505OvqC9x 7Y7g== X-Gm-Message-State: AJcUukdPBlRJFRZQj4pQLNsLrHD7dR/ED8b26VkNSi8JvQtR3bABCICu ZpESSWG6c62RNNFceWOREbWZX2DenYg= X-Received: by 2002:a67:3509:: with SMTP id c9mr4560621vsa.33.1547140475418; Thu, 10 Jan 2019 09:14:35 -0800 (PST) Received: from mail-vs1-f42.google.com (mail-vs1-f42.google.com. [209.85.217.42]) by smtp.gmail.com with ESMTPSA id k200sm29434492vke.9.2019.01.10.09.14.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Jan 2019 09:14:34 -0800 (PST) Received: by mail-vs1-f42.google.com with SMTP id p74so7499181vsc.0 for ; Thu, 10 Jan 2019 09:14:34 -0800 (PST) X-Received: by 2002:a67:da93:: with SMTP id w19mr4635027vsj.144.1547140473614; Thu, 10 Jan 2019 09:14:33 -0800 (PST) MIME-Version: 1.0 References: <041258d65883df964890249a24d2a4788c419304.1547078153.git.amit.kucheria@linaro.org> <154708018331.15366.11574628155253134835@swboyd.mtv.corp.google.com> In-Reply-To: <154708018331.15366.11574628155253134835@swboyd.mtv.corp.google.com> From: Doug Anderson Date: Thu, 10 Jan 2019 09:14:20 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1 6/7] arm64: dts: sdm845: Increase alert trip point to 95 degrees To: Stephen Boyd Cc: Amit Kucheria , LKML , linux-arm-msm , Bjorn Andersson , Viresh Kumar , Eduardo Valentin , Andy Gross , Taniya Das , Matthias Kaehlcke , David Brown , Rob Herring , Mark Rutland , devicetree@vger.kernel.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 Hi, On Wed, Jan 9, 2019 at 4:29 PM Stephen Boyd wrote: > > Quoting Amit Kucheria (2019-01-09 16:00:55) > > 75 degrees is too aggressive for throttling the CPU. After speaking to > > Qualcomm engineers, increase it to 95 degrees. > > > > Signed-off-by: Amit Kucheria > > --- > > arch/arm64/boot/dts/qcom/sdm845.dtsi | 16 ++++++++-------- > > Is the plan that these are some defaults that would be adjusted by board > variants? Just curious why we have anything in here and don't punt it > all to each board dts file. My preference would be that the SoC device tree file should contain thermal numbers that are important to pay attention to for the safety / proper operation of the SoC. ...then individual boards could (if they needed to) override with lower values to control, for instance, skin temperature. From experience with previous boards, if you've got enough an off-SoC thermistors then those are the ones you'd want to monitor to control skin temperature. It's OK if the SoC spikes up quite high as long as that heat has somewhere to go (like a heat pipe). The sensors that are part of Amit's patch are on-chip. ...if you've got a board without external thermistors and are using the SoC's on-chip sensors as a proxy for the heat in the overall system then you might want to lower your values in the board device tree file. You won't be able to have as many short term spikes, but that's what you gotta do without the extra sensors. Sound sane? -Doug