✗ CI.checkpatch: warning for series starting with [1/3,v2] drm/xe/kunit: fix link failure with built-in xe

Patchwork patchwork at emeril.freedesktop.org
Mon Feb 26 12:54:01 UTC 2024


== Series Details ==

Series: series starting with [1/3,v2] drm/xe/kunit: fix link failure with built-in xe
URL   : https://patchwork.freedesktop.org/series/130384/
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
2dd5e5410a50454ac218b0f2bba00b8fb983ae6a
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 3459f120897f20d33b4dc98225eb7bd470d673e3
Author: Arnd Bergmann <arnd at arndb.de>
Date:   Mon Feb 26 13:46:38 2024 +0100

    drm/xe/xe2: fix 64-bit division in pte_update_size
    
    This function does not build on 32-bit targets when the compiler
    fails to reduce DIV_ROUND_UP() into a shift:
    
    ld.lld: error: undefined symbol: __aeabi_uldivmod
    >>> referenced by xe_migrate.c
    >>>               drivers/gpu/drm/xe/xe_migrate.o:(pte_update_size) in archive vmlinux.a
    
    There are two instances in this function. Change the first to
    use an open-coded shift with the same behavior, and the second
    one to a 32-bit calculation, which is sufficient here as the size
    is never more than 2^32 pages (16TB).
    
    Fixes: 237412e45390 ("drm/xe: Enable 32bits build")
    Signed-off-by: Arnd Bergmann <arnd at arndb.de>
+ /mt/dim checkpatch 54533144f8021809789e706762d3550c9f18c2c0 drm-intel
583436740b31 drm/xe/kunit: fix link failure with built-in xe
-:9: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#9: 
ERROR: modpost: "xe_kunit_helper_alloc_xe_device" [drivers/gpu/drm/xe/tests/xe_test.ko] undefined!

total: 0 errors, 1 warnings, 0 checks, 26 lines checked
4eabbca56e84 drm/xe/mmio: fix build warning for BAR resize on 32-bit
-:6: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#6: 
clang complains about a nonsensical test on builds with a 32-bit phys_addr_t,

total: 0 errors, 1 warnings, 0 checks, 8 lines checked
3459f120897f drm/xe/xe2: fix 64-bit division in pte_update_size
-:11: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#11: 
>>>               drivers/gpu/drm/xe/xe_migrate.o:(pte_update_size) in archive vmlinux.a

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




More information about the Intel-xe mailing list