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 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D65FFC433F5 for ; Mon, 10 Oct 2022 16:19:28 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1409D84EE1; Mon, 10 Oct 2022 18:19:27 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="dF2+4Z40"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9995684EEC; Mon, 10 Oct 2022 18:19:25 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2F47084D22 for ; Mon, 10 Oct 2022 18:19:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1872960F96; Mon, 10 Oct 2022 16:19:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5A352C433C1; Mon, 10 Oct 2022 16:19:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665418761; bh=rnnGN/3wDKs58fe1GPx+yf1Xj9RQElXyJHgK95ZyxFQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dF2+4Z40ugZSqHn7h1hX4G0Mt9wQDKcmhWXsGIj16abJsGx/jdxiKKMssbusbqSZ3 X7elbsAdJS67u6Gj6kExrQJsJ/Lv0DUu53Aj1yt5N4CjwowCwTGMgoYJBkflt9aMgF usZw/gVGknUa/2+TR0+SJk/bYVUjAd3EdWVm9CBixzdqOneq2uR4o6THIpLB27tyoe pFPmJP560u/k/86YKXSdwTZc9Y32WLlamggfGBs1B3ae8Bjs5OB2nEOcwHFzK4Cxnn jLLJQwf3h1Wj3Ppj/6QLD6Fs2G+FK+4bgrAaW0HN6UGE0++WyMBNfilGouYnZ1hjeS JpNRn4Sq3qwPA== Received: by pali.im (Postfix) id C50467F9; Mon, 10 Oct 2022 18:19:18 +0200 (CEST) Date: Mon, 10 Oct 2022 18:19:18 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Tom Rini Cc: Stefan Roese , u-boot@lists.denx.de Subject: Re: Broken watchdog in u-boot master branch Message-ID: <20221010161918.u2dasbparzwrvqk5@pali> References: <20221009191225.65jwebefhqng3qbi@pali> <20221010135512.GF2020586@bill-the-cat> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221010135512.GF2020586@bill-the-cat> User-Agent: NeoMutt/20180716 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On Monday 10 October 2022 09:55:12 Tom Rini wrote: > On Sun, Oct 09, 2022 at 09:12:25PM +0200, Pali Rohár wrote: > > > Hello! Watchdog code seems to be broken in u-boot master branch. > > On Nokia N900 I'm getting following message in qemu: > > > > cyclic function rx51_watchdog took too long: 10000us vs 1000us max, disabling > > > > Seems that watchdog core code is not prepared for "slower" watchdogs > > which communicate over slower i2c bus, like it is the case for N900. > > > > Disabling slower watchdog is a bad idea as it would result in reboot > > loop instead of slower - but working code. > > Adding the watchdog custodian. Have you bisected this behavior yet? > Thanks. No, I have not bisected it yet, I have not had time for it as I did other thing (asm compiler error, HW runtime issues, ...) mentioned in other threads.