From owner-freebsd-arm@freebsd.org Wed Sep 21 10:49:59 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83BC6BE2561 for ; Wed, 21 Sep 2016 10:49:59 +0000 (UTC) (envelope-from jmcneill@invisible.ca) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 68BB57FC for ; Wed, 21 Sep 2016 10:49:59 +0000 (UTC) (envelope-from jmcneill@invisible.ca) Received: by mailman.ysv.freebsd.org (Postfix) id 642F1BE255F; Wed, 21 Sep 2016 10:49:59 +0000 (UTC) Delivered-To: arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63D20BE255D for ; Wed, 21 Sep 2016 10:49:59 +0000 (UTC) (envelope-from jmcneill@invisible.ca) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:c:538::196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2A2037FB for ; Wed, 21 Sep 2016 10:49:59 +0000 (UTC) (envelope-from jmcneill@invisible.ca) Received: from mfilter13-d.gandi.net (mfilter13-d.gandi.net [217.70.178.141]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 424411720B1; Wed, 21 Sep 2016 12:49:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter13-d.gandi.net Received: from relay4-d.mail.gandi.net ([IPv6:::ffff:217.70.183.196]) by mfilter13-d.gandi.net (mfilter13-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id ZANbTkcGMj4c; Wed, 21 Sep 2016 12:49:55 +0200 (CEST) X-Originating-IP: 156.57.52.82 Received: from dis (stjhnbsu1kw-156057052082.dhcp-dynamic.FibreOp.nb.bellaliant.net [156.57.52.82]) (Authenticated sender: jmcneill@invisible.ca) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 1AE6B1720D2; Wed, 21 Sep 2016 12:49:54 +0200 (CEST) Date: Wed, 21 Sep 2016 07:49:52 -0300 (ADT) From: Jared McNeill To: Daniel Braniss cc: arm@freebsd.org Subject: Re: ALL WINNER high temp. stop In-Reply-To: <01D85517-15ED-46FF-8C11-5A774EC1262F@cs.huji.ac.il> Message-ID: References: <20160917171911.a2ec80da747ba373ba3d1b4a@bidouilliste.com> <5ADFE16E-FD60-45B1-8CF1-6FFC10BABBDE@cs.huji.ac.il> <20160917195544.a2a8bbdb113029700fa7642d@bidouilliste.com> <588E44BB-40BF-40B8-9C5A-BA025AB87E00@cs.huji.ac.il> <4F7891B0-FBD7-451C-BA42-50F872804C95@cs.huji.ac.il> <08E5651B-A28E-4BE8-803B-650CD2434979@cs.huji.ac.il> <01D85517-15ED-46FF-8C11-5A774EC1262F@cs.huji.ac.il> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2016 10:49:59 -0000 CPU frequency scaling is supported now. Have you added operating points to the dts? Without a heatsink or fan, you need to set a reasonable set of operating points. 64C does seem quite low, the thermal driver uses the power-on default temperature for the shutdown temperature though (which should be > 100C). Are you sure you are using the correct compat string for the thermal driver in your dts? Different SoCs use a different formula for reading the temperature. Cheers, Jared On Wed, 21 Sep 2016, Daniel Braniss wrote: > hi all, > now that there is thermal control, trying to compile e.g. from ports > portmaster, heats up the cpu, which somewhere around 64C > decides to halt. > Now, I remember some weeks ago, with a kernel version > without the thermal stuff compiling python and all went ok, > so > Q: what is the thermal high water mark? > Q: are the latest changes overheating the cpu, or is the thermal driver over > cautious? > > danny > > >