kernel_optimize_test/drivers/pci/pcie
Bjorn Helgaas 8b2ec318ee PCI: Add PTM clock granularity information
The PTM Control register (PCIe r3.1, sec 7.32.3) contains an Effective
Granularity field:

  This provides information relating to the expected accuracy of the PTM
  clock, but does not otherwise affect the PTM mechanism.

Set the Effective Granularity based on the PTM Root and any intervening PTM
Time Sources.

This does not set Effective Granularity for Root Complex Integrated
Endpoints because I don't know how to figure out clock granularity for
them.  The spec says:

  ... system software must set [Effective Granularity] to the value
  reported in the Local Clock Granularity field by the associated PTM
  Time Source.

but I don't know how to identify the associated PTM Time Source.  Normally
it's the upstream bridge, but an integrated endpoint has no upstream
bridge.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2016-08-25 08:32:34 -05:00
..
aer PCI changes for the v4.6 merge window: 2016-03-16 14:45:55 -07:00
aspm.c PCI/ASPM: Remove redundant check of pcie_set_clkpm 2016-06-10 19:07:03 -05:00
Kconfig PCI: Add Precision Time Measurement (PTM) support 2016-08-15 13:44:08 -05:00
Makefile PCI: Add Precision Time Measurement (PTM) support 2016-08-15 13:44:08 -05:00
pcie-dpc.c PCI: Bind DPC to Root Ports as well as Downstream Ports 2016-07-25 12:45:19 -05:00
pme.c PCI/PME: Restructure pcie_pme_suspend() to prevent compiler warning 2016-02-05 16:28:03 -06:00
portdrv_acpi.c Merge branches 'pci/dpc', 'pci/resource' and 'pci/thunderbolt' into next 2016-05-03 11:49:21 -05:00
portdrv_bus.c
portdrv_core.c PCI: Add runtime PM support for PCIe ports 2016-06-13 14:58:53 -05:00
portdrv_pci.c PCI: Add runtime PM support for PCIe ports 2016-06-13 14:58:53 -05:00
portdrv.h Merge branches 'pci/dpc', 'pci/resource' and 'pci/thunderbolt' into next 2016-05-03 11:49:21 -05:00
ptm.c PCI: Add PTM clock granularity information 2016-08-25 08:32:34 -05:00