✗ CI.checkpatch: warning for drm/xe/xe_vm: Implement xe_vm_get_property_ioctl (rev6)

Patchwork patchwork at emeril.freedesktop.org
Tue Mar 4 18:17:38 UTC 2025


== Series Details ==

Series: drm/xe/xe_vm: Implement xe_vm_get_property_ioctl (rev6)
URL   : https://patchwork.freedesktop.org/series/145529/
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
0e065e7fc7a503d5e87f2d2781c5e1fc719d16dd
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 9261c6d248d9fcaf65c1b48060be4a24c9f465ca
Author: Jonathan Cavitt <jonathan.cavitt at intel.com>
Date:   Tue Mar 4 17:08:54 2025 +0000

    drm/xe/xe_vm: Implement xe_vm_get_property_ioctl
    
    Add support for userspace to request a list of observed failed
    pagefaults from a specified VM.
    
    v2:
    - Only allow querying of failed pagefaults (Matt Brost)
    
    v3:
    - Remove unnecessary size parameter from helper function, as it
      is a property of the arguments. (jcavitt)
    - Remove unnecessary copy_from_user (Jainxun)
    - Set address_precision to 1 (Jainxun)
    - Report max size instead of dynamic size for memory allocation
      purposes.  Total memory usage is reported separately.
    
    v4:
    - Return int from xe_vm_get_property_size (Shuicheng)
    - Fix memory leak (Shuicheng)
    - Remove unnecessary size variable (jcavitt)
    
    Signed-off-by: Jonathan Cavitt <jonathan.cavitt at intel.com>
    Suggested-by: Matthew Brost <matthew.brost at intel.com>
    CC: Jainxun Zhang <jianxun.zhang at intel.com>
    CC: Shuicheng Lin <shuicheng.lin at intel.com>
+ /mt/dim checkpatch ff2d693d88726e29a1d87291105135c31c21fa26 drm-intel
3dfc1aa4d2c3 drm/xe/xe_gt_pagefault: Disallow writes to read-only VMAs
63f0e32901e1 drm/xe/xe_gt_pagefault: Migrate pagefault struct to header
ee5c9c676ee9 drm/xe/xe_vm: Add per VM pagefault info
ee33da9aef8f drm/xe/uapi: Define drm_xe_vm_get_property
-:34: WARNING:LONG_LINE: line length of 130 exceeds 100 columns
#34: FILE: include/uapi/drm/xe_drm.h:122:
+#define DRM_IOCTL_XE_VM_GET_PROPERTY		DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_VM_GET_PROPERTY, struct drm_xe_vm_get_property)

total: 0 errors, 1 warnings, 0 checks, 91 lines checked
857b7422146a drm/xe/xe_gt_pagefault: Add address_type field to pagefaults
9261c6d248d9 drm/xe/xe_vm: Implement xe_vm_get_property_ioctl




More information about the Intel-xe mailing list