✓ CI.checkpatch: success for drm/xe: Use distinct error code in VM_CREATE for device fault mode checks

Patchwork patchwork at emeril.freedesktop.org
Tue Apr 23 23:55:30 UTC 2024


== Series Details ==

Series: drm/xe: Use distinct error code in VM_CREATE for device fault mode checks
URL   : https://patchwork.freedesktop.org/series/132803/
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
0daf0be5bb95eb0a0e42275e00a0e42d8d8fd543
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit ab0b6663758259af0f6858fef224a19768ff3f8d
Author: Brian Welty <brian.welty at intel.com>
Date:   Tue Apr 23 16:47:07 2024 -0700

    drm/xe: Use distinct error code in VM_CREATE for device fault mode checks
    
    vm_create_ioctl doesn't allow creating new VM in fault_mode while existing
    VMs are in non-fault mode, and vice-versa.
    This is not necessarily the user doing anything wrong if others are sharing
    the system. Instead of returning -EINVAL which suggests the user provided a
    bad argument, return distinct error code of -EBUSY for this class of errors
    so the user knows they can retry the vm_create when system is idle.
    
    Signed-off-by: Brian Welty <brian.welty at intel.com>
+ /mt/dim checkpatch b5b592a3902a51cc5747c625aa1898768d4ce79a drm-intel
ab0b66637582 drm/xe: Use distinct error code in VM_CREATE for device fault mode checks




More information about the Intel-xe mailing list