lkml.org 
[lkml]   [2016]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v6 0/3] PCI: Precision Time Measurement support
On Mon, Jun 13, 2016 at 02:05:26PM -0500, Bjorn Helgaas wrote:
> This is a slightly different proposal for the PTM support Jonathan
> proposed here:
>
> http://lkml.kernel.org/r/1462956446-27361-2-git-send-email-jonathan.yong@intel.com
>
> I split this into three pieces mostly for ease in reviewing. They
> could all be squashed:
>
> - Enable PTM in root ports and switches automatically at boot
> - Enable PTM in endpoints when requested by driver
> - Add clock granularity information
>
> I have some open questions about how PTM works on Root Complex
> Integrated Endpoints and whether we should enable it automatically
> even without a driver request. And I probably left out some details
> of the clock granularity computation, so treat this as more of an RFC
> than anything.
>
> Bjorn
>
> ---
>
> Bjorn Helgaas (2):
> PCI: Add pci_enable_ptm() for drivers to enable PTM on endpoints
> PCI: Add PTM clock granularity information
>
> Jonathan Yong (1):
> PCI: Add Precision Time Measurement (PTM) support
>
>
> drivers/pci/pci.h | 6 ++
> drivers/pci/pcie/Kconfig | 12 ++++
> drivers/pci/pcie/Makefile | 1
> drivers/pci/pcie/ptm.c | 140 +++++++++++++++++++++++++++++++++++++++++
> drivers/pci/probe.c | 3 +
> include/linux/pci.h | 13 ++++
> include/uapi/linux/pci_regs.h | 12 +++-
> 7 files changed, 186 insertions(+), 1 deletion(-)
> create mode 100644 drivers/pci/pcie/ptm.c

These are on pci/ptm and queued for v4.9.

\
 
 \ /
  Last update: 2016-09-17 09:57    [W:0.899 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site