Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3653466pxb; Mon, 9 Nov 2020 17:44:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJzDWC6b0VdxDUmkej19SAhiqnREATYakT6xIsCTIrtui0NP6UKsIEiSZD6mEfg9v11kBgtX X-Received: by 2002:a50:ed96:: with SMTP id h22mr18081147edr.336.1604972677431; Mon, 09 Nov 2020 17:44:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604972677; cv=none; d=google.com; s=arc-20160816; b=rBbT4tsvLMkJu+2CkUBXWSJ31IIMib0myB0PTbBwnm21VwsA2v84RSsqPDyMCKI631 h8rggMkYS7bsi0qF2WuFLUXWxDbMeoGjeDCzj4KlUc135ETJrtWQ27nUfZ03STPulJtn PhB7czKWkjS2STJ2J4v/tEJBGKJUwuz41NGCqf72e/Huakrqnn961mSOFNQRTmE3GLXC p4Dmbzvzx75nv/PtUerUydfXzr/jyIGVRMQ5p/vnHVM2ku7h8NCQ21HrAMwaZ6DXSf7Y mvsu1s8FeV2id5Wl7UczLvWjV+JKOQ8c3RMYX6/Gxw11g6CIlGGBmhD/PmtnYSw5fkm9 Vj8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=2XBv+bau2T0tT0YMQijH/9j+qP/ondesiGiFE1FM62k=; b=UTL1SnHU3jb/IvFNNq5G2rmnCrxvOxp0TeAQw3p/VsmQUrcTW6hRnb5EidryQhZyJ7 12lh00LMZxBy8Czwb501iR4I0FWQzZCTnWC9KrHPMi0N8XYL0YgYNyXcD9yDYlbERNbX yQ+qpC5wu67y30Os3bhIGswte69G6qW/ebhYhAJqjkMcewEwJMiS3xUgDZIw8QX7JSyI 7og2F9fOxbAFA/Io/2st5PpcEIL/Gx97dIPWzMToWvicEqVrNxKbZP8ewZ4W6on5VBbc szIRSrBOAP8TdxU6FH4m/HT1rLIokM2yvvqv7xhngYaMUpgfuYxCRD3mf3aY7cJ1+1Rn 41EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WgSKLe5O; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lj26si7916900ejb.663.2020.11.09.17.44.14; Mon, 09 Nov 2020 17:44:37 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WgSKLe5O; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731438AbgKJBmi (ORCPT + 99 others); Mon, 9 Nov 2020 20:42:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730348AbgKJBmi (ORCPT ); Mon, 9 Nov 2020 20:42:38 -0500 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DD37C0613CF; Mon, 9 Nov 2020 17:42:38 -0800 (PST) Received: by mail-ej1-x641.google.com with SMTP id s25so15151710ejy.6; Mon, 09 Nov 2020 17:42:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=2XBv+bau2T0tT0YMQijH/9j+qP/ondesiGiFE1FM62k=; b=WgSKLe5O46a5WSSuVg6p3+qRbAsRyVdFTkrCZMSDa7rKQKfscWPSe40n/5PCYI/Jwa Fh9fSDw5PJmMMqbNuZkfTPbYs6UVhBq1n24uSUfsm2028DEpjnDDhO9AUQEp7aROmKz0 J1neQCD2dYSL6v6qql+r7TsOaDphXTK1A10o944gJLfgIZcrHWJooSjVvDJcEFdwnbc3 crhGU5EOi/t44dWaySv9Kwz29/Ko49uunvDTGLrDSOS4rXtS+253H+jqF/htrQtDeQ02 a3M/zwA7WYmOOvCpQhmQX3Nuyg2xCM4InfvzHOUskqD4Q4kLmPg8CmgQYL8s1lHjUL6w m5FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=2XBv+bau2T0tT0YMQijH/9j+qP/ondesiGiFE1FM62k=; b=GSP1bFx/5RGGCsmS8AjQShTfwRraBkXGpygPIXrmx2JCQ7Xoi+wTw1cGDb+BoCgueL 6bd6WwsV9mpZ4plzR9ArO9TWgWfDuEdRi90NOS2SK9Cgev1IlaJ41i1WnkoSshGWJUlS tAtSzD9gY4tGxEZBYHy1hsR0TChgDC8gH9kVi776WUAPYhFjQNuchn7X14m1Rj3SRbSQ lHWqLqXf7wjZ1VUvqnhe+Dx6g/gQO+h9d516Ru0M/6dnofiD+fp9ZCsLxluRAyKmEL0A 6MEo9PylAQnA+6g3o2+/SY4k6SNE9jsyluUjJl+vgxe4A7xdKU+JuoVsijzaIsuhqz54 KSKw== X-Gm-Message-State: AOAM533I7wQnxF8jBxqLnC7oD52gWuErDm6pW88HDWuOj7eJQfqMf/Dp L7e/55+wcW3zNo+/K6GChnc= X-Received: by 2002:a17:906:a14c:: with SMTP id bu12mr18306597ejb.444.1604972556902; Mon, 09 Nov 2020 17:42:36 -0800 (PST) Received: from skbuf ([188.25.2.177]) by smtp.gmail.com with ESMTPSA id o31sm9673734edd.94.2020.11.09.17.42.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 17:42:36 -0800 (PST) Date: Tue, 10 Nov 2020 03:42:34 +0200 From: Vladimir Oltean To: Christian Eggers 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 , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH net-next 7/9] net: dsa: microchip: ksz9477: add hardware time stamping support Message-ID: <20201110014234.b3qdmc2e74poawpz@skbuf> References: <20201019172435.4416-1-ceggers@arri.de> <2541271.Km786uMvHt@n95hx1g2> <20201022113243.4shddtywgvpcqq6c@skbuf> <5844018.3araiXeC39@n95hx1g2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5844018.3araiXeC39@n95hx1g2> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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")