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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1DB70C05027 for ; Sat, 21 Jan 2023 03:01:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Date: Message-Id:From:Subject:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ak9XV7RHWqBpaiYhm02lGgjrBs55CG5IekDBa09oKV4=; b=NwwligxLL82E9p Ca+tnvMU3/uXbN8TRYYJztdsX2iY92qUfr06mb3dzlBqdh0GZSH+mu8yxwd26+iidJVtc5c/+PLHJ Dmxs9UtIgyKzizbITSm/TT9H7QNgVGyQDavIGDVoGPF5sXWjfeEw8nTeb0uPY2cMAGEZ7PpZlHkZX JcFgTNbYCZ3yUoS7XKgRCRM1ueQHswfDf02V/6KdtXZth9ek7yJ1/e/VTWYWL6zQoVrwsG+FSSF++ 0H6hU2wzOeC6HIMFF/5ZMPsF0RTQ9x6PAdUa8aG/CB7s4LtxyW2JI1jpnbN2kvQ1buBp8SA8EId52 Tj0wXsxAjwK/VAOJso0Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pJ47C-00D4un-Gs; Sat, 21 Jan 2023 03:00:22 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pJ47A-00D4tv-6o for linux-arm-kernel@lists.infradead.org; Sat, 21 Jan 2023 03:00:21 +0000 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 72E6762173; Sat, 21 Jan 2023 03:00:19 +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) MIME-Version: 1.0 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230120_190020_328692_FAC87A01 X-CRM114-Status: GOOD ( 10.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel