[Intel-xe] ✓ CI.checkpatch: success for series starting with [v5,1/1] drm/xe: Add a debugfs for faking gt reset failure.

Patchwork patchwork at emeril.freedesktop.org
Fri Jun 23 05:10:37 UTC 2023


== Series Details ==

Series: series starting with [v5,1/1] drm/xe: Add a debugfs for faking gt reset failure.
URL   : https://patchwork.freedesktop.org/series/119784/
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 ed10663552437f47380f390fdf81b20b2155beba
Author: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
Date:   Fri Jun 23 10:09:11 2023 +0530

    drm/xe: Add a debugfs for faking gt reset failure.
    
    In case of gt reset failure, KMD notifies userspace about failure
    via uevent. To validate this notification we need to ensure gt
    reset fails and there is no mechanism to cause failure from hardware.
    Hence added a debugfs which will cause fake reset failure.
    
    v1(Rodrigo)
    - Change the variable to fake_reset_failure_in_progress.
    - Drop usage of READ_ONCE and WRITE_ONCE.
    - Follow consistency for variable assignment. Either use
      functions for all the assignments or don't use for any.
    
    v2
    - Add description for variable.
    - Define xe_fake_reset(gt) function in xe_gt.c to set the
      fake_reset_failure_in_progress.
    - No need to explicitly initialize the fake_reset_failure_in_progress
      as false. (Rodrigo)
    - Return proper error code in case of fake reset. (Bala)
    
    v3
    - Move gt reset worker call to xe_fake_reset(gt) which ensures
    fake reset goes through even in GT suspend state. (Aravind)
    
    v4
    -Clear whitespaces.
    
    v5
    - goto label changed from err_cancelled to err_fail.
    - Remove unwanted declaration from xe_gt.h. (Francois)
    
    Cc: Aravind Iddamsetty <aravind.iddamsetty at intel.com>
    Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
    cc: Francois Dugast <francois.dugast at intel.com>
    Cc: Mauro Carvalho Chehab <mchehab at kernel.org>
    Cc: Balasubramani Vivekanandan <balasubramani.vivekanandan at intel.com>
    Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
+ /mt/dim checkpatch 4287d7a61a8f6b40e4f99055870b1239d8439050 drm-intel
ed1066355 drm/xe: Add a debugfs for faking gt reset failure.




More information about the Intel-xe mailing list