From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============5338292658568257806==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [RFC PATCH v2 2/2] RDMA/rxe: Support RDMA Atomic Write operation Date: Thu, 13 Jan 2022 19:35:08 +0800 Message-ID: <202201131838.Rbqf6UOl-lkp@intel.com> In-Reply-To: <20220113030350.2492841-3-yangx.jy@fujitsu.com> List-Id: --===============5338292658568257806== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Xiao, [FYI, it's a private test report for your RFC patch.] [auto build test ERROR on v5.16] [also build test ERROR on next-20220113] [cannot apply to rdma/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Xiao-Yang/RDMA-rxe-Add-RDM= A-Atomic-Write-operation/20220113-110548 base: df0cc57e057f18e44dac8e6c18aba47ab53202f9 config: arc-randconfig-r003-20220113 (https://download.01.org/0day-ci/archi= ve/20220113/202201131838.Rbqf6UOl-lkp(a)intel.com/config) compiler: arc-elf-gcc (GCC) 11.2.0 reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/4294d58609cfb4c296c7937ea= fd58e044a4d81c6 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Xiao-Yang/RDMA-rxe-Add-RDMA-Atomic= -Write-operation/20220113-110548 git checkout 4294d58609cfb4c296c7937eafd58e044a4d81c6 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Darc SHELL=3D/bin/bash drivers/infiniband/sw/rxe/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from : In function 'process_atomic_write', inlined from 'execute' at drivers/infiniband/sw/rxe/rxe_resp.c:825:9: >> include/linux/compiler_types.h:335:45: error: call to '__compiletime_ass= ert_467' declared with attribute error: Need native word sized stores/loads= for atomicity. 335 | _compiletime_assert(condition, msg, __compiletime_assert= _, __COUNTER__) | ^ include/linux/compiler_types.h:316:25: note: in definition of macro '__c= ompiletime_assert' 316 | prefix ## suffix(); = \ | ^~~~~~ include/linux/compiler_types.h:335:9: note: in expansion of macro '_comp= iletime_assert' 335 | _compiletime_assert(condition, msg, __compiletime_assert= _, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:338:9: note: in expansion of macro 'compi= letime_assert' 338 | compiletime_assert(__native_word(t), = \ | ^~~~~~~~~~~~~~~~~~ include/asm-generic/barrier.h:162:9: note: in expansion of macro 'compil= etime_assert_atomic_type' 162 | compiletime_assert_atomic_type(*p); = \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/infiniband/sw/rxe/rxe_resp.c:606:9: note: in expansion of macro = 'smp_store_release' 606 | smp_store_release(dst, *src); | ^~~~~~~~~~~~~~~~~ vim +/__compiletime_assert_467 +335 include/linux/compiler_types.h eb5c2d4b45e3d2 Will Deacon 2020-07-21 321 = eb5c2d4b45e3d2 Will Deacon 2020-07-21 322 #define _compiletime_assert(con= dition, msg, prefix, suffix) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 323 __compiletime_assert(condition= , msg, prefix, suffix) eb5c2d4b45e3d2 Will Deacon 2020-07-21 324 = eb5c2d4b45e3d2 Will Deacon 2020-07-21 325 /** eb5c2d4b45e3d2 Will Deacon 2020-07-21 326 * compiletime_assert - break b= uild and emit msg if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 327 * @condition: a compile-time c= onstant condition to check eb5c2d4b45e3d2 Will Deacon 2020-07-21 328 * @msg: a message to emi= t if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 329 * eb5c2d4b45e3d2 Will Deacon 2020-07-21 330 * In tradition of POSIX assert= , this macro will break the build if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 331 * supplied condition is *false= *, emitting the supplied error message if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 332 * compiler has support to do s= o. eb5c2d4b45e3d2 Will Deacon 2020-07-21 333 */ eb5c2d4b45e3d2 Will Deacon 2020-07-21 334 #define compiletime_assert(cond= ition, msg) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 @335 _compiletime_assert(condition,= msg, __compiletime_assert_, __COUNTER__) eb5c2d4b45e3d2 Will Deacon 2020-07-21 336 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============5338292658568257806==--