Received: by 2002:ac2:5042:0:0:0:0:0 with SMTP id a2csp167926lfm; Tue, 16 Jun 2020 18:19:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpEbE7rgQa++7iRE4DL4NoH7t8sIJrfBmD32jQ7FDKqVR96SEXVOPLOhrtVfQCk6YrsY87 X-Received: by 2002:a5b:b49:: with SMTP id b9mr7765597ybr.343.1592356755154; Tue, 16 Jun 2020 18:19:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592356755; cv=none; d=google.com; s=arc-20160816; b=N3A1lQ2KJz8Qx+XNhJCj5bUAi0SIc/g2dMMUs7eh0yaVD9rE25RbE20hAmkcn9BXu3 zedga3UyFuFFhogQJF1EraskENrffBhNfdFJ67bZEMJyaQwGOXCtm3ayDAux/GbEJofl RMeZ2P/q5qzm9ou9Qhw6JM/q3r4VJvGp9dzFNiK7/adVI/4QUO7XI83Ua7d1kw7PPy3c 1Dt/QyKvDxoBcbngXbu7eGg/6HzEyNbuDrbZZQ2IEvd4EWCimygJAd62MPelZcKy++Kj 2xCLQdROyP3zljNquT5ODJ1pSCubhcl1dNiV14OeXiAt3W1yVLoKh86XEj/btItJGwg2 zHEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :subject:to:from:date:references:in-reply-to:message-id:mime-version :user-agent:dkim-signature:dkim-signature; bh=bGiw2oVMO5sl1u06HPRnTO8nHbbowtd7bD1Dzh+zIN0=; b=LPqV84uoHrejJl9i8mmAp13F9I+tYXEq7Q3GsAMpglTwJ/gAnfX2E9zNF7d3fH+Eda wxYkkvAuZ6nxVrbdRTqsRY2N5BqZfV9DKQu+ZwiMWRCeD8R/abvHtymKHsT02TLEf1B5 5UoiZW+wfwjTTl/U9xb7ZBbK9CqC4vKcI5Ark/0rf0Bcau/Mb3aJG+kPrxiDZA7VbOQ6 n7V/vKPPuOnrkUw8ocL+n+DaDCOnSUARuHSzIgTHsGrCUrRR1EmZduR/DWGevEiIDk12 jDp1uLuq9KdxKD2SsK6JVqy6uxK5zeyMIQam0xlGJkzfGwPInJrD9OOQocreTtqOHhcl a/RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@aj.id.au header.s=fm3 header.b=HkCGLoi5; dkim=fail header.i=@messagingengine.com header.s=fm3 header.b=Kfsaxhcx; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id n184si17917348ybc.403.2020.06.16.18.19.14 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Jun 2020 18:19:15 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@aj.id.au header.s=fm3 header.b=HkCGLoi5; dkim=fail header.i=@messagingengine.com header.s=fm3 header.b=Kfsaxhcx; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org" Received: from localhost ([::1]:45390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlMjS-0007bH-Go for alex.bennee@linaro.org; Tue, 16 Jun 2020 21:19:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlMjL-0007ap-1W; Tue, 16 Jun 2020 21:19:07 -0400 Received: from wnew4-smtp.messagingengine.com ([64.147.123.18]:42837) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlMjJ-0000fd-74; Tue, 16 Jun 2020 21:19:06 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.west.internal (Postfix) with ESMTP id 16D15679; Tue, 16 Jun 2020 21:18:59 -0400 (EDT) Received: from imap2 ([10.202.2.52]) by compute3.internal (MEProxy); Tue, 16 Jun 2020 21:19:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type:content-transfer-encoding; s=fm3; bh=bGiw2 oVMO5sl1u06HPRnTO8nHbbowtd7bD1Dzh+zIN0=; b=HkCGLoi5tjpRO/g2A28GH 4shI1XOK9YkyMPTrtWOptLqh/qFWCqrcLWi+ICYg5uBQ9o+X+4QQuO6Xl5fIW/An F18aB8rHS4WX0edjoVRh2hS56KqSHTJInK0AQIXOnmaKMfVYNA5JIHrWeuJx27kh UEyfKHw9wRpx5ICTCkQEZI4sYnqDX4daFdXJLsTk1SGOYOEdQvg1zdPK90XkxCFt /bG1k/wWlLb8ViIlQLASvMjO4f1PbSlIrQXyisiWZDPW+adOgd09GdfLauYOPcWQ SWMJl4ZDN2BkqXORPBwr8LKx/xXys7Aj6ACIZ9dMerZOBD3Y2Ea2kPe/tRmmW/ZD w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=bGiw2oVMO5sl1u06HPRnTO8nHbbowtd7bD1Dzh+zI N0=; b=KfsaxhcxSRuYPM5VFJE7e4s7htSf0rEeuvI1Dw/ssYqwKvC2McIrow6bJ ONUAQ5J0QxhXah5U6sARcMkxfqcSN+T2Q0oHgUHoisceCRjRKpCC8xNjuvlVKy28 vDJBIauFdm5x+hcory1d/WL1c4mafJ/lNgF/7uLBWrslCMJIpju5wjMM2UPBr1zg ALX8PvY4QTmEho3RsZjEZ3qId7c+nNeZQ1Acr+POw+a1kevbq+3uY9JwkAAjsiF1 TkMDoaio4yiG51NcZ6YvAa1OBH+iIZczSSg3SnUK9WI79SVHxmANGqURIYxHsSE3 rfTj9Gq6ue7vSNoO6e65/MVZ8zdjg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudejuddggeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedftehn ughrvgifucflvghffhgvrhihfdcuoegrnhgurhgvfiesrghjrdhiugdrrghuqeenucggtf frrghtthgvrhhnpedvgeekheegfedvhfethefhudetteegueeggfeiieegueehkedugedt kefglefgheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpegrnhgurhgvfiesrghjrdhiugdrrghu X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id F097DE00D2; Tue, 16 Jun 2020 21:18:57 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-dev0-529-g3ee424a-fm-20200611.001-g3ee424a1 Mime-Version: 1.0 Message-Id: <914f089d-e81e-4b01-bd70-4702d8b39724@www.fastmail.com> In-Reply-To: <20200616075121.12837-8-f4bug@amsat.org> References: <20200616075121.12837-1-f4bug@amsat.org> <20200616075121.12837-8-f4bug@amsat.org> Date: Wed, 17 Jun 2020 10:48:36 +0930 From: "Andrew Jeffery" To: =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= , "Cameron Esfahani via" Subject: =?UTF-8?Q?Re:_[PATCH_7/7]_hw/watchdog/wdt=5Faspeed:_Reduce_timer_precisi?= =?UTF-8?Q?on_to_micro-second?= Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=64.147.123.18; envelope-from=andrew@aj.id.au; helo=wnew4-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/16 21:19:01 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , Peter Maydell , qemu-block@nongnu.org, Corey Minyard , David Hildenbrand , "Michael S. Tsirkin" , Mark Cave-Ayland , Max Reitz , qemu-arm@nongnu.org, Joel Stanley , Paolo Bonzini , =?UTF-8?Q?C=C3=A9dric_Le_Goater?= Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: mPLH7yAFJo8a On Tue, 16 Jun 2020, at 17:21, Philippe Mathieu-Daud=C3=A9 wrote: > The current implementation uses nano-second precision, while > the watchdog can not be more precise than a micro-second. What's the basis for this assertion? It's true for the AST2500 and AST26= 00, but=20 the AST2400 can run the watchdog from either a 1MHz clock source or the = APB=20 clock (which must be at least 16.5MHz on palmetto). The reset state on t= he AST2400 configures the watchdog for the APB clock rate. The Linux driver will eventually configure the watchdog for 1MHz mode regardless so perhaps the AST2400 reset state is a bit of a corner case,= but I feel the assertion should be watered down a bit? Andrew