linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5] PCI: PTM Driver
@ 2016-05-11  8:47 Yong, Jonathan
  2016-05-11  8:47 ` [PATCH v5] PCI: PTM preliminary implementation Yong, Jonathan
  2016-05-24  3:59 ` [PATCH v5] PCI: PTM Driver Yong, Jonathan
  0 siblings, 2 replies; 11+ messages in thread
From: Yong, Jonathan @ 2016-05-11  8:47 UTC (permalink / raw)
  To: linux-pci; +Cc: jonathan.yong, bhelgaas

Hello LKML,

This is a preliminary implementation of the PTM support driver. This driver
has only been tested against a virtual PCI bus since there are no known
endpoints utilizing it yet.

Please CC me as I am not subscribed to the list.
Thanks.


Changes since v1:
* Moved register constants to pci_regs.h
* Use pci_dev to hold PTM status
* PTM initialization now done top-down hierarchy wise.

Changes since v2:
* Added missing void return in the pci_ptm_init inline stub.

Changes since v3:
* Clearing CONFIG_PCIE_PTM now completely prevents the driver from being built.
* Renamed pci_*_ptm_sysfs to pcie_ptm_*_sysfs_dev_files for consistency.
* Removed useless prototypes.
* Driver no longer checks PTM capability version
* PCI_EXT_CAP_ID_MAX updated to include PTM (0x1F)

Changes since v4:
* Using pci=noptm kernel parameter now disables ptm activation like other pci features.
* Module param to disable ptm driver at runtime removed.
* Sysfs file entries removed.

Yong, Jonathan (1):
  PCI: PTM preliminary implementation

 drivers/pci/pci.c             |   2 +
 drivers/pci/pci.h             |  13 ++++
 drivers/pci/pcie/Kconfig      |  10 +++
 drivers/pci/pcie/Makefile     |   3 +
 drivers/pci/pcie/pcie_ptm.c   | 170 ++++++++++++++++++++++++++++++++++++++++++
 drivers/pci/probe.c           |   3 +
 include/linux/pci.h           |  13 ++++
 include/uapi/linux/pci_regs.h |  13 +++-
 8 files changed, 226 insertions(+), 1 deletion(-)
 create mode 100644 drivers/pci/pcie/pcie_ptm.c

-- 
2.7.3


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-06-18 18:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-11  8:47 [PATCH v5] PCI: PTM Driver Yong, Jonathan
2016-05-11  8:47 ` [PATCH v5] PCI: PTM preliminary implementation Yong, Jonathan
2016-06-12 22:18   ` Bjorn Helgaas
2016-06-13  2:59     ` Yong, Jonathan
2016-06-13 13:45       ` Bjorn Helgaas
2016-06-13 18:56   ` Bjorn Helgaas
2016-06-14  1:32     ` Yong, Jonathan
2016-06-18 18:15       ` Bjorn Helgaas
2016-05-24  3:59 ` [PATCH v5] PCI: PTM Driver Yong, Jonathan
2016-05-31  0:17   ` Yong, Jonathan
2016-06-09  6:32     ` Yong, Jonathan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).