misc: Add host side PCI driver for PCI test function device
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 27 Mar 2017 09:45:14 +0000 (15:15 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 28 Apr 2017 15:23:19 +0000 (10:23 -0500)
commit2c156ac71c6b2518f3d589190f2a8872a8764faf
tree88a3121b9ea107a6bc9773c601f8feb68811d1dc
parent984c307878f8924d743c419c79fdebbc19f1285e
misc: Add host side PCI driver for PCI test function device

Add PCI endpoint test driver that can verify base address register, legacy
interrupt/MSI interrupt and read/write/copy buffers between host and
device. The corresponding pci-epf-test function driver should be used on
the EP side.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/pci_endpoint_test.c [new file with mode: 0644]
include/uapi/linux/Kbuild
include/uapi/linux/pcitest.h [new file with mode: 0644]