Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp354043ybl; Wed, 21 Aug 2019 20:52:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqz5OWItJd+tDfg0pADnXjSPirqVWjb33TXXlI+1bo/QbDiZkUOP843ayJauJCaIQKPn7yCn X-Received: by 2002:a62:f208:: with SMTP id m8mr38055012pfh.108.1566445927368; Wed, 21 Aug 2019 20:52:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566445927; cv=none; d=google.com; s=arc-20160816; b=V75dm2QiM89fd1ARqSx6KoxJRBBlIzEu9Vs7naPpRsOrc/w23GQ8S02KqRlRUnFk6B +HXIZ9nzs55lOkGXhYZZWmrXx/feYIn5kcVKim9LktEBcmYzNWoOd4PB1lbhzBVgDqIG Mtws+efcr9MpY8EwmDBR7dG03F5Ode6vDqvVqfbP/R8ptriTxEoa2/OGmEN3piXhY+bO MIqfOttJcVwPtn7hhrAYYDw/K3l7MBNdSr4KwliMJ1eV9gNagtaqNJeujcaD32Uule2T MkfK7sp97FrohEZXLXtmOxsd7ldAvUy7I6SQ6hv99TpTVEaqfuK3ioqOhixlj7VXCqjY acKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=e8Vg7y/Iv8OR3keMbR4Ip/9hIzEPQraGyZBSob3V5v4=; b=fVzPCqtVL2Xi6/4LC0j9CZxcsgw/NIGlrh9zcCNdTFQyC1uML22fcyTSc2oSDeI1AT PuGGU3sLyplTR37wFo/ixfhxgejNXa3vHXm63AZpA6jMkOWsHoU9nqTdSXEVfZtCs9lJ 5MsGVvAM9PikFDDD1kfu5pBxxpmaUNlRT7DTVu4qpROwSapIRsIEU0+6ToDueatSEdcv 3k8SuHDY5egIuUIeOIsTOWYB+ZjXqYzDH4fGydOm/125D/fzx0tQAS7raMJsGfRykQdU FfkJpRCI84OkGtiIZfO5Hg4Prdru/RVYPREkNr7pRYsvmnQW2hg54mxGgr8wkn8QN2z4 b2Xw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ck8si1387631pjb.16.2019.08.21.20.51.52; Wed, 21 Aug 2019 20:52:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730762AbfHVDtu (ORCPT + 99 others); Wed, 21 Aug 2019 23:49:50 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:37838 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728470AbfHVDtu (ORCPT ); Wed, 21 Aug 2019 23:49:50 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 4FC92151A20BB; Wed, 21 Aug 2019 20:49:49 -0700 (PDT) Date: Wed, 21 Aug 2019 20:49:48 -0700 (PDT) Message-Id: <20190821.204948.907885435812375741.davem@davemloft.net> To: h.feurstein@gmail.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, andrew@lunn.ch, richardcochran@gmail.com, mlichvar@redhat.com, vivien.didelot@gmail.com, f.fainelli@gmail.com, hkallweit1@gmail.com, olteanv@gmail.com, fugang.duan@nxp.com Subject: Re: [PATCH net-next v3 0/4] Improve phc2sys precision for mv88e6xxx switch in combination with imx6-fec From: David Miller In-Reply-To: <20190820084833.6019-1-hubert.feurstein@vahle.at> References: <20190820084833.6019-1-hubert.feurstein@vahle.at> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 21 Aug 2019 20:49:49 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hubert Feurstein Date: Tue, 20 Aug 2019 10:48:29 +0200 > From: Hubert Feurstein > > Changelog: > v3: mv88e6xxx_smi_indirect_write: forward ptp_sts only on the last write > Copied Miroslav Lichvar because of PTP offset compensation patch > v2: Added patch for PTP offset compensation > Removed mdiobus_write_sts as there was no user > Removed ptp_sts_supported-boolean and introduced flags instead > > With this patchset the phc2sys synchronisation precision improved to +/-555ns on > an IMX6DL with an MV88E6220 switch attached. > > This patchset takes into account the comments from the following discussions: > - https://lkml.org/lkml/2019/8/2/1364 > - https://lkml.org/lkml/2019/8/5/169 > > Patch 01 adds the required infrastructure in the MDIO layer. > Patch 02 adds additional PTP offset compensation. > Patch 03 adds support for the PTP_SYS_OFFSET_EXTENDED ioctl in the mv88e6xxx driver. > Patch 04 adds support for the PTP system timestamping in the imx-fec driver. It looks like there is still some active discussion about these changes and there will likely be another spin.