From owner-freebsd-arm@freebsd.org Sun Nov 20 13:18:21 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 0F7DFC4A225 for ; Sun, 20 Nov 2016 13:18:21 +0000 (UTC) (envelope-from freebsd-arm@dino.sk) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7519DCFD for ; Sun, 20 Nov 2016 13:18:19 +0000 (UTC) (envelope-from freebsd-arm@dino.sk) Received: from zeta.dino.sk (fw3.dino.sk [84.245.95.254]) (AUTH: LOGIN milan) by mailhost.netlabit.sk with ESMTPA; Sun, 20 Nov 2016 14:13:06 +0100 id 00E5480D.5831A162.000178DD Date: Sun, 20 Nov 2016 14:13:05 +0100 From: Milan Obuch To: Jared McNeill Cc: freebsd-arm@freebsd.org Subject: Re: aw_thermal breakage on Allwinner H3 SoC Message-ID: <20161120141305.27d20efc@zeta.dino.sk> In-Reply-To: References: <20161024165820.16e6dd6f@zeta.dino.sk> <20161025180314.38ea1e96@zeta.dino.sk> <20161025202609.0958c55d@zeta.dino.sk> <20161025213913.310b502e@zeta.dino.sk> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.29; i386-portbld-freebsd10.3) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Sun, 20 Nov 2016 13:18:21 -0000 On Sat, 19 Nov 2016 11:03:09 -0400 (AST) Jared McNeill wrote: > 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 Hi, I build new kernel using svn revision 308866, now it changed to aw_thermal0: mem 0x1c25000-0x1c253ff irq 29 on simplebus0 aw_thermal0: #0: alarm 90C hyst 15C shut 105C so I will try to put some load on it. This should lead to higher temperatures, currently I have 67 degrees. I am interested in longer lasting load... Thanks for notice. Regards, Milan