From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============7791716576545071728==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v3 3/3] dmaengine: sf-pdma: Get number of channel by device tree Date: Sat, 15 Jan 2022 01:32:34 +0800 Message-ID: <202201150140.AnHdUdow-lkp@intel.com> In-Reply-To: <91a8fb6dff811b36db951ee98d955ad14a2a30eb.1642151791.git.zong.li@sifive.com> List-Id: --===============7791716576545071728== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Zong, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on vkoul-dmaengine/next] [also build test WARNING on v5.16] [cannot apply to robh/for-next next-20220114] [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/Zong-Li/Determine-the-numb= er-of-DMA-channels-by-dma-channels-property/20220114-172017 base: https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git= next config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/2022011= 5/202201150140.AnHdUdow-lkp(a)intel.com/config) compiler: riscv64-linux-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/efa33512fd463fd6e29750992= df1d40513eb5a7c git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Zong-Li/Determine-the-number-of-DM= A-channels-by-dma-channels-property/20220114-172017 git checkout efa33512fd463fd6e29750992df1d40513eb5a7c # 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=3Driscv SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from include/linux/compiler_types.h:85, from : arch/riscv/include/asm/jump_label.h: In function 'vchan_cookie_complete': >> include/linux/compiler-gcc.h:86:38: warning: 'asm' operand 0 probably do= es not match constraints 86 | #define asm_volatile_goto(x...) do { asm goto(x); asm (""); } wh= ile (0) | ^~~ arch/riscv/include/asm/jump_label.h:20:9: note: in expansion of macro 'a= sm_volatile_goto' 20 | asm_volatile_goto( | ^~~~~~~~~~~~~~~~~ include/linux/compiler-gcc.h:86:38: error: impossible constraint in 'asm' 86 | #define asm_volatile_goto(x...) do { asm goto(x); asm (""); } wh= ile (0) | ^~~ arch/riscv/include/asm/jump_label.h:20:9: note: in expansion of macro 'a= sm_volatile_goto' 20 | asm_volatile_goto( | ^~~~~~~~~~~~~~~~~ vim +/asm +86 include/linux/compiler-gcc.h 313dd1b629219d Kees Cook 2017-05-05 76 = cb984d101b30eb Joe Perches 2015-06-25 77 /* cb984d101b30eb Joe Perches 2015-06-25 78 * GCC 'asm goto' miscompiles ce= rtain code sequences: cb984d101b30eb Joe Perches 2015-06-25 79 * cb984d101b30eb Joe Perches 2015-06-25 80 * http://gcc.gnu.org/bugzilla= /show_bug.cgi?id=3D58670 cb984d101b30eb Joe Perches 2015-06-25 81 * cb984d101b30eb Joe Perches 2015-06-25 82 * Work it around via a compiler= barrier quirk suggested by Jakub Jelinek. cb984d101b30eb Joe Perches 2015-06-25 83 * cb984d101b30eb Joe Perches 2015-06-25 84 * (asm goto is automatically vo= latile - the naming reflects this.) cb984d101b30eb Joe Perches 2015-06-25 85 */ cb984d101b30eb Joe Perches 2015-06-25 @86 #define asm_volatile_goto(x...) = do { asm goto(x); asm (""); } while (0) cb984d101b30eb Joe Perches 2015-06-25 87 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============7791716576545071728==--