public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 00/17] Replace needs_drivers with needs_kconfigs
@ 2026-04-02 12:13 Cyril Hrubis
  2026-04-02 12:13 ` [LTP] [PATCH 01/17] syscalls: ioctl08: Remove .needs_drivers Cyril Hrubis
                   ` (17 more replies)
  0 siblings, 18 replies; 36+ messages in thread
From: Cyril Hrubis @ 2026-04-02 12:13 UTC (permalink / raw)
  To: ltp

The needs_drivers and needs_kconfigs options had overlapping
functionality. This patchset gets rid of needs_drivers by adding module
checks to needs_kconfigs.

Cyril Hrubis (17):
  syscalls: ioctl08: Remove .needs_drivers
  lib: shell: Remove needs_drivers from JSON parser
  lib: tst_kernel: Add tst_check_module_driver()
  lib: tst_kconfig: Add module presence checks
  tests: kvm: Switch from needs_drivers to needs_kconfigs
  tests: zram03: Switch from needs_drivers to needs_kconfigs
  tests: squashfs01: Switch from needs_drivers to needs_kconfigs
  tests: ioctl: Switch from needs_drivers to needs_kconfigs
  tests: madvise11: Switch from needs_drivers to needs_kconfigs
  tests: quotactl: Switch from needs_drivers to needs_kconfigs
  tests: uevent: Switch from needs_drivers to needs_kconfigs
  cve: tcindex01: Switch from needs_drivers to needs_kconfigs
  tests: can: Switch from needs_drivers to needs_kconfigs
  tests: fsetxattr: Switch from needs_drivers to needs_kconfigs
  sctp: Switch from needs_drivers to needs_kconfigs
  lib: tst_test: Remove now unused needs_drivers
  doc: metadata: Remove needs_drivers from docs

 doc/developers/writing_tests.rst              |  3 --
 doc/old/C-Test-API.asciidoc                   | 13 +++---
 include/tst_kernel.h                          | 10 +++++
 include/tst_test.h                            |  5 ---
 lib/tst_kconfig.c                             | 41 +++++++++++++++++++
 lib/tst_kernel.c                              | 12 +++---
 lib/tst_test.c                                |  9 ----
 metadata/README.md                            | 15 +++----
 testcases/cve/tcindex01.c                     |  5 +--
 testcases/kernel/device-drivers/zram/zram03.c |  4 +-
 testcases/kernel/fs/squashfs/squashfs01.c     |  4 +-
 testcases/kernel/kvm/kvm_pagefault01.c        |  4 +-
 testcases/kernel/kvm/kvm_svm01.c              |  4 +-
 testcases/kernel/kvm/kvm_svm02.c              |  4 +-
 testcases/kernel/kvm/kvm_svm03.c              |  4 +-
 testcases/kernel/kvm/kvm_svm04.c              |  4 +-
 testcases/kernel/kvm/kvm_vmx01.c              |  4 +-
 testcases/kernel/kvm/kvm_vmx02.c              |  4 +-
 .../kernel/syscalls/fsetxattr/fsetxattr02.c   |  4 +-
 testcases/kernel/syscalls/ioctl/ioctl08.c     |  4 --
 testcases/kernel/syscalls/ioctl/ioctl09.c     |  4 +-
 .../kernel/syscalls/ioctl/ioctl_loop01.c      |  4 +-
 .../kernel/syscalls/ioctl/ioctl_loop02.c      |  4 +-
 .../kernel/syscalls/ioctl/ioctl_loop03.c      |  4 +-
 .../kernel/syscalls/ioctl/ioctl_loop04.c      |  4 +-
 .../kernel/syscalls/ioctl/ioctl_loop05.c      |  4 +-
 .../kernel/syscalls/ioctl/ioctl_loop06.c      |  4 +-
 .../kernel/syscalls/ioctl/ioctl_loop07.c      |  4 +-
 testcases/kernel/syscalls/madvise/madvise11.c |  5 +--
 .../kernel/syscalls/quotactl/quotactl01.c     |  4 +-
 .../kernel/syscalls/quotactl/quotactl04.c     |  4 +-
 .../kernel/syscalls/quotactl/quotactl06.c     |  4 +-
 .../kernel/syscalls/quotactl/quotactl08.c     |  4 +-
 .../kernel/syscalls/quotactl/quotactl09.c     |  4 +-
 testcases/kernel/uevents/uevent01.c           |  4 +-
 testcases/kernel/uevents/uevent02.c           |  4 +-
 testcases/kernel/uevents/uevent03.c           |  4 +-
 testcases/lib/tst_run_shell.c                 |  5 ---
 testcases/network/can/cve/can_bcm01.c         |  6 +--
 .../network/can/filter-tests/can_filter.c     |  6 +--
 .../can/filter-tests/can_rcv_own_msgs.c       |  6 +--
 .../func_tests/test_1_to_1_initmsg_connect.c  |  4 +-
 42 files changed, 135 insertions(+), 118 deletions(-)

-- 
2.52.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2026-04-08  7:06 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-02 12:13 [LTP] [PATCH 00/17] Replace needs_drivers with needs_kconfigs Cyril Hrubis
2026-04-02 12:13 ` [LTP] [PATCH 01/17] syscalls: ioctl08: Remove .needs_drivers Cyril Hrubis
2026-04-02 21:34   ` Petr Vorel
2026-04-02 12:13 ` [LTP] [PATCH 02/17] lib: shell: Remove needs_drivers from JSON parser Cyril Hrubis
2026-04-02 21:29   ` Petr Vorel
2026-04-02 12:13 ` [LTP] [PATCH 03/17] lib: tst_kernel: Add tst_check_module_driver() Cyril Hrubis
2026-04-02 21:26   ` Petr Vorel
2026-04-02 21:47   ` Petr Vorel
2026-04-07  9:43     ` Cyril Hrubis
2026-04-07 11:15       ` Petr Vorel
2026-04-07 11:24         ` Cyril Hrubis
2026-04-08  7:06           ` Petr Vorel
2026-04-02 12:13 ` [LTP] [PATCH 04/17] lib: tst_kconfig: Add module presence checks Cyril Hrubis
2026-04-03  3:09   ` Li Wang via ltp
2026-04-07 10:05     ` Cyril Hrubis
2026-04-07 11:40       ` Li Wang via ltp
2026-04-07 11:44         ` Cyril Hrubis
2026-04-02 12:13 ` [LTP] [PATCH 05/17] tests: kvm: Switch from needs_drivers to needs_kconfigs Cyril Hrubis
2026-04-02 12:13 ` [LTP] [PATCH 06/17] tests: zram03: " Cyril Hrubis
2026-04-02 12:13 ` [LTP] [PATCH 07/17] tests: squashfs01: " Cyril Hrubis
2026-04-02 12:13 ` [LTP] [PATCH 08/17] tests: ioctl: " Cyril Hrubis
2026-04-02 12:13 ` [LTP] [PATCH 09/17] tests: madvise11: " Cyril Hrubis
2026-04-02 12:13 ` [LTP] [PATCH 10/17] tests: quotactl: " Cyril Hrubis
2026-04-02 12:13 ` [LTP] [PATCH 11/17] tests: uevent: " Cyril Hrubis
2026-04-02 12:13 ` [LTP] [PATCH 12/17] cve: tcindex01: " Cyril Hrubis
2026-04-02 12:13 ` [LTP] [PATCH 13/17] tests: can: " Cyril Hrubis
2026-04-02 12:13 ` [LTP] [PATCH 14/17] tests: fsetxattr: " Cyril Hrubis
2026-04-02 12:13 ` [LTP] [PATCH 15/17] sctp: " Cyril Hrubis
2026-04-02 12:13 ` [LTP] [PATCH 16/17] lib: tst_test: Remove now unused needs_drivers Cyril Hrubis
2026-04-03  3:01   ` Li Wang via ltp
2026-04-07 10:02     ` Cyril Hrubis
2026-04-07 11:39       ` Li Wang via ltp
2026-04-07 11:40         ` Cyril Hrubis
2026-04-02 12:13 ` [LTP] [PATCH 17/17] doc: metadata: Remove needs_drivers from docs Cyril Hrubis
2026-04-02 21:34   ` Petr Vorel
2026-04-02 21:59 ` [LTP] [PATCH 00/17] Replace needs_drivers with needs_kconfigs Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox