From: "Yong, Jonathan" <jonathan.yong@intel.com>
To: linux-pci@vger.kernel.org
Cc: jonathan.yong@intel.com, bhelgaas@google.com
Subject: [PATCH v5] PCI: PTM Driver
Date: Wed, 11 May 2016 08:47:25 +0000 [thread overview]
Message-ID: <1462956446-27361-1-git-send-email-jonathan.yong@intel.com> (raw)
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
next reply other threads:[~2016-05-11 8:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-11 8:47 Yong, Jonathan [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1462956446-27361-1-git-send-email-jonathan.yong@intel.com \
--to=jonathan.yong@intel.com \
--cc=bhelgaas@google.com \
--cc=linux-pci@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).