From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============1787471465722739079==" 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 03:16:36 +0800 Message-ID: <202201150313.YDVezSOq-lkp@intel.com> In-Reply-To: <91a8fb6dff811b36db951ee98d955ad14a2a30eb.1642151791.git.zong.li@sifive.com> List-Id: --===============1787471465722739079== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Zong, Thank you for the patch! Yet something to improve: [auto build test ERROR on vkoul-dmaengine/next] [also build test ERROR 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: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/202201= 15/202201150313.YDVezSOq-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=3D1 build): # 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 make W=3D1 O=3Dbuild_dir ARCH=3Dx86_64 SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All error/warnings (new ones prefixed by >>): In file included from include/linux/compiler_types.h:85, from : arch/x86/include/asm/jump_label.h: In function 'vchan_cookie_complete': >> include/linux/compiler-gcc.h:86:38: warning: asm operand 0 probably does= n't match constraints 86 | #define asm_volatile_goto(x...) do { asm goto(x); asm (""); } wh= ile (0) | ^~~ arch/x86/include/asm/jump_label.h:27:2: note: in expansion of macro 'asm= _volatile_goto' 27 | asm_volatile_goto("1:" | ^~~~~~~~~~~~~~~~~ include/linux/compiler-gcc.h:86:38: warning: asm operand 1 probably does= n't match constraints 86 | #define asm_volatile_goto(x...) do { asm goto(x); asm (""); } wh= ile (0) | ^~~ arch/x86/include/asm/jump_label.h:27:2: note: in expansion of macro 'asm= _volatile_goto' 27 | asm_volatile_goto("1:" | ^~~~~~~~~~~~~~~~~ >> 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/x86/include/asm/jump_label.h:27:2: note: in expansion of macro 'asm= _volatile_goto' 27 | asm_volatile_goto("1:" | ^~~~~~~~~~~~~~~~~ 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 --===============1787471465722739079==--