Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752562AbdCFBWI (ORCPT ); Sun, 5 Mar 2017 20:22:08 -0500 Received: from mga09.intel.com ([134.134.136.24]:54288 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752398AbdCFBWH (ORCPT ); Sun, 5 Mar 2017 20:22:07 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,251,1484035200"; d="scan'208";a="831245436" Date: Mon, 6 Mar 2017 09:22:03 +0800 From: Fengguang Wu To: Stafford Horne Cc: linux-kernel@vger.kernel.org, kbuild-all@01.org, Stefan Kristiansson Subject: Re: [kbuild-all] arch/openrisc/include/asm/bitops/atomic.h:35: Error: unknown opcode2 `l.lwa'. Message-ID: <20170306012203.dw43orjvzmbsraa6@wfg-t540p.sh.intel.com> References: <201703050720.YGWcD72o%fengguang.wu@intel.com> <20170305214041.GC2449@lianli.shorne-pla.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20170305214041.GC2449@lianli.shorne-pla.net> User-Agent: NeoMutt/20161104 (1.7.1) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 10885 Lines: 168 Hi Stafford, On Mon, Mar 06, 2017 at 06:40:41AM +0900, Stafford Horne wrote: >On Sun, Mar 05, 2017 at 07:56:25AM +0800, kbuild test robot wrote: >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >> head: 2d62e0768d3c28536d4cfe4c40ba1e5e8e442a93 >> commit: 0e9f9fd20ce931cc2cf0519c56ae33fc74d656ad openrisc: add atomic bitops >> date: 8 days ago >> config: openrisc-or1ksim_defconfig (attached as .config) >> compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1 > >Hello, > >This should not happen, I patched make.cross to download the >or1k-linux-gcc toolchain. > >Could you let me know if there is really something wrong? Maybe an old >version or make.cross on this host? Ah sorry I forgot to change the robot code accordingly, which relies on pre-downloaded cross binaries. Will do so right away. Thanks, Fengguang >> reproduce: >> wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross >> chmod +x ~/bin/make.cross >> git checkout 0e9f9fd20ce931cc2cf0519c56ae33fc74d656ad >> # save the attached .config to linux build tree >> make.cross ARCH=openrisc >> >> All errors (new ones prefixed by >>): >> >> arch/openrisc/include/asm/bitops/atomic.h: Assembler messages: >> >> arch/openrisc/include/asm/bitops/atomic.h:35: Error: unknown opcode2 `l.lwa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:37: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:35: Error: unknown opcode2 `l.lwa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:37: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:35: Error: unknown opcode2 `l.lwa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:37: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:35: Error: unknown opcode2 `l.lwa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:37: Error: unknown opcode2 `l.swa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:35: Error: unknown opcode2 `l.lwa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:37: Error: unknown opcode2 `l.swa'. >> -- >> arch/openrisc/include/asm/bitops/atomic.h: Assembler messages: >> arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:35: Error: unknown opcode2 `l.lwa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:37: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:35: Error: unknown opcode2 `l.lwa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:37: Error: unknown opcode2 `l.swa'. >> -- >> arch/openrisc/include/asm/bitops/atomic.h: Assembler messages: >> arch/openrisc/include/asm/bitops/atomic.h:90: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:92: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:90: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:92: Error: unknown opcode2 `l.swa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:35: Error: unknown opcode2 `l.lwa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:37: Error: unknown opcode2 `l.swa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:35: Error: unknown opcode2 `l.lwa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:37: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:70: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:72: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:70: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:72: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:90: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:92: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:90: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:92: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:90: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:92: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:70: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:72: Error: unknown opcode2 `l.swa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:35: Error: unknown opcode2 `l.lwa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:37: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:70: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:72: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:70: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:72: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:70: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:72: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:70: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:72: Error: unknown opcode2 `l.swa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:35: Error: unknown opcode2 `l.lwa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:37: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:70: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:72: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:90: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:92: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:70: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:72: Error: unknown opcode2 `l.swa'. >> net/core/dev.c: In function 'validate_xmit_skb_list': >> net/core/dev.c:2989:39: warning: 'tail' may be used uninitialized in this function >> >> arch/openrisc/include/asm/bitops/atomic.h:35: Error: unknown opcode2 `l.lwa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:37: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:35: Error: unknown opcode2 `l.lwa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:37: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'. >> -- >> arch/openrisc/include/asm/bitops/atomic.h: Assembler messages: >> >> arch/openrisc/include/asm/bitops/atomic.h:35: Error: unknown opcode2 `l.lwa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:37: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:70: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:72: Error: unknown opcode2 `l.swa'. >> arch/openrisc/include/asm/bitops/atomic.h:70: Error: unknown opcode2 `l.lwa'. >> arch/openrisc/include/asm/bitops/atomic.h:72: Error: unknown opcode2 `l.swa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:35: Error: unknown opcode2 `l.lwa'. >> >> arch/openrisc/include/asm/bitops/atomic.h:37: Error: unknown opcode2 `l.swa'. >> >> vim +35 arch/openrisc/include/asm/bitops/atomic.h >> >> 29 static inline void clear_bit(int nr, volatile unsigned long *addr) >> 30 { >> 31 unsigned long mask = BIT_MASK(nr); >> 32 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); >> 33 unsigned long tmp; >> 34 >> > 35 __asm__ __volatile__( >> 36 "1: l.lwa %0,0(%1) \n" >> > 37 " l.and %0,%0,%2 \n" >> 38 " l.swa 0(%1),%0 \n" >> 39 " l.bnf 1b \n" >> 40 " l.nop \n" >> >> --- >> 0-DAY kernel test infrastructure Open Source Technology Center >> https://lists.01.org/pipermail/kbuild-all Intel Corporation > > >_______________________________________________ >kbuild-all mailing list >kbuild-all@lists.01.org >https://lists.01.org/mailman/listinfo/kbuild-all