From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755576AbdABLcE (ORCPT ); Mon, 2 Jan 2017 06:32:04 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:34496 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751307AbdABLcC (ORCPT ); Mon, 2 Jan 2017 06:32:02 -0500 Date: Mon, 2 Jan 2017 12:31:55 +0100 From: Richard Cochran To: Rafal Ozieblo Cc: Andrei Pistirica , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "davem@davemloft.net" , "nicolas.ferre@atmel.com" , "harinikatakamlinux@gmail.com" , "harini.katakam@xilinx.com" , "punnaia@xilinx.com" , "michals@xilinx.com" , "anirudh@xilinx.com" , "boris.brezillon@free-electrons.com" , "alexandre.belloni@free-electrons.com" , "tbultel@pixelsurmer.com" Subject: Re: [RFC PATCH net-next v4 1/2] macb: Add 1588 support in Cadence GEM. Message-ID: <20170102113155.GA16373@localhost.localdomain> References: <1481720175-12703-1-git-send-email-andrei.pistirica@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 02, 2017 at 09:36:10AM +0000, Rafal Ozieblo wrote: > According Cadence Hardware team: > "It is just that some customers prefer to have the time in the descriptors as that is provided per frame. > The registers are simply overwritten when a new event frame is transmitted/received and so software could miss it." > The question is are you sure that you read timestamp for current frame? (not for the next frame). AFAICT, having the time stamp in the descriptor is not universally supported. Looking at the Xilinx Zynq 7000 TRM, I can't find any mention of this. This Cadence IP core is a complete disaster. Unless someone can tell us how this IP works in all of its incarnations, this series is going nowhere. Thanks, Richard