CC: [email protected]
BCC: [email protected]
CC: [email protected]
TO: Guenter Roeck <[email protected]>
CC: Douglas Anderson <[email protected]>
CC: Rob Clark <[email protected]>

Hi Guenter,

FYI, the error/warning still remains.

tree:   https://github.com/jsarha/linux topic/chromeos-4.19-s0ix
head:   430bdaa0a8c38697780f45a148964d71951df11f
commit: 5a4de0d9ac4bc240999584010ecb3d5f902bf165 [9356/9999] FIXUP: CHROMIUM: 
drm/vgem: fix cache synchronization on arm/arm64 (take three)
:::::: branch date: 2 years, 6 months ago
:::::: commit date: 2 years, 7 months ago
config: x86_64-randconfig-c002 
(https://download.01.org/0day-ci/archive/20220418/[email protected]/config)
compiler: gcc-11 (Debian 11.2.0-19) 11.2.0
reproduce (this is a W=1 build):
        # 
https://github.com/jsarha/linux/commit/5a4de0d9ac4bc240999584010ecb3d5f902bf165
        git remote add jsarha https://github.com/jsarha/linux
        git fetch --no-tags jsarha topic/chromeos-4.19-s0ix
        git checkout 5a4de0d9ac4bc240999584010ecb3d5f902bf165
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/i915/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>

All errors (new ones prefixed by >>):

   In file included from include/linux/list.h:9,
                    from include/linux/agp_backend.h:33,
                    from include/drm/drmP.h:35,
                    from drivers/gpu/drm/i915/i915_gem.c:28:
   drivers/gpu/drm/i915/i915_gem.c: In function 'nop_submit_request':
>> drivers/gpu/drm/i915/i915_gem.c:3322:19: error: format '%d' expects argument 
>> of type 'int', but argument 4 has type 'u64' {aka 'long long unsigned int'} 
>> [-Werror=format=]
    3322 |         GEM_TRACE("%s fence %llx:%d -> -EIO\n",
         |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    3323 |                   request->engine->name,
    3324 |                   request->fence.context, request->fence.seqno);
         |                                           ~~~~~~~~~~~~~~~~~~~~
         |                                                         |
         |                                                         u64 {aka 
long long unsigned int}
   include/linux/kernel.h:683:47: note: in definition of macro 
'__trace_printk_check_format'
     683 |                 ____trace_printk_check_format(fmt, ##args);          
   \
         |                                               ^~~
   include/linux/kernel.h:720:17: note: in expansion of macro 'do_trace_printk'
     720 |                 do_trace_printk(fmt, ##__VA_ARGS__);    \
         |                 ^~~~~~~~~~~~~~~
   drivers/gpu/drm/i915/i915_gem.h:64:24: note: in expansion of macro 
'trace_printk'
      64 | #define GEM_TRACE(...) trace_printk(__VA_ARGS__)
         |                        ^~~~~~~~~~~~
   drivers/gpu/drm/i915/i915_gem.c:3322:9: note: in expansion of macro 
'GEM_TRACE'
    3322 |         GEM_TRACE("%s fence %llx:%d -> -EIO\n",
         |         ^~~~~~~~~
   drivers/gpu/drm/i915/i915_gem.c:3322:35: note: format string is defined here
    3322 |         GEM_TRACE("%s fence %llx:%d -> -EIO\n",
         |                                  ~^
         |                                   |
         |                                   int
         |                                  %lld
   In file included from include/linux/list.h:9,
                    from include/linux/agp_backend.h:33,
                    from include/drm/drmP.h:35,
                    from drivers/gpu/drm/i915/i915_gem.c:28:
   drivers/gpu/drm/i915/i915_gem.c:3322:19: error: format '%d' expects argument 
of type 'int', but argument 5 has type 'u64' {aka 'long long unsigned int'} 
[-Werror=format=]
    3322 |         GEM_TRACE("%s fence %llx:%d -> -EIO\n",
         |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    3323 |                   request->engine->name,
    3324 |                   request->fence.context, request->fence.seqno);
         |                                           ~~~~~~~~~~~~~~~~~~~~
         |                                                         |
         |                                                         u64 {aka 
long long unsigned int}
   include/linux/kernel.h:736:43: note: in definition of macro 'do_trace_printk'
     736 |                 __trace_printk(_THIS_IP_, fmt, ##args);              
   \
         |                                           ^~~
   drivers/gpu/drm/i915/i915_gem.h:64:24: note: in expansion of macro 
'trace_printk'
      64 | #define GEM_TRACE(...) trace_printk(__VA_ARGS__)
         |                        ^~~~~~~~~~~~
   drivers/gpu/drm/i915/i915_gem.c:3322:9: note: in expansion of macro 
'GEM_TRACE'
    3322 |         GEM_TRACE("%s fence %llx:%d -> -EIO\n",
         |         ^~~~~~~~~
   drivers/gpu/drm/i915/i915_gem.c:3322:35: note: format string is defined here
    3322 |         GEM_TRACE("%s fence %llx:%d -> -EIO\n",
         |                                  ~^
         |                                   |
         |                                   int
         |                                  %lld
   cc1: all warnings being treated as errors


vim +3322 drivers/gpu/drm/i915/i915_gem.c

d80270931314a88 Chris Wilson  2017-02-08  3319  
e61e0f51ba7974b Chris Wilson  2018-02-21  3320  static void 
nop_submit_request(struct i915_request *request)
af7a8ffad9c58de Daniel Vetter 2017-10-11  3321  {
d9b13c4dde6cacd Chris Wilson  2018-03-15 @3322          GEM_TRACE("%s fence 
%llx:%d -> -EIO\n",
d9b13c4dde6cacd Chris Wilson  2018-03-15  3323                    
request->engine->name,
d9b13c4dde6cacd Chris Wilson  2018-03-15  3324                    
request->fence.context, request->fence.seqno);
af7a8ffad9c58de Daniel Vetter 2017-10-11  3325          
dma_fence_set_error(&request->fence, -EIO);
af7a8ffad9c58de Daniel Vetter 2017-10-11  3326  
e61e0f51ba7974b Chris Wilson  2018-02-21  3327          
i915_request_submit(request);
af7a8ffad9c58de Daniel Vetter 2017-10-11  3328  }
af7a8ffad9c58de Daniel Vetter 2017-10-11  3329  

:::::: The code at line 3322 was first introduced by commit
:::::: d9b13c4dde6cacd8f2c4385cd6d293b0ac622e0b drm/i915: Trace GEM steps 
between submit and wedging

:::::: TO: Chris Wilson <[email protected]>
:::::: CC: Chris Wilson <[email protected]>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to