Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3586883rwb; Fri, 20 Jan 2023 19:25:32 -0800 (PST) X-Google-Smtp-Source: AMrXdXs+uKBpCaePvfhXHOy0k24R2PuW9l6HaUzdMSvB6fmIWzeQfHugSgfNSwUgcyQUxtnEz+y5 X-Received: by 2002:a05:6402:1f05:b0:49e:16fc:b525 with SMTP id b5-20020a0564021f0500b0049e16fcb525mr17925889edb.41.1674271532250; Fri, 20 Jan 2023 19:25:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674271532; cv=none; d=google.com; s=arc-20160816; b=WvvxSgOxf26mmBgmzME2sVBafyi96QMh36j6cKpnTAtdKstwzq6LaXt0wYtBW7skmP y0Bbx0UXpFo2naP+/23pnZbufPEjZ2vX2ukomAPVVEuS9Aoe2z6J/vWFHXX7JYesmhdN 5rSbrMyJkBVm0HcWMygX30ALB4SmXVUSEggrITvmswoYtAPntcjUDQwUV84fiHyLdk4i r4oQRvUU91CF8eCqlyZ0g1FXeMdLOkxL27gxu2P4qj1YtFXsilm0K9k+jsMqGExZrCrl x8Hbz5qXMuRhddnKN01axZ6k3ke0WIJqxqqxT6nTNsNIpEbrsdu28wmcuIuZuzQ5Da7+ bF+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=J1zuBNx4ycZJbVgdpZY1W4NpQkCkz6xgIjQ3ORHUd0o=; b=QPTUABPvNrBS3NNEruSEjbUipgpfCwhhkmNOFYG3HcTyXSazJGC0Q21UJdM87V+aSt /NXx7YkeoDs2/S9Bh+veUsB3178SkZ6yIKF5QTXSVSaUm5reU68CPEjzR56yTNzsLa2w 6A6YUVNZAmShBVdySM9ZAHFhafF+LRZkMqxGQJCzFfRPGODsYfAKg5v03bFUrt47nAGz 55t5i+bGUUzWhLKlyLdQDAfyO/4WGDqvAf1IYi/TCL91EYTV6KYy/L4rWy4+30g2gOgA J7/HrG5774Lx7GMD3mG9xHsjgRvWweO1A5cfPzqttl+vdpAMt6wfgo0C07/ywEl9Blhy lQIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WAJwksRR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s13-20020a508dcd000000b0047a5b2e747csi40825120edh.273.2023.01.20.19.25.19; Fri, 20 Jan 2023 19:25:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WAJwksRR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229734AbjAUDA1 (ORCPT + 50 others); Fri, 20 Jan 2023 22:00:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229604AbjAUDAZ (ORCPT ); Fri, 20 Jan 2023 22:00:25 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7F7785365; Fri, 20 Jan 2023 19:00:21 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 38F27B82B8B; Sat, 21 Jan 2023 03:00:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id DADF7C433EF; Sat, 21 Jan 2023 03:00:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674270018; bh=5/isiG1F6F2yJtSuQyZgo2mQgMcrRVRqoNoSGSyeAQU=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=WAJwksRRq4L8aC4DWMJF3EC+nlAgYltXlS0Oim6CeMfCb/1MI+Xs5VuicLBAU7G0z Rh9LRfFvnRa29EjpNB4Ow/NGybWRpX/9Ovh2T5PgPMwldTrEIfNPZTyMwlCuV9ZrEP eA3d3gKZiuEyamcX+o1DogO+OTyMLbZ5b/ri3Er04layFOY0dlis7fPjl41Z06EFKb ddD64s/LoXhcgz2hMcjWM02fSEhV3LY2isQ9Sj7FMmV9P/s7Qypkuyw5pz6PJBYVMp ytlHF7Baz3afr+8hpfo2tlOxW5yfPpyBmoI523ssA8h37H3Suuc+lCeRDTTjKQG2TX bAv1SG2hEh4GQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id C27BFC395DC; Sat, 21 Jan 2023 03:00:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] ptp_qoriq: fix latency in ptp_qoriq_adjtime() operation From: patchwork-bot+netdevbpf@kernel.org Message-Id: <167427001879.13800.13324318173973424453.git-patchwork-notify@kernel.org> Date: Sat, 21 Jan 2023 03:00:18 +0000 References: <20230119204034.7969-1-nikhil.gupta@nxp.com> In-Reply-To: <20230119204034.7969-1-nikhil.gupta@nxp.com> To: Nikhil Gupta Cc: linux-arm-kernel@lists.infradead.org, yangbo.lu@nxp.com, vladimir.oltean@nxp.com, richardcochran@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, vakul.garg@nxp.com, rajan.gupta@nxp.com X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (master) by Jakub Kicinski : On Fri, 20 Jan 2023 02:10:34 +0530 you wrote: > From: Nikhil Gupta > > 1588 driver loses about 1us in adjtime operation at PTP slave > This is because adjtime operation uses a slow non-atomic tmr_cnt_read() > followed by tmr_cnt_write() operation. > > In the above sequence, since the timer counter operation keeps > incrementing, it leads to latency. The tmr_offset register > (which is added to TMR_CNT_H/L register giving the current time) > must be programmed with the delta nanoseconds. > > [...] Here is the summary with links: - [v2] ptp_qoriq: fix latency in ptp_qoriq_adjtime() operation https://git.kernel.org/netdev/net-next/c/24a7fffb2533 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html