diff options
author | Gustavo Pimentel <gustavo.pimentel@synopsys.com> | 2018-07-19 10:32:20 +0200 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2018-07-19 12:46:57 +0200 |
commit | e03327122e2c8e6ae4565ef5b3d3cbe4364546a1 (patch) | |
tree | 99dfa547dc2e84beac39eeea61192cc80ba46004 /Documentation/misc-devices | |
parent | pci-epf-test/pci_endpoint_test: Add MSI-X support (diff) | |
download | linux-e03327122e2c8e6ae4565ef5b3d3cbe4364546a1.tar.xz linux-e03327122e2c8e6ae4565ef5b3d3cbe4364546a1.zip |
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')
-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 |