Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2452629ybb; Sun, 5 Apr 2020 07:56:25 -0700 (PDT) X-Google-Smtp-Source: APiQypKXfKy2yb368FvvbazVmAC4PHKk8mr+UxTg4ILES9ATci3F47D/nnDoQIuSvt7MVLoM/nHN X-Received: by 2002:aca:fd0d:: with SMTP id b13mr9791309oii.179.1586098584982; Sun, 05 Apr 2020 07:56:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586098584; cv=none; d=google.com; s=arc-20160816; b=dOMwM8qllXB6DC3G9tAl8FmTnsr8U1pWl7H1iIsYsb8GWG3P4pWR1Wtnj9bx0r+hHo aLfuibfkdW8cbWroDAVeylUTP6e36DVHoAKnbpi5p7fF0t9BV/7kxiOB9rOaR95xPjF/ 4JLx8vGFF2DL1Ql9vKvH/DYfv/984PmwpfcgDvjHDUdyoC1SVadc4uyH3YQKnrRACc8w aIw9sxXFupTSnJ6JpRfZJBfmZOX+FHDmVBXVSl9dyTtOUEvtbd97XUT0C0URmZpQN6Xo vp6tbQpVTX9wfE5f9KIQVOfnlJ9Pq3wnJkgV3g2WU+HGDBp7EZ+zTYSQxt2jwqoIXlrL n/AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=I1VxynQRCmi579ofDY6cCIquUy3Njw/zARPwSVIQnhQ=; b=nec3Gu1mJFwkYTce5BOVJYnmUjjlq/5vDmPnN+dBNVMC/JCK4bGxRgr3Sr36JUXt0B Z6YkRCvxcmxDfJzmGqaFswWUf2lUl7IZQre6/KhX40UM74B5MZ/6UHp3WykqXUByDSBN qsfHky+D3XzP8Da0Si+lw+VIZX9kbcnKIn4OYkY4bbPCIbWFbopLKBuBWyV2QEOyodes fq+XnvHNcYlo4dUu7MK1GrdRxtLB9L7sSFTnsTv6gBjtpILCB2bV5HuSJANfLuUSO1qp lF2bYhJxtzCkQEvFnRljm2Q85y7BmhBrZJM5jrB6zDVlMu7eevl8sd+ztbsDvjhBUDBR VM+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=QJ79tLBw; 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=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t19si6199529oif.250.2020.04.05.07.56.12; Sun, 05 Apr 2020 07:56:24 -0700 (PDT) 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=@megous.com header.s=mail header.b=QJ79tLBw; 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=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727302AbgDEOyp (ORCPT + 99 others); Sun, 5 Apr 2020 10:54:45 -0400 Received: from vps.xff.cz ([195.181.215.36]:38982 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726674AbgDEOyo (ORCPT ); Sun, 5 Apr 2020 10:54:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1586098483; bh=YvInvH/mqpjWA9tS3gUA31bXJDMR40kHIKld7q04mmg=; h=Date:From:To:Cc:Subject:References:X-My-GPG-KeyId:From; b=QJ79tLBwI18mxgsos5s6y/yEYEzpyGors8eAHWB3JvCsqxbtpH0uyxMCT3YGmbbfF A8Rnk9/WZSr2nDyyx0DlHucdax5BmYhZ1E8B6Cyh9JiRX7+nRDVRF0eLgVfAyMxejI c5y2X6oLpB3ckC9eG1gXqQSHdVvyBJUOiptaBqX0= Date: Sun, 5 Apr 2020 16:54:43 +0200 From: =?utf-8?Q?Ond=C5=99ej?= Jirman To: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= Cc: Maxime Ripard , Chen-Yu Tsai , Rob Herring , linux-arm-kernel , devicetree , linux-kernel , linux-sunxi Subject: Re: [linux-sunxi] [PATCH 0/7] Add support for Allwinner H6 DVFS Message-ID: <20200405145443.uycsh73kxmurdmil@core.my.home> Mail-Followup-To: =?utf-8?Q?Ond=C5=99ej?= Jirman , =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= , Maxime Ripard , Chen-Yu Tsai , Rob Herring , linux-arm-kernel , devicetree , linux-kernel , linux-sunxi References: <20200405104913.22806-1-peron.clem@gmail.com> <20200405115138.vrrvv7spnv6ifm6x@core.my.home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-My-GPG-KeyId: EBFBDDE11FB918D44D1F56C1F9F0A873BE9777ED Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Sun, Apr 05, 2020 at 04:33:37PM +0200, Clément Péron wrote: > Hi Ondřej, [ ... ] > Good point, this information should be added for both CPU and GPU regulator. > This could be nice to confirm this point with a scope. > > Also I remark that Allwinner user higher temperature than what we set : > alarm_low_temp = <105000>; > alarm_high_temp = <110000>; > alarm_temp_hysteresis = <15000>; > shut_temp= <115000>; > https://github.com/orangepi-xunlong/OrangePiH6_Linux4_9/blob/master/arch/arm64/boot/dts/sunxi/sun50iw6p1.dtsi#L1924 > > Don't you think that we can push a bit higher the temperature it's > actually at 80°C ? We probably can. But just 5°C between high temp and criticla temp is probably not enough. I'd probably set our value to something like 90-100°C so that quick temperature spike before regulation kicks in would not shutdown the CPU. regards, o. > Thanks for the review, > Clement >