✗ CI.checkpatch: warning for drm/xe/vf: Fail migration recovery if fixups needed but platform not supported (rev3)

Patchwork patchwork at emeril.freedesktop.org
Thu May 15 01:57:38 UTC 2025


== Series Details ==

Series: drm/xe/vf: Fail migration recovery if fixups needed but platform not supported (rev3)
URL   : https://patchwork.freedesktop.org/series/148914/
State : warning

== 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
202708c00696422fd217223bb679a353a5936e23
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 94c15e20ba9931f681d47c8ab3296dff764403a4
Author: Tomasz Lis <tomasz.lis at intel.com>
Date:   Thu May 15 00:14:17 2025 +0200

    drm/xe/vf: Fail migration recovery if fixups needed but platform not supported
    
    The post-migration recovery needs to be fully implemented for a
    specific platform in order to make continuation of workloads
    possible.
    
    New platforms introduce changes which affect the recovery procedure,
    and without a clear verification of support this leads to errors
    with no straight forward error message explaining the cause.
    
    This patch fixes that issue - it introduces a message to be logged
    when the current driver is known to not support the current platform.
    
    Wedging the driver immediately also decreases the amount of
    additional errors which would come afterwards if the driver continued
    operation.
    
    v2: Show the message during probe as well as during recovery; do not
      perform any recovery steps if the reovery is bound to fail
    
    Signed-off-by: Tomasz Lis <tomasz.lis at intel.com>
+ /mt/dim checkpatch 3d6670fab64cb00b5e6ed80d2517147db533faf1 drm-intel
94c15e20ba99 drm/xe/vf: Fail migration recovery if fixups needed but platform not supported
-:52: WARNING:BRACES: braces {} are not necessary for single statement blocks
#52: FILE: drivers/gpu/drm/xe/xe_sriov_vf.c:145:
+	if (!vf_mgration_supported(xe)) {
+		drm_info(&xe->drm, "vf migration not supported by this module version\n");
+	}

total: 0 errors, 1 warnings, 0 checks, 36 lines checked




More information about the Intel-xe mailing list