✓ CI.checkpatch: success for kunit: Mark filter* params as rw

Patchwork patchwork at emeril.freedesktop.org
Mon Jan 22 18:08:27 UTC 2024


== Series Details ==

Series: kunit: Mark filter* params as rw
URL   : https://patchwork.freedesktop.org/series/129043/
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
e7f730565356938dd6c63cd498218fdc5d6a22b0
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 8cd913a43dcee417ada138551793640038365b74
Author: Lucas De Marchi <lucas.demarchi at intel.com>
Date:   Mon Jan 22 09:14:08 2024 -0800

    kunit: Mark filter* params as rw
    
    By allowing the filter_glob parameter to be written to, it's possible to
    tweak the testsuites that will be executed on new module loads. This
    makes it easier to run specific tests without having to reload kunit and
    provides a way to filter tests on real HW even if kunit is builtin.
    Example for xe driver:
    
    1) Run just 1 test
            # echo -n xe_bo > /sys/module/kunit/parameters/filter_glob
            # modprobe -r xe_live_test
            # modprobe xe_live_test
            # ls /sys/kernel/debug/kunit/
            xe_bo
    
    2) Run all tests
            # echo \* > /sys/module/kunit/parameters/filter_glob
            # modprobe -r xe_live_test
            # modprobe xe_live_test
            # ls /sys/kernel/debug/kunit/
            xe_bo  xe_dma_buf  xe_migrate  xe_mocs
    
    For completeness and to cover other use cases, also change filter and
    filter_action to rw.
    
    Link: https://lore.kernel.org/intel-xe/dzacvbdditbneiu3e3fmstjmttcbne44yspumpkd6sjn56jqpk@vxu7sksbqrp6/
    Reviewed-by: Rae Moar <rmoar at google.com>
    Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
+ /mt/dim checkpatch 6c50b86b2afe0f6c5929aa3f48b36b31cd736ab9 drm-intel
8cd913a43 kunit: Mark filter* params as rw




More information about the Intel-xe mailing list