[PATCH v2 0/2] tcpi refactoring
Andrea Cervesato <[email protected]> Thu, 06 Aug 2026 10:10:35 +0200
| Newsgroups | gmane.linux.ltp |
|---|---|
| Message-ID | <[email protected]> |
Rewrite the tcpi test so we use the new LTP API. - rewrite kernel module - rewrite LTP test - merge kernel module and LTP test in the same folder Signed-off-by: Andrea Cervesato <andrea.cervesato-IBi9RG/[email protected]> --- Changes in v2: - fix commit tag - check that device exists - skip PCI_DISABLE because it's an unreliable test - Link to v1: https://lore.kernel.org/20260805-tpci_refactoring-v1-0-4ca8d84f8a95-IBi9RG/[email protected] --- Andrea Cervesato (2): tpci: refactor kernel module tpci: refactor test using new API .../pci/{tpci_kernel => tpci}/.gitignore | 3 +- testcases/kernel/device-drivers/pci/tpci/Makefile | 22 ++ .../pci/{tpci_kernel => tpci}/ltp_tpci.c | 230 +++++++++++---------- testcases/kernel/device-drivers/pci/tpci/tpci.c | 166 +++++++++++++++ testcases/kernel/device-drivers/pci/tpci/tpci.h | 36 ++++ .../kernel/device-drivers/pci/tpci_kernel/Makefile | 35 ---- .../pci/tpci_kernel/pci-exp-tests-HOWTO | 58 ------ .../kernel/device-drivers/pci/tpci_kernel/tpci.h | 43 ---- .../kernel/device-drivers/pci/tpci_user/.gitignore | 1 - .../kernel/device-drivers/pci/tpci_user/Makefile | 20 -- .../kernel/device-drivers/pci/tpci_user/tpci.c | 115 ----------- 11 files changed, 342 insertions(+), 387 deletions(-) --- base-commit: 12fcadf63a99fc4bec76f9b4715cda626256562f change-id: 20260804-tpci_refactoring-64b59221ae5c Best regards, -- Andrea Cervesato <andrea.cervesato-IBi9RG/[email protected]> -- Mailing list info: https://lists.linux.it/listinfo/ltp