✓ CI.checkpatch: success for Fix xe_force_wake_get() failure handling

Patchwork patchwork at emeril.freedesktop.org
Fri Aug 30 05:18:51 UTC 2024


== Series Details ==

Series: Fix xe_force_wake_get() failure handling
URL   : https://patchwork.freedesktop.org/series/137982/
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
9fe5037901cabbcdf27a6fe0dfb047ca1474d363
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit be937992f59808fc0bfd1b89726493eac307793f
Author: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
Date:   Fri Aug 30 10:53:26 2024 +0530

    drm/xe: forcewake debugfs open fails on xe_forcewake_get failure
    
    A failure in xe_force_wake_get() no longer increments the domain's
    refcount. Therefore, if xe_force_wake_get() fails during forcewake
    debugfs open, return an error. This ensures there are no valid file
    descriptors to close via forcewake debugfs, preventing refcount
    mismanagement.
    
    Cc: Badal Nilawar <badal.nilawar at intel.com>
    Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
    Cc: Lucas De Marchi <lucas.demarchi at intel.com>
    Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
+ /mt/dim checkpatch d77e26a2d2f173b7998932b5d76173816ed5e158 drm-intel
39979816afb3 drm/xe: Error handling in xe_force_wake_get()
b0330d70e5f9 drm/xe: Ensure __must_check for xe_force_wake_get() return
f7ba3a369c37 drm/xe/gsc: call xe_force_wake_put() only if xe_force_wake_get() succeeds
7bf57fb33a1b drm/xe/gt: call xe_force_wake_put() only if xe_force_wake_get() succeeds
5a8518e61fc8 drm/xe/guc: call xe_force_wake_put() only if xe_force_wake_get() succeeds
f56d1ef013c2 drm/xe/oa: Handle force_wake_get failure in xe_oa_stream_init()
f8c4032ec513 drm/xe/gt_tlb_invalidation_ggtt: Call xe_force_wake_put if xe_force_wake_get succeds
83228aadbb85 drm/xe: Change return type to void for xe_force_wake_put
be937992f598 drm/xe: forcewake debugfs open fails on xe_forcewake_get failure




More information about the Intel-xe mailing list