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

From: kbuild test robot
Date: Mon Apr 18 2016 - 11:27:45 EST


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@xxxxxxxxx>
:::::: CC: Chris Zankel <chris@xxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data