✗ CI.checkpatch: warning for Prepare GPU SVM for migration of THP

Patchwork patchwork at emeril.freedesktop.org
Thu Jul 17 14:25:34 UTC 2025


== Series Details ==

Series: Prepare GPU SVM for migration of THP
URL   : https://patchwork.freedesktop.org/series/151754/
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
43254c2aa575037fc031c7ac21b0d031c700b2bf
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit a7a2cd5543581784260203c489ed17895e1acbf3
Author: Francois Dugast <francois.dugast at intel.com>
Date:   Thu Jul 17 15:38:27 2025 +0200

    drm/pagemap: Allocate folios when possible
    
    If the order is greater than zero, allocate a folio when populating the
    RAM PFNs instead of allocating individual pages one after the other. For
    example if 2MB folios are used instead of 4KB pages, this reduces the
    number of calls to the allocation API by 512.
    
    Signed-off-by: Francois Dugast <francois.dugast at intel.com>
    Cc: Matthew Brost <matthew.brost at intel.com>
+ /mt/dim checkpatch 32c3655fcecb4e7e7dd624bf7b201ae69eb5bb5f drm-intel
d0601960ab32 drm/pagemap: Use struct drm_pagemap_device_addr in mapping and copy functions
-:7: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#7: 
This struct embeds more information than just the DMA address. This will help

total: 0 errors, 1 warnings, 0 checks, 233 lines checked
d0c6c1d894a9 drm/xe/svm: Use struct drm_pagemap_device_addr
a99a95ba6ef6 drm/pagemap: DMA map folios when possible
-:50: CHECK:SPACING: spaces preferred around that '+' (ctx:VxV)
#50: FILE: drivers/gpu/drm/drm_pagemap.c:244:
+		for (j = 0; j < (0x1 << order) && i+j < npages; j++)
 		                                   ^

-:51: CHECK:SPACING: spaces preferred around that '+' (ctx:VxV)
#51: FILE: drivers/gpu/drm/drm_pagemap.c:245:
+			device_addr[i+j].addr = device_addr[i].addr + j * PAGE_SIZE;
 			             ^

total: 0 errors, 0 warnings, 2 checks, 52 lines checked
6c4f03df6f84 drm/xe/migrate: Use order to calculate migration length
a7a2cd554358 drm/pagemap: Allocate folios when possible




More information about the Intel-xe mailing list