Message ID | 20250310111016.859445-9-cassel@kernel.org (mailing list archive) |
---|---|
Headers | show |
Series | pci_endpoint_test: Add support for PCITEST_IRQ_TYPE_AUTO | expand |
Hello, > For the PCITEST_WRITE, PCITEST_READ, and PCITEST_COPY test cases, > tools/testing/selftests/pci_endpoint/pci_endpoint_test.c unconditionally > uses MSIs, even for EPC drivers that do not support MSI. > (E.g. an EPC could support only INTx, or only MSI-X.) > > Thus, improve tools/testing/selftests/pci_endpoint/pci_endpoint_test.c to > use any supported IRQ type (by introducing a new IRQ type > PCITEST_IRQ_TYPE_AUTO). > > Note that it is only the PCITEST_WRITE, PCITEST_READ, and PCITEST_COPY test > cases that will use this new IRQ type. (PCITEST_MSI, PCITEST_MSIX, and > PCITEST_LEGACY_IRQ actually test a specific IRQ type, so these test cases > must still use a specific IRQ type.) Applied to endpoint-test, thank you! Krzysztof