✗ CI.checkpatch: warning for drm/xe/svm: Add MMU notifier-based madvise autoreset on munmap

Patchwork
2026-02-19T09:40:54Z

== Series Details ==

Series: drm/xe/svm: Add MMU notifier-based madvise autoreset on munmap
URL : https://patchwork.freedesktop.org/series/161815/
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
1f57ba1afceae32108bd24770069f764d940a0e4
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 393b6abb9054a363e87a0069a949522b9609db75
Author: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Date: Thu Feb 19 14:43:12 2026 +0530

drm/xe/svm: Correct memory attribute reset for partial unmap

When performing a partial unmap of an SVM range, the memory attributes
were being reset for the entire range instead of just the portion
being unmapped. This could lead to unintended side effects and behaviour.

Fix this by restricting the attribute reset to only the affected subrange
that is being unmapped.

Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Signed-off-by: Arvind Yadav <arvind.yadav@intel.com>
+ /mt/dim checkpatch c81e41f7aca96f583296a2a875f0179484b7a81f drm-intel
9fb1b93d7755 drm/xe/vm: Add CPU_AUTORESET_ACTIVE VMA flag
86281920bd68 drm/xe/vm: Preserve CPU_AUTORESET_ACTIVE across GPUVA operations
3940f3524f81 drm/xe/svm: Clear CPU_AUTORESET_ACTIVE on first GPU fault
556333ace830 drm/xe/vm: Add madvise autoreset interval notifier worker infrastructure
-:294: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#294: FILE: drivers/gpu/drm/xe/xe_vm_madvise.c:753:
+ mempool_create_kmalloc_pool(64,
+ sizeof(struct xe_madvise_work_item));

-:348: WARNING:NEEDLESS_IF: mempool_destroy(NULL) is safe and this check is probably not required
#348: FILE: drivers/gpu/drm/xe/xe_vm_madvise.c:807:
+ if (pool)
+ mempool_destroy(pool);

total: 0 errors, 1 warnings, 1 checks, 483 lines checked
e5596e3e2f2b drm/xe/vm: Deactivate madvise notifier on GPU touch
ea7b3c47d3a8 drm/xe/vm: Wire MADVISE_AUTORESET notifiers into VM lifecycle
393b6abb9054 drm/xe/svm: Correct memory attribute reset for partial unmap