Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754277AbbGIWBW (ORCPT ); Thu, 9 Jul 2015 18:01:22 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:45902 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752545AbbGIWBL (ORCPT ); Thu, 9 Jul 2015 18:01:11 -0400 Date: Thu, 09 Jul 2015 15:01:10 -0700 (PDT) Message-Id: <20150709.150110.1865960968554925450.davem@davemloft.net> To: christopher.s.hall@intel.com Cc: richardcochran@gmail.com, tglx@linutronix.de, john.stultz@linaro.org, john.ronciak@intel.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v3] Add support for driver cross-timestamp to PTP_SYS_OFFSET ioctl From: David Miller In-Reply-To: <1436388401-32168-1-git-send-email-christopher.s.hall@intel.com> References: <1436388401-32168-1-git-send-email-christopher.s.hall@intel.com> X-Mailer: Mew version 6.6 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 09 Jul 2015 15:01:11 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 882 Lines: 20 From: Christopher Hall Date: Wed, 8 Jul 2015 13:46:41 -0700 > This patch allows system and device time ("cross-timestamp") to be > performed by the driver. Currently, the cross-timestamping is performed > in the PTP_SYS_OFFSET ioctl. The PTP clock driver reads gettimeofday() > and the gettime64() callback provided by the driver. The cross-timestamp > is best effort where the latency between the capture of system time > (getnstimeofday()) and the device time (driver callback) may be > significant. Please resubmit this once there is an actual user of this new facility, not beforehand. Thank you. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/