Re: [kbuild-all] arch/xtensa/include/asm/initialize_mmu.h:55: Error: invalid register 'atomctl' for 'wsr' instruction

From: Max Filippov
Date: Mon Jul 25 2016 - 19:20:33 EST


Hi Fengguang,

On Fri, Jul 22, 2016 at 3:44 PM, Fengguang Wu <fengguang.wu@xxxxxxxxx> wrote:
> On Fri, Jul 22, 2016 at 06:32:28PM +0800, kbuild test robot wrote:
>> FYI, the error/warning still remains.
>>
>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>> master
>> head: 47ef4ad2684d380dd6d596140fb79395115c3950
>> commit: 9da8320bb97768e35f2e64fa7642015271d672eb xtensa: add
>> test_kc705_hifi variant
>> date: 4 months ago
>> config: xtensa-audio_kc705_defconfig (attached as .config)
>> compiler: xtensa-linux-gcc (GCC) 4.9.0
>
>> All errors (new ones prefixed by >>):
>>
>> arch/xtensa/include/asm/initialize_mmu.h: Assembler messages:
>>>>
>>>> arch/xtensa/include/asm/initialize_mmu.h:55: Error: invalid register
>>>> 'atomctl' for 'wsr' instruction
>>
>> --
>> arch/xtensa/kernel/coprocessor.S: Assembler messages:
>>>>
>>>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format
>>>> name 'rur.ae_ovf_sar'
>>>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format
>>>> name 'rur.ae_bithead'
>>>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format
>>>> name 'rur.ae_ts_fts_bu_bp'
>>>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format
>>>> name 'rur.ae_cw_sd_no'
>>>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format
>>>> name 'rur.ae_cbegin0'
>>>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format
>>>> name 'rur.ae_cend0'
>>>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format
>>>> name 'ae_s64.i'
>>>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format
>>>> name 'ae_s64.i'
>
> Are they really matter? Or I can shut these errors up.

Looks like I haven't supplied you with the compiler for test_kc705_hifi, for
which these errors are reported. I've built it and put it here:

http://jcmvbkbc.spb.ru/~jcmvbkbc/tmp/201604261801/x86_64-gcc-5.3.0-nolibc-xtensa-test_kc705_hifi-elf.tar.xz

Please integrate it into your system along with other xtensa compilers.

--
Thanks.
-- Max