{"id":2219067,"url":"http://patchwork.ozlabs.org/api/1.0/covers/2219067/?format=json","project":{"id":59,"url":"http://patchwork.ozlabs.org/api/1.0/projects/59/?format=json","name":"Linux Test Project development","link_name":"ltp","list_id":"ltp.lists.linux.it","list_email":"ltp@lists.linux.it","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20260402121356.31266-1-chrubis@suse.cz>","date":"2026-04-02T12:13:39","name":"[00/17] Replace needs_drivers with needs_kconfigs","submitter":{"id":8530,"url":"http://patchwork.ozlabs.org/api/1.0/people/8530/?format=json","name":"Cyril Hrubis","email":"chrubis@suse.cz"},"series":[{"id":498474,"url":"http://patchwork.ozlabs.org/api/1.0/series/498474/?format=json","date":"2026-04-02T12:13:40","name":"Replace needs_drivers with needs_kconfigs","version":1,"mbox":"http://patchwork.ozlabs.org/series/498474/mbox/"}],"headers":{"Return-Path":"<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>","X-Original-To":["incoming@patchwork.ozlabs.org","ltp@lists.linux.it"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","ltp@picard.linux.it"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256\n header.s=susede2_rsa header.b=EyReZzf5;\n\tdkim=fail reason=\"signature verification failed\" header.d=suse.cz\n header.i=@suse.cz header.a=ed25519-sha256 header.s=susede2_ed25519\n header.b=+ttJmD1P;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key)\n header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256 header.s=susede2_rsa\n header.b=Fk/hxnKg;\n\tdkim=neutral header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=yfqZL+yJ;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=2001:1418:10:5::2; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)","smtp-out2.suse.de;\n dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=\"Fk/hxnKg\";\n dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=yfqZL+yJ"],"Received":["from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fmgl34YYnz1yCs\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 02 Apr 2026 23:14:23 +1100 (AEDT)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 5F29E3E2F40\n\tfor <incoming@patchwork.ozlabs.org>; Thu,  2 Apr 2026 14:14:21 +0200 (CEST)","from in-2.smtp.seeweb.it (in-2.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::2])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id 1D7CD3D8D59\n for <ltp@lists.linux.it>; Thu,  2 Apr 2026 14:13:58 +0200 (CEST)","from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by in-2.smtp.seeweb.it (Postfix) with ESMTPS id AD448600820\n for <ltp@lists.linux.it>; Thu,  2 Apr 2026 14:13:57 +0200 (CEST)","from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org\n [IPv6:2a07:de40:b281:104:10:150:64:97])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-out2.suse.de (Postfix) with ESMTPS id ED76F5BD8E\n for <ltp@lists.linux.it>; Thu,  2 Apr 2026 12:13:55 +0000 (UTC)","from imap1.dmz-prg2.suse.org (localhost [127.0.0.1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id DE5144A0B0\n for <ltp@lists.linux.it>; Thu,  2 Apr 2026 12:13:55 +0000 (UTC)","from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167])\n by imap1.dmz-prg2.suse.org with ESMTPSA id H7tvNINdzmmWDgAAD6G6ig\n (envelope-from <chrubis@suse.cz>)\n for <ltp@lists.linux.it>; Thu, 02 Apr 2026 12:13:55 +0000"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1775132036; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=G9MywwHAi9ybD6HN7vt1WLkkI0HRzKmu5cTAf2Jx6Ao=;\n b=EyReZzf5UNBZpq6sb87S1QyEeOsqv8Mc0Kya6fxw0+gOQ/zL1CwAZdCmJyAfhiPK5x3mU/\n XuiT6Js72EWRUFZ+7ohYY9xoq2F6yFMe+10Suc6coSopROpdN+UZhys3m4k6rOk8OHoO27\n y+WKk3lymrFwmS4ASgXnmYPQgzmSGjE=","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1775132036;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=G9MywwHAi9ybD6HN7vt1WLkkI0HRzKmu5cTAf2Jx6Ao=;\n b=+ttJmD1PHiebVnzxBxyt/y5x4pFDUquKcES+q52Q5UpbvtIa/NhVbSBQkK1BOA8Hy/b3VO\n tB2lk4eaktzGgRAg==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1775132035; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=G9MywwHAi9ybD6HN7vt1WLkkI0HRzKmu5cTAf2Jx6Ao=;\n b=Fk/hxnKgD77dn5yvkR3ZMlRPkjRHI8mwGl0q8NpE9Fe9TrDHBI243+/QdhPxci3gQuynvj\n ZY9taZl9Bg394bsHCSJ/dyVBW4HatVQGerzOJt6Yp5vToG78H3alSICLp3OKX/M3KWOf/9\n 5BJPQagSc2Ulcasp327Ihh/2LHFlXW8=","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1775132035;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=G9MywwHAi9ybD6HN7vt1WLkkI0HRzKmu5cTAf2Jx6Ao=;\n b=yfqZL+yJ1U0l58HP8v8sf6bkj/9Dn3Kf7IF+QYv+da03g2AIe54autXH7hhyhW77h0IclC\n Tcpu7kogw2iNbpAA=="],"From":"Cyril Hrubis <chrubis@suse.cz>","To":"ltp@lists.linux.it","Date":"Thu,  2 Apr 2026 14:13:39 +0200","Message-ID":"<20260402121356.31266-1-chrubis@suse.cz>","X-Mailer":"git-send-email 2.52.0","MIME-Version":"1.0","X-Rspamd-Action":"no action","X-Rspamd-Server":"rspamd2.dmz-prg2.suse.org","X-Spamd-Result":"default: False [-3.01 / 50.00]; BAYES_HAM(-3.00)[100.00%];\n MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000];\n R_MISSING_CHARSET(0.50)[];\n R_DKIM_ALLOW(-0.20)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519];\n NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain];\n MX_GOOD(-0.01)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1];\n TO_MATCH_ENVRCPT_ALL(0.00)[];\n DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519];\n FUZZY_RATELIMITED(0.00)[rspamd.com]; RCVD_TLS_ALL(0.00)[];\n DKIM_TRACE(0.00)[suse.cz:+]; FROM_EQ_ENVFROM(0.00)[];\n FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+];\n RCVD_COUNT_TWO(0.00)[2];\n PREVIOUSLY_DELIVERED(0.00)[ltp@lists.linux.it];\n TO_DN_NONE(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[];\n DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,\n imap1.dmz-prg2.suse.org:rdns, suse.cz:dkim, suse.cz:mid]","X-Rspamd-Queue-Id":"ED76F5BD8E","X-Spam-Score":"-3.01","X-Spam-Level":"","X-Spam-Status":"No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,SPF_HELO_NONE,SPF_PASS\n shortcircuit=no autolearn=disabled version=4.0.1","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on in-2.smtp.seeweb.it","X-Virus-Scanned":"clamav-milter 1.0.9 at in-2.smtp.seeweb.it","X-Virus-Status":"Clean","Subject":"[LTP] [PATCH 00/17] Replace needs_drivers with needs_kconfigs","X-BeenThere":"ltp@lists.linux.it","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"Linux Test Project <ltp.lists.linux.it>","List-Unsubscribe":"<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>","List-Archive":"<http://lists.linux.it/pipermail/ltp/>","List-Post":"<mailto:ltp@lists.linux.it>","List-Help":"<mailto:ltp-request@lists.linux.it?subject=help>","List-Subscribe":"<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it","Sender":"\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>"},"content":"The needs_drivers and needs_kconfigs options had overlapping\nfunctionality. This patchset gets rid of needs_drivers by adding module\nchecks to needs_kconfigs.\n\nCyril Hrubis (17):\n  syscalls: ioctl08: Remove .needs_drivers\n  lib: shell: Remove needs_drivers from JSON parser\n  lib: tst_kernel: Add tst_check_module_driver()\n  lib: tst_kconfig: Add module presence checks\n  tests: kvm: Switch from needs_drivers to needs_kconfigs\n  tests: zram03: Switch from needs_drivers to needs_kconfigs\n  tests: squashfs01: Switch from needs_drivers to needs_kconfigs\n  tests: ioctl: Switch from needs_drivers to needs_kconfigs\n  tests: madvise11: Switch from needs_drivers to needs_kconfigs\n  tests: quotactl: Switch from needs_drivers to needs_kconfigs\n  tests: uevent: Switch from needs_drivers to needs_kconfigs\n  cve: tcindex01: Switch from needs_drivers to needs_kconfigs\n  tests: can: Switch from needs_drivers to needs_kconfigs\n  tests: fsetxattr: Switch from needs_drivers to needs_kconfigs\n  sctp: Switch from needs_drivers to needs_kconfigs\n  lib: tst_test: Remove now unused needs_drivers\n  doc: metadata: Remove needs_drivers from docs\n\n doc/developers/writing_tests.rst              |  3 --\n doc/old/C-Test-API.asciidoc                   | 13 +++---\n include/tst_kernel.h                          | 10 +++++\n include/tst_test.h                            |  5 ---\n lib/tst_kconfig.c                             | 41 +++++++++++++++++++\n lib/tst_kernel.c                              | 12 +++---\n lib/tst_test.c                                |  9 ----\n metadata/README.md                            | 15 +++----\n testcases/cve/tcindex01.c                     |  5 +--\n testcases/kernel/device-drivers/zram/zram03.c |  4 +-\n testcases/kernel/fs/squashfs/squashfs01.c     |  4 +-\n testcases/kernel/kvm/kvm_pagefault01.c        |  4 +-\n testcases/kernel/kvm/kvm_svm01.c              |  4 +-\n testcases/kernel/kvm/kvm_svm02.c              |  4 +-\n testcases/kernel/kvm/kvm_svm03.c              |  4 +-\n testcases/kernel/kvm/kvm_svm04.c              |  4 +-\n testcases/kernel/kvm/kvm_vmx01.c              |  4 +-\n testcases/kernel/kvm/kvm_vmx02.c              |  4 +-\n .../kernel/syscalls/fsetxattr/fsetxattr02.c   |  4 +-\n testcases/kernel/syscalls/ioctl/ioctl08.c     |  4 --\n testcases/kernel/syscalls/ioctl/ioctl09.c     |  4 +-\n .../kernel/syscalls/ioctl/ioctl_loop01.c      |  4 +-\n .../kernel/syscalls/ioctl/ioctl_loop02.c      |  4 +-\n .../kernel/syscalls/ioctl/ioctl_loop03.c      |  4 +-\n .../kernel/syscalls/ioctl/ioctl_loop04.c      |  4 +-\n .../kernel/syscalls/ioctl/ioctl_loop05.c      |  4 +-\n .../kernel/syscalls/ioctl/ioctl_loop06.c      |  4 +-\n .../kernel/syscalls/ioctl/ioctl_loop07.c      |  4 +-\n testcases/kernel/syscalls/madvise/madvise11.c |  5 +--\n .../kernel/syscalls/quotactl/quotactl01.c     |  4 +-\n .../kernel/syscalls/quotactl/quotactl04.c     |  4 +-\n .../kernel/syscalls/quotactl/quotactl06.c     |  4 +-\n .../kernel/syscalls/quotactl/quotactl08.c     |  4 +-\n .../kernel/syscalls/quotactl/quotactl09.c     |  4 +-\n testcases/kernel/uevents/uevent01.c           |  4 +-\n testcases/kernel/uevents/uevent02.c           |  4 +-\n testcases/kernel/uevents/uevent03.c           |  4 +-\n testcases/lib/tst_run_shell.c                 |  5 ---\n testcases/network/can/cve/can_bcm01.c         |  6 +--\n .../network/can/filter-tests/can_filter.c     |  6 +--\n .../can/filter-tests/can_rcv_own_msgs.c       |  6 +--\n .../func_tests/test_1_to_1_initmsg_connect.c  |  4 +-\n 42 files changed, 135 insertions(+), 118 deletions(-)"}