* arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
@ 2016-04-18 15:29 kbuild test robot
2016-04-18 15:52 ` Max Filippov
0 siblings, 1 reply; 4+ messages in thread
From: kbuild test robot @ 2016-04-18 15:29 UTC (permalink / raw)
To: Piet Delaney; +Cc: kbuild-all, linux-kernel, Chris Zankel, Max Filippov
[-- Attachment #1: Type: text/plain, Size: 5539 bytes --]
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
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 10111 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
2016-04-18 15:29 arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer' kbuild test robot
@ 2016-04-18 15:52 ` Max Filippov
2016-04-19 1:43 ` Philip Li
2016-04-19 1:52 ` [kbuild-all] " Fengguang Wu
0 siblings, 2 replies; 4+ messages in thread
From: Max Filippov @ 2016-04-18 15:52 UTC (permalink / raw)
To: kbuild test robot; +Cc: Piet Delaney, kbuild-all, LKML, Chris Zankel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
2016-04-18 15:52 ` Max Filippov
@ 2016-04-19 1:43 ` Philip Li
2016-04-19 1:52 ` [kbuild-all] " Fengguang Wu
1 sibling, 0 replies; 4+ messages in thread
From: Philip Li @ 2016-04-19 1:43 UTC (permalink / raw)
To: Max Filippov
Cc: kbuild test robot, Piet Delaney, kbuild-all, LKML, Chris Zankel
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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [kbuild-all] arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'
2016-04-18 15:52 ` Max Filippov
2016-04-19 1:43 ` Philip Li
@ 2016-04-19 1:52 ` Fengguang Wu
1 sibling, 0 replies; 4+ messages in thread
From: Fengguang Wu @ 2016-04-19 1:52 UTC (permalink / raw)
To: Max Filippov, Philip Li; +Cc: LKML, Chris Zankel, Piet Delaney, kbuild-all
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-04-19 1:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-18 15:29 arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer' kbuild test robot
2016-04-18 15:52 ` Max Filippov
2016-04-19 1:43 ` Philip Li
2016-04-19 1:52 ` [kbuild-all] " Fengguang Wu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).