Go to file
Herton R. Krzesinski a2e1d5dcbf lib/test_kmod: do not hardcode/depend on any filesystem
JIRA: https://issues.redhat.com/browse/RHEL-94010

commit 92f3c5a0051d2b56379651522b587ff7309b2606
Author: Herton R. Krzesinski <herton@redhat.com>
Date:   Fri Apr 18 13:50:47 2025 -0300

    lib/test_kmod: do not hardcode/depend on any filesystem

    Right now test_kmod has hardcoded dependencies on btrfs/xfs.  That is not
    optimal since you end up needing to select/build them, but it is not
    really required since other fs could be selected for the testing.  Also,
    we can't change the default/driver module used for testing on
    initialization.

    Thus make it more generic: introduce two module parameters (start_driver
    and start_test_fs), which allow to select which modules/fs to use for the
    testing on test_kmod initialization.  Then it's up to the user to select
    which modules/fs to use for testing based on his config.  However, keep
    test_module as required default.

    This way, config/modules becomes selectable as when the testing is done
    from selftests (userspace).

    While at it, also change trigger_config_run_type, since at module
    initialization we already set the defaults at __kmod_config_init and
    should not need to do it again in test_kmod_init(), thus we can avoid to
    again set test_driver/test_fs.

    Link: https://lkml.kernel.org/r/20250418165047.702487-1-herton@redhat.com
    Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
    Reviewed-by: Luis Chambelrain <mcgrof@kernel.org>
    Cc: Daniel Gomez <da.gomez@samsung.com>
    Cc: Nathan Chancellor <nathan@kernel.org>
    Cc: Petr Pavlu <petr.pavlu@suse.com>
    Cc: Sami Tolvanen <samitolvanen@google.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
2025-06-18 10:38:54 -03:00
Documentation Merge: cxl: Update CXL subsystem with content from v6.14 2025-06-11 12:50:20 -03:00
LICENSES LICENSES: Add the copyleft-next-0.3.1 license 2025-06-18 10:35:27 -03:00
arch Merge: s390/cpumf: Update CPU Measurement facility extended counter set support 2025-06-11 12:50:17 -03:00
block scsi: sd_zbc: block: Respect bio vector limits for REPORT ZONES buffer 2025-05-30 11:28:41 -04:00
certs certs: Add support for using elliptic curve keys for signing modules 2025-03-05 22:29:46 +08:00
crypto Merge: pcrypto/tegra: pull in fixes for Tegra Security Engine Driver 2025-06-05 20:04:25 +02:00
drivers Merge: thermal: intel: int340x: Fix Panther Lake DLVR support 2025-06-11 12:50:21 -03:00
fs Merge: CNB97: saner replacement for debugfs_rename() 2025-06-11 12:50:19 -03:00
include Merge: cxl: Update CXL subsystem with content from v6.14 2025-06-11 12:50:20 -03:00
init Merge: cgroup: Backport upstream cgroup commits up to v6.12 2025-05-26 10:33:48 +02:00
io_uring Merge: CVE-2025-21863: io_uring: prevent opcode speculation 2025-05-21 18:34:45 -03:00
ipc ipc/sem: use flexible array in 'struct sem_undo' 2025-03-21 11:02:00 -04:00
kernel Merge: message deprecated state in ahci_xgene, ahci_seattle and hisi_sas_main 2025-06-11 12:50:18 -03:00
lib lib/test_kmod: do not hardcode/depend on any filesystem 2025-06-18 10:38:54 -03:00
mm saner replacement for debugfs_rename() 2025-06-02 13:41:52 +02:00
net Merge: CNB97: saner replacement for debugfs_rename() 2025-06-11 12:50:19 -03:00
redhat redhat: spec: refresh the License field 2025-06-18 10:38:40 -03:00
samples livepatch: convert timeouts to secs_to_jiffies() 2025-04-03 13:25:22 -04:00
scripts lib: packing: add pack_fields() and unpack_fields() 2025-05-27 08:59:39 +02:00
security Merge: CVE-2024-50301: security/keys: fix slab-out-of-bounds in key_task_permission 2025-05-21 18:34:49 -03:00
sound Merge: RHEL 9.7 DRM v6.14 Dependencies Backport 2025-06-05 20:04:29 +02:00
tools lib/test_kmod: do not hardcode/depend on any filesystem 2025-06-18 10:38:54 -03:00
usr kexec.h: add linux/kexec.h to UAPI compile-test coverage 2024-05-15 13:58:51 +08:00
virt kvm/vfio: Constify struct kvm_device_ops 2025-04-08 12:33:50 -06:00
.clang-format media: subdev: Add for_each_active_route() macro 2024-11-27 09:40:34 +08:00
.cocciconfig
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl 2019-05-16 10:53:40 -07:00
.gitattributes gitattributes: Remove unnecesary export restrictions 2021-08-30 10:50:35 -04:00
.gitignore redhat: rhdocs: delete .get_maintainer.conf 2024-06-06 09:36:57 -04:00
.gitlab-ci.yml Merge tag 'kernel-5.14.0-570.3.1.el9_6' into 'main' 2025-03-10 17:24:30 -04:00
.mailmap mailmap: remove my redhat.com address from RHEL9's .mailmap file 2022-09-26 09:34:38 -04:00
COPYING COPYING: state that all contributions really are covered by this file 2020-02-10 13:32:20 -08:00
CREDITS MAINTAINERS: Remove Mathieu Poirier as coresight maintainer 2025-01-04 13:51:08 -05:00
Kbuild kbuild: rename hostprogs-y/always to hostprogs/always-y 2020-02-04 01:53:07 +09:00
Kconfig Introduce CONFIG_RH_DISABLE_DEPRECATED 2021-08-30 10:50:55 -04:00
Kconfig.redhat redhat: kABI: add missing RH_KABI_SIZE_ALIGN_CHECKS Kconfig option 2024-01-12 14:27:16 +01:00
MAINTAINERS Merge: cxl: Update CXL subsystem with content from v6.14 2025-06-11 12:50:20 -03:00
Makefile lib: packing: add pack_fields() and unpack_fields() 2025-05-27 08:59:39 +02:00
Makefile.rhelver [redhat] kernel-5.14.0-593.el9 2025-06-11 12:50:52 -03:00
README
makefile redhat: Change Makefile target names to dist- 2021-08-30 10:50:11 -04:00

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.