- Clear pci-epf-test dma_chan_rx, not dma_chan_tx, after freeing dma_chan_rx (Mohamed Khalfella) - Correct the DMA MEMCPY test so it doesn't fail if the Endpoint supports both DMA_PRIVATE and DMA_MEMCPY (Manivannan Sadhasivam) - Add pci-epf-test and pci_endpoint_test support for capabilities (Niklas Cassel) - Add Endpoint test for consecutive BARs (Niklas Cassel) - Remove redundant comparison from Endpoint BAR test because a > 1MB BAR can always be exactly covered by iterating with a 1MB buffer (Hans Zhang) - Correct the PCI Endpoint test IOCTL return value (Manivannan Sadhasivam) - Move PCI Endpoint tests from tools/pci to Kselftests (Manivannan Sadhasivam) - Convert PCI Endpoint tests to the Kselftest framework (Manivannan Sadhasivam) * pci/endpoint-test: selftests: pci_endpoint: Migrate to Kselftest framework selftests: Move PCI Endpoint tests from tools/pci to Kselftests misc: pci_endpoint_test: Fix IOCTL return value misc: pci_endpoint_test: Remove redundant 'remainder' test misc: pci_endpoint_test: Add consecutive BAR test misc: pci_endpoint_test: Add support for capabilities PCI: endpoint: pci-epf-test: Add support for capabilities PCI: endpoint: pci-epf-test: Fix check for DMA MEMCPY test PCI: endpoint: pci-epf-test: Set dma_chan_rx pointer to NULL on error
Showing the changes to include/uapi/linux (1 of 14 files). Show all
Unified · Split
| @@ -20,6 +20,7 @@ · 19 unmodified lines | |||
| 20 | #define PCITEST_MSIX _IOW('P', 0x7, int) | 20 | #define PCITEST_MSIX _IOW('P', 0x7, int) |
| 21 | #define PCITEST_SET_IRQTYPE _IOW('P', 0x8, int) | 21 | #define PCITEST_SET_IRQTYPE _IOW('P', 0x8, int) |
| 22 | #define PCITEST_GET_IRQTYPE _IO('P', 0x9) | 22 | #define PCITEST_GET_IRQTYPE _IO('P', 0x9) |
| 23 | #define PCITEST_BARS _IO('P', 0xa) | ||
| 23 | #define PCITEST_CLEAR_IRQ _IO('P', 0x10) | 24 | #define PCITEST_CLEAR_IRQ _IO('P', 0x10) |
| 24 | 25 | ||
| 25 | #define PCITEST_FLAGS_USE_DMA 0x00000001 | 26 | #define PCITEST_FLAGS_USE_DMA 0x00000001 |