Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3325239pxk; Mon, 5 Oct 2020 07:04:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZQwIGuzQH9oacK1NCcCnwyTOIHtdWGH/OvOwTaV3cRl1Rs+te6rRjHYbzDmCKvPD4gBkH X-Received: by 2002:a17:906:b285:: with SMTP id q5mr3681813ejz.470.1601906666626; Mon, 05 Oct 2020 07:04:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601906666; cv=none; d=google.com; s=arc-20160816; b=CYv3bYTBPo8qMpNASFo+Npk7nUGQlBouvxCURF0aY2WDjebUuZsR8S26YTt/5Pctyo WrH1OUmyNlJYMonvQ+3vAPEScwgLypjR86zmQZlk1y9wFlxuomzRlt4mh528B/TBlRoK m4WlBt9gLAx4Nu/3ZA+6QDwegIc0ToJee5Q+9/6axZzvLyZkB6y/LBt20iFzENXgZpvo 7yDTG+cduwLhQmUwsuebQN+Havjs3veY0jpcqoZHGq8zifC29ee3ka3jMssxSsE987Rk mjKqAl1xB32uov5LDQ6L56BWb4BYBP8/pirJWha31W6so9rHf26GMFmBvA1phGUPaMuP GeMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=X/w3CEZ9lodjlQSct4mip6uwJZ2zGkN0UfUIv/VK97Q=; b=W8lKF0o+SuhMK+xiZ8wdc5TRNX6B06R87sJ5ii+0vouWu7Z5M8tJRKpD0mYn73zDaa kzg7yZG/Fhq2JDAKY7C71ERZo5D8aa3ghoOqzP+FVuDPGOVRaDV6EUJjdspwq82Z0uKW DgwO7dnmE0/tVWYfa05HDqdRwaB/CWs+NugbT7GxDwwXiph/MLch2vsPKNdJPLNkHvh7 ly1mnC/Gnx6TYzO2dOKxumvt2tho20JuewdGzucwnjtrAQJEOttn1Lb0XtVcadDACOFm bYi2UxNrX/uuyQGcIE8Dv1wL9OJoRHeuGDqIsix5NNAf036toiYxbxtn7AU88Vvdu69K Ic2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="sEoyV/al"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z15si8413467ejr.202.2020.10.05.07.03.58; Mon, 05 Oct 2020 07:04:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="sEoyV/al"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726391AbgJEOCF (ORCPT + 99 others); Mon, 5 Oct 2020 10:02:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725954AbgJEOCE (ORCPT ); Mon, 5 Oct 2020 10:02:04 -0400 Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2809BC0613CE; Mon, 5 Oct 2020 07:02:04 -0700 (PDT) Received: by mail-lf1-x142.google.com with SMTP id 184so2347408lfd.6; Mon, 05 Oct 2020 07:02:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=X/w3CEZ9lodjlQSct4mip6uwJZ2zGkN0UfUIv/VK97Q=; b=sEoyV/al+Rf3T8SXz6/2wHQ/oV7dBin9RovrWz0nHD2V6hhFwxVbYDTdwoBGlPwhjg iErhE+s88QqAEkJ25gPTkKpLqDpGXzcSkjkSF+ktNhG3muw0uzqM+WN32ZMZJ+qEE9il kVL9SXhCGbm9dLUOkiH/pXP4igo6smVOMj5dhbRRnrTH0oxIgV/Mkcr1UWnfotMNdJeP YZ5CAEYT3bCo60te+2Hj8cxTFa+aye2sAdUhCtSE6Q0Heazk4zFs1NqPfGmEOenjxueN 9WF6u1Npl1IzQBhkrVN/sEnwyQOCzCo/GVdGq4oLkifxAmWxKHf6Jr+1u86/+9Vfu+Ny 44uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=X/w3CEZ9lodjlQSct4mip6uwJZ2zGkN0UfUIv/VK97Q=; b=rGXur0j+IFbdobq9hkuhICB5ZugtrVV+pWwx0Fk45eBxrtVruACpn5RmtdyqKLV7Dg YjGeBMqwEg1lWZxGCzh/jJwNwF7uvUg7mV6E9KAfyXiNuTxZyHnkDPe1pzWfdRXKucQn VFTjv2pFjdylpDhNY7XjOp5k+cIuQ/5meoSXdyxD7IGqFL5V2NZMoECZSABMI+7wOi6U im1F/2AoiKpqf73i4LpDGAbD9aCp23EDY7aJx36cLzMejXFPRZkF3Xc3i4tf2RPAHpbN GSJyGl0L6/t9PC8s5RtGVRySf0mGBGPfzZq+Htbj+PDeHszavCLPW48ZxhynBT6l9H0g g+rw== X-Gm-Message-State: AOAM533PumkW5pFHZ6Hthh7swtQXf5BKrCitPAWay0C4AzaUlIxUjv9A 3iaz4IFYDvD0IkoxwSFJVpKVeQQU2z8= X-Received: by 2002:a19:8488:: with SMTP id g130mr178362lfd.424.1601906522326; Mon, 05 Oct 2020 07:02:02 -0700 (PDT) Received: from [192.168.2.145] (109-252-91-252.nat.spd-mgts.ru. [109.252.91.252]) by smtp.googlemail.com with ESMTPSA id d6sm471414lja.63.2020.10.05.07.02.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Oct 2020 07:02:01 -0700 (PDT) Subject: Re: [PATCH v3 1/3] ARM: tegra: Add device-tree for Ouya To: Peter Geis , Rob Herring , Thierry Reding , Jonathan Hunter , Matt Merhar , Stephen Warren , Bob Ham , Leonardo Bras , Michael Brougham Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20201004133114.845230-1-pgwipeout@gmail.com> <20201004133114.845230-2-pgwipeout@gmail.com> From: Dmitry Osipenko Message-ID: Date: Mon, 5 Oct 2020 17:02:00 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201004133114.845230-2-pgwipeout@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 04.10.2020 16:31, Peter Geis пишет: > + thermal-zones { > + cpu_thermal: cpu-thermal { > + polling-delay = <5000>; > + polling-delay-passive = <5000>; > + > + thermal-sensors = <&cpu_temp 1>; > + > + trips { > + cpu_alert0: cpu-alert0 { > + temperature = <50000>; > + hysteresis = <10000>; Hello, Peter! A day ago I was tuning thermal zones for Nexus 7 because found that the current variant is a bit too unpractical. In particular temperature hysteresis should be small, otherwise cpufreq could get throttled enormously to the point that device becomes unusable. This is an active-cooling zone, but it looks to me that hysteresis is a bit too high and should make Ouya much noisier than it could be. I suggest to try to set hysteresis to 0.2C here, i.e. hysteresis = <200>. I also suggest to bump the temperature threshold to 55C in order to ignore temporal temperature spikes because CPU temp should be about 40C during idle and then it may raise quickly for a brief moments during average usage. > + type = "active"; > + }; > + cpu_alert1: cpu-alert1 { > + temperature = <70000>; > + hysteresis = <5000>; > + type = "passive"; > + }; And here to 0.2C as well. > + cpu_crit: cpu-crit { > + temperature = <90000>; > + hysteresis = <2000>; > + type = "critical"; > + }; The critical zone perhaps should be fine as-is.