From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55688C4360F for ; Fri, 5 Apr 2019 15:08:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2BEB5217D4 for ; Fri, 5 Apr 2019 15:08:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731425AbfDEPIP (ORCPT ); Fri, 5 Apr 2019 11:08:15 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:51551 "EHLO relay7-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726643AbfDEPIP (ORCPT ); Fri, 5 Apr 2019 11:08:15 -0400 X-Originating-IP: 90.88.30.125 Received: from localhost (aaubervilliers-681-1-89-125.w90-88.abo.wanadoo.fr [90.88.30.125]) (Authenticated sender: maxime.ripard@bootlin.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id A159C2001A; Fri, 5 Apr 2019 15:08:10 +0000 (UTC) Date: Fri, 5 Apr 2019 17:08:10 +0200 From: Maxime Ripard To: Chen-Yu Tsai Cc: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= , Rob Herring , Icenowy Zheng , Jagan Teki , devicetree , linux-kernel , linux-arm-kernel , Samuel Holland Subject: Re: [PATCH 2/2] arm64: dts: h6: Add watchdog node Message-ID: <20190405150810.zjwtu6crzaz6ufhx@flea> References: <20190404135736.8491-1-peron.clem@gmail.com> <20190404135736.8491-2-peron.clem@gmail.com> <20190405090236.e7vnyjzxmzfke3d6@flea> <20190405145005.jmmwsvbateqssbyq@flea> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="acvugxf46aqmch7g" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --acvugxf46aqmch7g Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 05, 2019 at 10:59:35PM +0800, Chen-Yu Tsai wrote: > On Fri, Apr 5, 2019 at 10:50 PM Maxime Ripard = wrote: > > > > On Fri, Apr 05, 2019 at 10:35:08PM +0800, Chen-Yu Tsai wrote: > > > On Fri, Apr 5, 2019 at 5:02 PM Maxime Ripard wrote: > > > > > > > > On Thu, Apr 04, 2019 at 03:57:36PM +0200, Cl=E9ment P=E9ron wrote: > > > > > Allwinner H6 has a watchog compatible with A31. > > > > > > > > > > Declare it in the device tree. > > > > > > > > > > Signed-off-by: Cl=E9ment P=E9ron > > > > > > > > Applied both, thanks! > > > > Maxime > > > > > > IIRC there are 3 watchdogs on the H6. One is the trusted watchdog, > > > which should be reserved for underlying firmware. > > > > > > The other two are the normal and R-block watchdog. Although they > > > look the same, the "normal" one can't reset the system. :( > > > That one is actually the one ATF currently uses. So reboot doesn't > > > work on the H6. > > > > So that patch will not do anything then? > > I'm still on vacation, so I haven't checked the address of the new device. > If it's the normal one, then yeah, it won't do anything. I've tried that. > IIRC Samuel (or someone else) on IRC also mentioned this. It's the one in the timer that we've used since pretty much day 1 on older SoCs, so I guess it qualifies as the normal one :) Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --acvugxf46aqmch7g Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXKdvWgAKCRDj7w1vZxhR xSteAQC9KPLiAJnkmPbI1WMuAw4jfQMmP2k2Xg5T0yI3MD6RYwEA0aEu0pn9e9hh UaO80PdE7zbCruvBaw3TH5Fhb9dv+AI= =jbMR -----END PGP SIGNATURE----- --acvugxf46aqmch7g--