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 E33D4ECAAA1 for ; Fri, 2 Sep 2022 07:45:55 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 17BCB84A44; Fri, 2 Sep 2022 09:45:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1662104754; bh=uGJL9msSisVANs5u4joTVXQMspO0qSTP0VHfZjUKKIU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Xf6fTMYQRuqku/D+1aIHIJ8aYp21qIe0iSrXhRwaBXUDUp9dfodDDT66KuKvcPk4e vHvo+cih6oGa0le51vsION8Ek+DOp/6U9QB8b5rtxWMJYbs8ETwMpTqI6gMs+aiFrz fF6jvoG98h2Ss3ea9WQMPY+0Aiqp0wzgrN6tm6/aISwyoxzH40xt3pa1T0QF09LkRG sMOr+TegKwZI/rlrawP7wx8PtvRJ/WK5wM1uHUXZUjZBVKi5bIZ4kAS71Fy1bHSAw+ caXrL7DOgdAqpP/ZXnC3cTeryDcpwD5de55T9/tK3zB3oYgSmPaDAI3SIXa38ji1Az vYxphgoX16MMQ== Received: by phobos.denx.de (Postfix, from userid 109) id CA30E84A4A; Fri, 2 Sep 2022 09:45:52 +0200 (CEST) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [80.241.59.207]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id BC3D384A44 for ; Fri, 2 Sep 2022 09:45:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4MJqhr6KfXz9sR8; Fri, 2 Sep 2022 09:45:48 +0200 (CEST) Message-ID: <3286ff79-0861-bc9e-6f89-9de74e6e3575@denx.de> Date: Fri, 2 Sep 2022 09:45:47 +0200 MIME-Version: 1.0 Subject: Re: [PATCH v2 1/8] timer: orion-timer: Use timer_conv_64() to fix timer wrap around Content-Language: en-US To: Michael Walle , Tom Rini Cc: u-boot@lists.denx.de, pali@kernel.org, mibodhi@gmail.com, sjg@chromium.org, Stefan Herbrechtsmeier References: <20220902062554.1197435-1-sr@denx.de> <20220902062554.1197435-2-sr@denx.de> <983a0f48675e18fae5bb7e94a38010ea@walle.cc> From: Stefan Roese In-Reply-To: <983a0f48675e18fae5bb7e94a38010ea@walle.cc> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 02.09.22 09:44, Michael Walle wrote: > Am 2022-09-02 08:25, schrieb Stefan Roese: >> While testing on some Kirkwood platforms it was noticed that the timer >> did not function correctly all the time. The driver did not correctly >> handle 32bit timer value wrap arounds. Using the timer_conv_64() >> conversion function fixes this issue. > > Fixes: e9e73d78a8fb ("timer: add orion-timer support") > > Ahh. Sorry about that. I've missed that conversation which is also > in lib/time.c in a different call tree. > > Maybe this can be picked to master (if this series is going into > next)? That's my plan. To pull this patch only in this release cycle and queue the rest for next. Thanks, Stefan