From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932250AbbJMBr4 (ORCPT ); Mon, 12 Oct 2015 21:47:56 -0400 Received: from mga03.intel.com ([134.134.136.65]:7731 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932097AbbJMBrw (ORCPT ); Mon, 12 Oct 2015 21:47:52 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,676,1437462000"; d="scan'208";a="791107311" From: "Christopher S. Hall" To: jeffrey.t.kirsher@intel.com, hpa@zytor.com, mingo@redhat.com, tglx@linutronix.de, john.stultz@linaro.org, peterz@infradead.org Cc: x86@kernel.org, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kevin.b.stanton@intel.com, "Christopher S. Hall" Subject: [PATCH v4 0/4] Patchset enabling hardware based cross-timestamps for next gen Intel platforms Date: Mon, 12 Oct 2015 11:45:18 -0700 Message-Id: <1444675522-4198-1-git-send-email-christopher.s.hall@intel.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Modern Intel hardware adds an Always Running Timer (ART) that allows the network and audio device clocks to precisely cross timestamp the device clock with the system clock. This allows a precise correlation of the device time and system time. v4 adds a history which enables the audio DSP (a "slow" device) to perform cross-timestamping. Christopher S. Hall (4): Produce system time from correlated clocksource Always running timer correlated clocksource Add PTP_SYS_OFFSET_PRECISE for driver crosstimestamping Adds hardware supported cross timestamp Documentation/ptp/testptp.c | 6 +- arch/x86/include/asm/cpufeature.h | 2 +- arch/x86/include/asm/tsc.h | 2 + arch/x86/kernel/tsc.c | 48 ++++++- drivers/net/ethernet/intel/e1000e/defines.h | 5 + drivers/net/ethernet/intel/e1000e/ptp.c | 77 +++++++++++ drivers/net/ethernet/intel/e1000e/regs.h | 4 + drivers/ptp/ptp_chardev.c | 26 ++++ include/linux/clocksource.h | 33 +++++ include/linux/ptp_clock_kernel.h | 6 + include/linux/timekeeping.h | 4 + include/uapi/linux/ptp_clock.h | 12 +- kernel/time/timekeeping.c | 203 +++++++++++++++++++++++++++- 13 files changed, 418 insertions(+), 10 deletions(-) -- 2.1.4