Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1381832 > unrolled thread

arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'

Started bykbuild test robot <fengguang.wu@intel.com>
First post2016-04-18 17:30 +0200
Last post2016-04-19 04:00 +0200
Articles 4 — 4 participants

Back to article view | Back to linux.kernel


Contents

  arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or  format name 'wer' kbuild test robot <fengguang.wu@intel.com> - 2016-04-18 17:30 +0200
    Re: arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or  format name 'wer' Max Filippov <jcmvbkbc@gmail.com> - 2016-04-18 18:00 +0200
      Re: arch/xtensa/include/asm/processor.h:227: Error: unknown opcode  or format name 'wer' Philip Li <philip.li@intel.com> - 2016-04-19 03:50 +0200
      Re: [kbuild-all] arch/xtensa/include/asm/processor.h:227: Error:  unknown opcode or format name 'wer' Fengguang Wu <fengguang.wu@intel.com> - 2016-04-19 04:00 +0200

#1381832 — arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'

Fromkbuild test robot <fengguang.wu@intel.com>
Date2016-04-18 17:30 +0200
Subjectarch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
Message-ID<rpjhF-7Oq-29@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hi Piet,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   c3b46c73264b03000d1e18b22f5caf63332547c9
commit: 2c684d892bb2ee31cc48f4a8b91e86a0f15e82f9 xtensa: add Three Core HiFi-2 MX Variant.
date:   5 weeks ago
config: xtensa-smp_lx200_defconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 2c684d892bb2ee31cc48f4a8b91e86a0f15e82f9
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   arch/xtensa/include/asm/processor.h: Assembler messages:
>> arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
>> arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
>> arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
--
   arch/xtensa/kernel/coprocessor.S: Assembler messages:
>> arch/xtensa/kernel/coprocessor.S:93: Error: invalid register number (240) for 'rur240'
>> arch/xtensa/kernel/coprocessor.S:93: Error: invalid register number (241) for 'rur241'
>> arch/xtensa/kernel/coprocessor.S:93: Error: invalid register number (242) for 'rur242'
>> arch/xtensa/kernel/coprocessor.S:93: Error: invalid register number (243) for 'rur243'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 'ae_sp24x2s.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 'ae_sp24x2s.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 'ae_sp24x2s.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 'ae_sp24x2s.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 'ae_sp24x2s.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 'ae_sp24x2s.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 'ae_sp24x2s.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 'ae_sp24x2s.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 'ae_sq56s.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 'ae_sq56s.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 'ae_sq56s.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 'ae_sq56s.i'
>> arch/xtensa/kernel/coprocessor.S:102: Error: invalid register number (240) for 'wur240'
>> arch/xtensa/kernel/coprocessor.S:102: Error: invalid register number (241) for 'wur241'
>> arch/xtensa/kernel/coprocessor.S:102: Error: invalid register number (242) for 'wur242'
>> arch/xtensa/kernel/coprocessor.S:102: Error: invalid register number (243) for 'wur243'
--
   arch/xtensa/include/asm/processor.h: Assembler messages:
>> arch/xtensa/include/asm/processor.h:233: Error: unknown opcode or format name 'rer'
>> arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
>> arch/xtensa/include/asm/processor.h:233: Error: unknown opcode or format name 'rer'
>> arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
>> arch/xtensa/include/asm/processor.h:233: Error: unknown opcode or format name 'rer'
>> arch/xtensa/include/asm/processor.h:233: Error: unknown opcode or format name 'rer'
>> arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
>> arch/xtensa/include/asm/processor.h:233: Error: unknown opcode or format name 'rer'
>> arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
>> arch/xtensa/include/asm/processor.h:233: Error: unknown opcode or format name 'rer'
>> arch/xtensa/include/asm/processor.h:233: Error: unknown opcode or format name 'rer'
--
   arch/xtensa/kernel/head.S: Assembler messages:
>> arch/xtensa/kernel/head.S:187: Error: unknown opcode or format name 'wer'
   arch/xtensa/kernel/head.S:317: Error: unknown opcode or format name 'wer'

vim +/wer +227 arch/xtensa/include/asm/processor.h

26a8e96a Max Filippov 2013-12-01  221  #endif
26a8e96a Max Filippov 2013-12-01  222  
26a8e96a Max Filippov 2013-12-01  223  #if XCHAL_HAVE_EXTERN_REGS
26a8e96a Max Filippov 2013-12-01  224  
26a8e96a Max Filippov 2013-12-01  225  static inline void set_er(unsigned long value, unsigned long addr)
26a8e96a Max Filippov 2013-12-01  226  {
26a8e96a Max Filippov 2013-12-01 @227  	asm volatile ("wer %0, %1" : : "a" (value), "a" (addr) : "memory");
26a8e96a Max Filippov 2013-12-01  228  }
26a8e96a Max Filippov 2013-12-01  229  
26a8e96a Max Filippov 2013-12-01  230  static inline unsigned long get_er(unsigned long addr)
26a8e96a Max Filippov 2013-12-01  231  {
26a8e96a Max Filippov 2013-12-01  232  	register unsigned long value;
26a8e96a Max Filippov 2013-12-01 @233  	asm volatile ("rer %0, %1" : "=a" (value) : "a" (addr) : "memory");
26a8e96a Max Filippov 2013-12-01  234  	return value;
26a8e96a Max Filippov 2013-12-01  235  }
26a8e96a Max Filippov 2013-12-01  236  

:::::: The code at line 227 was first introduced by commit
:::::: 26a8e96a8b37e8070fa9dcb1b7490cf4d4492d50 xtensa: add MX irqchip

:::::: TO: Max Filippov <jcmvbkbc@gmail.com>
:::::: CC: Chris Zankel <chris@zankel.net>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[toc] | [next] | [standalone]


#1381855

FromMax Filippov <jcmvbkbc@gmail.com>
Date2016-04-18 18:00 +0200
Message-ID<rpjKI-82N-43@gated-at.bofh.it>
In reply to#1381832
Hi Fengguang,

On Mon, Apr 18, 2016 at 6:29 PM, kbuild test robot
<fengguang.wu@intel.com> wrote:
> FYI, the error/warning still remains.
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   c3b46c73264b03000d1e18b22f5caf63332547c9
> commit: 2c684d892bb2ee31cc48f4a8b91e86a0f15e82f9 xtensa: add Three Core HiFi-2 MX Variant.
> date:   5 weeks ago
> config: xtensa-smp_lx200_defconfig (attached as .config)
> reproduce:
>         wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout 2c684d892bb2ee31cc48f4a8b91e86a0f15e82f9
>         # save the attached .config to linux build tree
>         make.cross ARCH=xtensa
>
> All errors (new ones prefixed by >>):
>
>    arch/xtensa/include/asm/processor.h: Assembler messages:
>>> arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
>>> arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
>>> arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'

As I said before these are not errors in the linux code, that's
a result of using a compiler not configured for this specific xtensa core.

How can I help to fix it?

-- 
Thanks.
-- Max

[toc] | [prev] | [next] | [standalone]


#1382120 — Re: arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'

FromPhilip Li <philip.li@intel.com>
Date2016-04-19 03:50 +0200
SubjectRe: arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
Message-ID<rpsXD-7eq-1@gated-at.bofh.it>
In reply to#1381855
On Mon, Apr 18, 2016 at 06:52:57PM +0300, Max Filippov wrote:
> Hi Fengguang,
> 
> On Mon, Apr 18, 2016 at 6:29 PM, kbuild test robot
> <fengguang.wu@intel.com> wrote:
> > FYI, the error/warning still remains.
> >
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head:   c3b46c73264b03000d1e18b22f5caf63332547c9
> > commit: 2c684d892bb2ee31cc48f4a8b91e86a0f15e82f9 xtensa: add Three Core HiFi-2 MX Variant.
> > date:   5 weeks ago
> > config: xtensa-smp_lx200_defconfig (attached as .config)
> > reproduce:
> >         wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
> >         chmod +x ~/bin/make.cross
> >         git checkout 2c684d892bb2ee31cc48f4a8b91e86a0f15e82f9
> >         # save the attached .config to linux build tree
> >         make.cross ARCH=xtensa
> >
> > All errors (new ones prefixed by >>):
> >
> >    arch/xtensa/include/asm/processor.h: Assembler messages:
> >>> arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
> >>> arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
> >>> arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
> 
> As I said before these are not errors in the linux code, that's
> a result of using a compiler not configured for this specific xtensa core.
> 
sorry for the noise Max, let me follow up this in early next week.

> How can I help to fix it?
> 
> -- 
> Thanks.
> -- Max
> 

[toc] | [prev] | [next] | [standalone]


#1382125 — Re: [kbuild-all] arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'

FromFengguang Wu <fengguang.wu@intel.com>
Date2016-04-19 04:00 +0200
SubjectRe: [kbuild-all] arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
Message-ID<rpt7m-7i8-13@gated-at.bofh.it>
In reply to#1381855
Sorry Filippov!

Philip, how about giving more priority to this issue?

Thanks,
Fengguang

On Mon, Apr 18, 2016 at 06:52:57PM +0300, Max Filippov wrote:
> Hi Fengguang,
> 
> On Mon, Apr 18, 2016 at 6:29 PM, kbuild test robot
> <fengguang.wu@intel.com> wrote:
> > FYI, the error/warning still remains.
> >
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head:   c3b46c73264b03000d1e18b22f5caf63332547c9
> > commit: 2c684d892bb2ee31cc48f4a8b91e86a0f15e82f9 xtensa: add Three Core HiFi-2 MX Variant.
> > date:   5 weeks ago
> > config: xtensa-smp_lx200_defconfig (attached as .config)
> > reproduce:
> >         wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
> >         chmod +x ~/bin/make.cross
> >         git checkout 2c684d892bb2ee31cc48f4a8b91e86a0f15e82f9
> >         # save the attached .config to linux build tree
> >         make.cross ARCH=xtensa
> >
> > All errors (new ones prefixed by >>):
> >
> >    arch/xtensa/include/asm/processor.h: Assembler messages:
> >>> arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
> >>> arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
> >>> arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
> 
> As I said before these are not errors in the linux code, that's
> a result of using a compiler not configured for this specific xtensa core.
> 
> How can I help to fix it?
> 
> -- 
> Thanks.
> -- Max
> _______________________________________________
> kbuild-all mailing list
> kbuild-all@lists.01.org
> https://lists.01.org/mailman/listinfo/kbuild-all

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web