OSDN Git Service

pci_endpoint_test: Add 2 ioctl commands
authorGustavo Pimentel <gustavo.pimentel@synopsys.com>
Thu, 19 Jul 2018 08:32:20 +0000 (10:32 +0200)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 19 Jul 2018 10:46:57 +0000 (11:46 +0100)
commite03327122e2c8e6ae4565ef5b3d3cbe4364546a1
tree99dfa547dc2e84beac39eeea61192cc80ba46004
parentc2e00e31087e58f6c49b90b4702fc3df4fad6a83
pci_endpoint_test: Add 2 ioctl commands

Add MSI-X support and update driver documentation accordingly.

Add 2 new IOCTL commands:
 - Allow to reconfigure driver IRQ type in runtime.
 - Allow to retrieve current driver IRQ type configured.

Add IRQ type validation before executing the READ/WRITE/COPY tests.

Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Documentation/ioctl/ioctl-number.txt
Documentation/misc-devices/pci-endpoint-test.txt
drivers/misc/pci_endpoint_test.c
include/uapi/linux/pcitest.h