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

Patchwork patchwork at emeril.freedesktop.org
Thu Jun 15 09:51:49 UTC 2023


== Series Details ==

Series: series starting with [v3,1/1] drm/xe: Add a debugfs for faking gt reset failure.
URL   : https://patchwork.freedesktop.org/series/119375/
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 5ae4bb97073a2422fb2deb1093283c6a6f488065
Author: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
Date:   Thu Jun 15 14:36:28 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)
    
    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 6d2981d42cd891965094ec7d173203520cfa36f7 drm-intel
5ae4bb970 drm/xe: Add a debugfs for faking gt reset failure.




More information about the Intel-xe mailing list