diff options
author | Gustavo Pimentel | 2018-07-19 10:32:20 +0200 |
---|---|---|
committer | Lorenzo Pieralisi | 2018-07-19 11:46:57 +0100 |
commit | e03327122e2c8e6ae4565ef5b3d3cbe4364546a1 (patch) | |
tree | 99dfa547dc2e84beac39eeea61192cc80ba46004 /Documentation/misc-devices/pci-endpoint-test.txt | |
parent | c2e00e31087e58f6c49b90b4702fc3df4fad6a83 (diff) |
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>
Diffstat (limited to 'Documentation/misc-devices/pci-endpoint-test.txt')
-rw-r--r-- | Documentation/misc-devices/pci-endpoint-test.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/misc-devices/pci-endpoint-test.txt b/Documentation/misc-devices/pci-endpoint-test.txt index fdfa0f66d3d0..58ccca4416b1 100644 --- a/Documentation/misc-devices/pci-endpoint-test.txt +++ b/Documentation/misc-devices/pci-endpoint-test.txt @@ -28,6 +28,9 @@ ioctl to be tested should be passed as argument. PCITEST_MSIX: Tests message signalled interrupts. The MSI-X number to be tested should be passed as argument. + PCITEST_SET_IRQTYPE: Changes driver IRQ type configuration. The IRQ type + should be passed as argument (0: Legacy, 1:MSI, 2:MSI-X). + PCITEST_GET_IRQTYPE: Gets driver IRQ type configuration. PCITEST_WRITE: Perform write tests. The size of the buffer should be passed as argument. PCITEST_READ: Perform read tests. The size of the buffer should be passed |