From owner-freebsd-arm@freebsd.org Sat Nov 19 15:03:17 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 D443FC4AB33 for ; Sat, 19 Nov 2016 15:03:17 +0000 (UTC) (envelope-from jmcneill@invisible.ca) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [IPv6:2001:4b98:c:538::194]) (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 9C8DDD90 for ; Sat, 19 Nov 2016 15:03:17 +0000 (UTC) (envelope-from jmcneill@invisible.ca) Received: from mfilter31-d.gandi.net (mfilter31-d.gandi.net [217.70.178.162]) by relay2-d.mail.gandi.net (Postfix) with ESMTP id BDF61C5A5D; Sat, 19 Nov 2016 16:03:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter31-d.gandi.net Received: from relay2-d.mail.gandi.net ([IPv6:::ffff:217.70.183.194]) by mfilter31-d.gandi.net (mfilter31-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 29_Gmobv1Qpn; Sat, 19 Nov 2016 16:03:13 +0100 (CET) X-Originating-IP: 142.163.95.249 Received: from dis (stjhnbsu1kw-142163095249.dhcp-dynamic.FibreOP.nb.bellaliant.net [142.163.95.249]) (Authenticated sender: jmcneill@invisible.ca) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id A59B8C5A43; Sat, 19 Nov 2016 16:03:11 +0100 (CET) Date: Sat, 19 Nov 2016 11:03:09 -0400 (AST) From: Jared McNeill To: Milan Obuch cc: freebsd-arm@freebsd.org Subject: Re: aw_thermal breakage on Allwinner H3 SoC In-Reply-To: <20161025213913.310b502e@zeta.dino.sk> Message-ID: References: <20161024165820.16e6dd6f@zeta.dino.sk> <20161025180314.38ea1e96@zeta.dino.sk> <20161025202609.0958c55d@zeta.dino.sk> <20161025213913.310b502e@zeta.dino.sk> 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: Sat, 19 Nov 2016 15:03:17 -0000 On Tue, 25 Oct 2016, Milan Obuch wrote: > One more observation: booting verbose shows following > aw_thermal0: mem 0x1c25000-0x1c253ff irq 29 on simplebus0 > aw_thermal0: #0: alarm 42C hyst 15C shut 65C > > which is for me wrong - shutdown temperature 65 degrees is unacceptably > low. In r308833 I've increased the shutdown temperature to 105 as well as adjusted the temperature conversion formulas to match the BSP. Along with that, I've bumped the alarm threshold to 90C. It's working well on the two different H3 boards I have, can you give it a shot? Cheers, Jared