Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753136AbcKRKcI (ORCPT ); Fri, 18 Nov 2016 05:32:08 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33053 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751527AbcKRKcF (ORCPT ); Fri, 18 Nov 2016 05:32:05 -0500 MIME-Version: 1.0 In-Reply-To: <27516aeb-b8f9-dc38-4d01-d2a5c5cf44dd@microchip.com> References: <27516aeb-b8f9-dc38-4d01-d2a5c5cf44dd@microchip.com> From: Harini Katakam Date: Fri, 18 Nov 2016 16:02:03 +0530 Message-ID: Subject: Re: [RFC PATCH 2/2] net: macb: Add 64 bit addressing support for GEM To: Andrei Pistirica Cc: Rafal Ozieblo , Nicolas Ferre , "harini.katakam@xilinx.com" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1103 Lines: 29 tHi Andrei, >> Yes, Andre's version of Cadence does not ability to report have RX >> timestamp. >> The version I worked with did. This is the old series I sent: >> https://lkml.org/lkml/2015/9/11/92 >> But right now, i'm working on building on top of Andre's changes. > > > I'm addressing maintainer's feedback on both patches: > https://patchwork.kernel.org/patch/9310989/ > https://patchwork.kernel.org/patch/9310991/ > > I've done all suggested updates, except the numerous 64bit divisions in the > frequency adjustment callback. I've implemented a different algorithm which > uses 2 64bit division, but I couldn't find a way to use only 1. > > Also, I have a version with timecounter/cyclecounter which shows a much > better accuracy (less than 100ns level). In my opinion this could be a > better implementation. What is you opinion about this? Did you try it? > I did not try timecounter on Cadence IP versions later than r1p06. Because with sub ns precision in HW timestamp, that works better than SW cyclecounter. On older Zynq version, yes timecounter is used and is better. Regards, Harini