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 X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F48FC28CC3 for ; Fri, 7 Jun 2019 09:43:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 65505212F5 for ; Fri, 7 Jun 2019 09:43:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="RIe7cDSE" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728166AbfFGJnT (ORCPT ); Fri, 7 Jun 2019 05:43:19 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:38091 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726947AbfFGJnS (ORCPT ); Fri, 7 Jun 2019 05:43:18 -0400 Received: by mail-ed1-f65.google.com with SMTP id g13so2124944edu.5; Fri, 07 Jun 2019 02:43:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=J7QcgrWkSAFsej/rko9HTCODh2HodcbGMIhhGvJpZMY=; b=RIe7cDSEB9dVHPlF58YojVZV76Cv64m0YUIrrb2RtjbA2NhRxdUbeoOc5Lug62nQdT P+PBlzQgRRZmBPe7xoP25eQuHyl+ZRqaNUDnWoxi6CapwAfxfw3UkriVxLB8QlqwFLcS vbNhOA2oJ9fVszRJ5bDIZ4bhgvw+jdjFCqv71APjLyT45uN2mO+5OHCC/0gz26UmWz13 UibvghNEVCBacIgpyRKvw9jOc2Tyh9LyVhKUDaOIM5fZ+SeL2a5LN7ahUCY/B6G9lcXj Ix/bh3b6ty+8EizB31p5XUiWksb2sCSt4BIPAUwwFBv4QANkkLLpFg6P4zeGluomXtd2 aI+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=J7QcgrWkSAFsej/rko9HTCODh2HodcbGMIhhGvJpZMY=; b=CzDybA9yirvrthihgUghz5uiJ+bpzcw42s7seduM+b/XO3Z71j3hJWuhZFtR39YRXA dJvH4qDDVeTRs6ZLsmaHWVY7EKA6G0DXHUMxm6fOc5+psUPA3xLjzgOjVFav9Hlrwt/F Mee7FjQoez8FBtat0BH92z8Rnlv+Uhmp3Btcxxk3J9cLKNMZXmo9s44uxeanlmUI1AZg WHnXpY23Zo8v/CoOSJVAR59ZpgK5znO4m9hYnUQbRfsKc7R/ivVcco2M6SiiqQ8tNQXF ea96gUwSI8TmbUKy6dhPzUbQDPSB8kASlYuadVRyB0WUfJnvc3bokIUUo17JxVlYCop8 Idtw== X-Gm-Message-State: APjAAAVRyHPdLzYo1BvWTxMx7Rspq28LhJdEVKZ4hdh3s6rpb8I5ZasQ ru3NcORoVvsqSsrRZl++CdzKx/pQuw5Lj3Fs+ak= X-Google-Smtp-Source: APXvYqwrsZSk/YdKpS4BMDFb0IJglKZzZn5HteH5JVRjUk0BOybK3YN3CZistVbvLYAlDL0TMHBMBkC59SkhcrIAuks= X-Received: by 2002:a17:906:4e8f:: with SMTP id v15mr14429327eju.47.1559900596768; Fri, 07 Jun 2019 02:43:16 -0700 (PDT) MIME-Version: 1.0 References: <20190604170756.14338-1-olteanv@gmail.com> <20190604.202258.1443410652869724565.davem@davemloft.net> <20190605174547.b4rwbfrzjqzujxno@localhost> <20190606031135.6lyydjb6hqfeuzt3@localhost> <20190607033242.expuqccmzhxdkwzq@localhost> In-Reply-To: <20190607033242.expuqccmzhxdkwzq@localhost> From: Vladimir Oltean Date: Fri, 7 Jun 2019 12:43:05 +0300 Message-ID: Subject: Re: [PATCH v3 net-next 00/17] PTP support for the SJA1105 DSA driver To: Richard Cochran Cc: David Miller , Florian Fainelli , Vivien Didelot , Andrew Lunn , John Stultz , Thomas Gleixner , Stephen Boyd , lkml , netdev Content-Type: text/plain; charset="UTF-8" Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, 7 Jun 2019 at 06:32, Richard Cochran wrote: > > On Thu, Jun 06, 2019 at 04:40:19PM +0300, Vladimir Oltean wrote: > > Plain and simply because it doesn't work very well. > > Even phc2sys from the system clock to the hardware (no timestamps > > involved) has trouble staying put (under 1000 ns offset). > > And using the hardware-corrected timestamps triggers a lot of clockchecks. > > It sounds like a bug in reading or adjusting the HW clock. Is the HW > clock stable when you don't adjust its frequency? How can I tell that for sure? > > Thanks, > Richard