Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4042597pxb; Tue, 10 Nov 2020 06:39:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJx0TLAjPf8u8ijL3eXD4weQfX6JqTnC3/FzgdBlBt/W8xt1KJFnVnUTuhKrybXgTbj3y2My X-Received: by 2002:a17:906:4807:: with SMTP id w7mr19981320ejq.306.1605019151498; Tue, 10 Nov 2020 06:39:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605019151; cv=none; d=google.com; s=arc-20160816; b=zMRpTk/7SZ0DdL4IHEdUxDNlpMmnN6N7S0xmBLRd+mBAunX7rH/hCXUOm3lcYaGGDw O+T652GPR7JPRdJ8gGlc9X7tSRftO8CcD6pmBM+irnJTpDBNd34p/jLBq9j1ooZ8h6B/ cua0xmYeF/9IuA2+sFmeilyac5gds/jvMlNF2B2HU+Rr45TR1TPqn5c9waYJyjxkO9aR KkhrY2I7qTgadHDOOcUuFX38bcG5SGaRZjZnRMDbFC/7WGl7jzK3MH63C67Zg0UMKD// ZggrDNSgACYpk6+LO/+kvnSdpACi9KlE51WpJA2eLijto0YqIHcMaZiNIapb+wiCqBj4 PKiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:organization:message-id:date:subject:cc:to :from; bh=mWXO0TYE90mSOIw19C12xdBylWqSF+TlPy4beGdulcQ=; b=btVmO6JoncyaiUU4HeX0LoMlOFjnTI3R54G0Tse3XrwPQLuF8kbTzRl9y0x52T87pW XmxDeAckSLHlanZ8tQydLTZ2fNKqpuwMBgU5LKPp+f0ubp1Q8pIgho1HaopwIBoRfR9s N/wZZ4g8i3sSWV5HlLI7MGWq38TWlbrjUrgbLZN3yeLniuALA6DfU4sYRn8QRh4tt/AR +qg9d5kbnujD0jCe6k5C95SRtmpYmNZMKJbQmeIUrr52wLU6wqiGMCIbv8VUq6LECnFu LAjeEo/E5I6Y8vBEEING98Uc49Ye5l2tNJGfTQNbMyGxEbmDHFlVyJEoFNII39lS+LDg Dhyg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bg1si8396999ejb.63.2020.11.10.06.38.48; Tue, 10 Nov 2020 06:39:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730511AbgKJOh0 (ORCPT + 99 others); Tue, 10 Nov 2020 09:37:26 -0500 Received: from mailout05.rmx.de ([94.199.90.90]:36085 "EHLO mailout05.rmx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726721AbgKJOh0 (ORCPT ); Tue, 10 Nov 2020 09:37:26 -0500 Received: from kdin01.retarus.com (kdin01.dmz1.retloc [172.19.17.48]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout05.rmx.de (Postfix) with ESMTPS id 4CVr6p1WvBz9tQx; Tue, 10 Nov 2020 15:37:22 +0100 (CET) Received: from mta.arri.de (unknown [217.111.95.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by kdin01.retarus.com (Postfix) with ESMTPS id 4CVr6Y3mW3z2xbQ; Tue, 10 Nov 2020 15:37:09 +0100 (CET) Received: from n95hx1g2.localnet (192.168.54.16) by mta.arri.de (192.168.100.104) with Microsoft SMTP Server (TLS) id 14.3.487.0; Tue, 10 Nov 2020 15:36:03 +0100 From: Christian Eggers To: Vladimir Oltean CC: Richard Cochran , Florian Fainelli , Andrew Lunn , Vivien Didelot , Jakub Kicinski , Rob Herring , Helmut Grohne , Paul Barker , Codrin Ciubotariu , George McCollister , Marek Vasut , Tristram Ha , "David S . Miller" , Woojung Huh , "Microchip Linux Driver Support" , , , Subject: Re: [RFC PATCH net-next 7/9] net: dsa: microchip: ksz9477: add hardware time stamping support Date: Tue, 10 Nov 2020 15:36:02 +0100 Message-ID: <1909178.Ky26jPeFT0@n95hx1g2> Organization: Arnold & Richter Cine Technik GmbH & Co. Betriebs KG In-Reply-To: <20201110014234.b3qdmc2e74poawpz@skbuf> References: <20201019172435.4416-1-ceggers@arri.de> <5844018.3araiXeC39@n95hx1g2> <20201110014234.b3qdmc2e74poawpz@skbuf> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-IP: [192.168.54.16] X-RMX-ID: 20201110-153709-4CVr6Y3mW3z2xbQ-0@kdin01 X-RMX-SOURCE: 217.111.95.66 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday, 10 November 2020, 02:42:34 CET, Vladimir Oltean wrote: > Sorry for getting back late to you. It did not compute when I read your > email the first time around, then I let it sit for a while. > > On Thu, Nov 05, 2020 at 09:18:04PM +0100, Christian Eggers wrote: > > unfortunately I made a mistake when testing. Actually the timestamp *must* > > be moved from the correction field (negative) to the egress tail tag. > That doesn't sound very good at all. I think that is no drawback. It is implemented and works. > I have a simple question. Can your driver, when operating as a PTP > master clock, distribute a time in 2020 into your network? (you can > check with "phc_ctl /dev/ptp0 get") # phc_ctl /dev/ptp2 get phc_ctl[2141.093]: clock time is 1605018671.788481458 or Tue Nov 10 14:31:11 2020 The KSZ PTP clock has 32 bit seconds (and 30 bit nanoseconds). I hope I can send the new series tonight. Had today no 5 minutes without the telephone ringing...