From: Andrea Cervesato <andrea.cervesato@suse.de>
To: Linux Test Project <ltp@lists.linux.it>
Subject: [LTP] [PATCH v2 0/2] tcpi refactoring
Date: Thu, 06 Aug 2026 10:10:35 +0200 [thread overview]
Message-ID: <20260806-tpci_refactoring-v2-0-bdc3a749ca02@suse.com> (raw)
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@suse.com>
---
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@suse.com
---
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@suse.com>
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next reply other threads:[~2026-08-06 8:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-06 8:10 Andrea Cervesato [this message]
2026-08-06 8:10 ` [LTP] [PATCH v2 1/2] tpci: refactor kernel module Andrea Cervesato
2026-08-06 10:40 ` [LTP] " linuxtestproject.agent
2026-08-06 8:10 ` [LTP] [PATCH v2 2/2] tpci: refactor test using new API Andrea Cervesato
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260806-tpci_refactoring-v2-0-bdc3a749ca02@suse.com \
--to=andrea.cervesato@suse.de \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox