diff options
| author | Gustavo Pimentel <gustavo.pimentel@synopsys.com> | 2018-07-19 04:32:20 -0400 |
|---|---|---|
| committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2018-07-19 06:46:57 -0400 |
| commit | e03327122e2c8e6ae4565ef5b3d3cbe4364546a1 (patch) | |
| tree | 99dfa547dc2e84beac39eeea61192cc80ba46004 /include/uapi/linux/pcitest.h | |
| 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 'include/uapi/linux/pcitest.h')
| -rw-r--r-- | include/uapi/linux/pcitest.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/pcitest.h b/include/uapi/linux/pcitest.h index d746fb159dcd..cbf422e56696 100644 --- a/include/uapi/linux/pcitest.h +++ b/include/uapi/linux/pcitest.h | |||
| @@ -17,5 +17,7 @@ | |||
| 17 | #define PCITEST_READ _IOW('P', 0x5, unsigned long) | 17 | #define PCITEST_READ _IOW('P', 0x5, unsigned long) |
| 18 | #define PCITEST_COPY _IOW('P', 0x6, unsigned long) | 18 | #define PCITEST_COPY _IOW('P', 0x6, unsigned long) |
| 19 | #define PCITEST_MSIX _IOW('P', 0x7, int) | 19 | #define PCITEST_MSIX _IOW('P', 0x7, int) |
| 20 | #define PCITEST_SET_IRQTYPE _IOW('P', 0x8, int) | ||
| 21 | #define PCITEST_GET_IRQTYPE _IO('P', 0x9) | ||
| 20 | 22 | ||
| 21 | #endif /* __UAPI_LINUX_PCITEST_H */ | 23 | #endif /* __UAPI_LINUX_PCITEST_H */ |
