[Intel-xe] ✓ CI.checkpatch: success for kunit: Expose some built-in features to modules (rev2)

Patchwork patchwork at emeril.freedesktop.org
Mon Jul 31 06:56:02 UTC 2023


== Series Details ==

Series: kunit: Expose some built-in features to modules (rev2)
URL   : https://patchwork.freedesktop.org/series/121534/
State : success

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
c7d32770e3cd31d9fc134ce41f329b10aa33ee15
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 8c08037dabd4928f462364483cb5eddba21d3d2e
Author: Janusz Krzysztofik <janusz.krzysztofik at linux.intel.com>
Date:   Mon Jul 31 07:45:56 2023 +0200

    kunit: Allow kunit test modules to use test filtering
    
    External tools, e.g., Intel GPU tools (IGT), support execution of
    individual selftests provided by kernel modules.  That could be also
    applicable to kunit test modules if they provided test filtering.  But
    test filtering is now possible only when kunit code is built into the
    kernel.  Moreover, a filter can be specified only at boot time, then
    reboot is required each time a different filter is needed.
    
    Build the test filtering code also when kunit is configured as a module,
    expose test filtering functions to other kunit source files, and use them
    in kunit module notifier callback functions.  Userspace can then reload
    the kunit module with a value of the filter_glob parameter tuned to a
    specific kunit test module every time it wants to limit the scope of tests
    executed on that module load.  Make the kunit.filter_glob parameter
    visible in sysfs for user convenience.
    
    v2: Fix new name of a structure moved to kunit namespace not updated
        across all uses.
    
    Signed-off-by: Janusz Krzysztofik <janusz.krzysztofik at linux.intel.com>
+ /mt/dim checkpatch d74e8f8407bc922b04ba50e8f4e888bedb31330a drm-intel
844bec635 kunit: Report the count of test suites in a module
05e59bedd kunit: Make 'list' action available to kunit test modules
8c08037da kunit: Allow kunit test modules to use test filtering




More information about the Intel-xe mailing list