Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1448529 > unrolled thread
| Started by | kbuild test robot <fengguang.wu@intel.com> |
|---|---|
| First post | 2016-07-22 12:30 +0200 |
| Last post | 2016-07-26 06:50 +0200 |
| Articles | 4 — 3 participants |
Back to article view | Back to linux.kernel
arch/xtensa/include/asm/initialize_mmu.h:55: Error: invalid register 'atomctl' for 'wsr' instruction kbuild test robot <fengguang.wu@intel.com> - 2016-07-22 12:30 +0200
Re: [kbuild-all] arch/xtensa/include/asm/initialize_mmu.h:55: Error: invalid register 'atomctl' for 'wsr' instruction Fengguang Wu <fengguang.wu@intel.com> - 2016-07-22 14:50 +0200
Re: [kbuild-all] arch/xtensa/include/asm/initialize_mmu.h:55: Error: invalid register 'atomctl' for 'wsr' instruction Max Filippov <jcmvbkbc@gmail.com> - 2016-07-26 01:30 +0200
Re: [kbuild-all] arch/xtensa/include/asm/initialize_mmu.h:55: Error: invalid register 'atomctl' for 'wsr' instruction Fengguang Wu <fengguang.wu@intel.com> - 2016-07-26 06:50 +0200
| From | kbuild test robot <fengguang.wu@intel.com> |
|---|---|
| Date | 2016-07-22 12:30 +0200 |
| Subject | arch/xtensa/include/asm/initialize_mmu.h:55: Error: invalid register 'atomctl' for 'wsr' instruction |
| Message-ID | <rXFSq-4xq-33@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Hi,
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
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 9da8320bb97768e35f2e64fa7642015271d672eb
# save the attached .config to linux build tree
make.cross ARCH=xtensa
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'
>> 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'
>> 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'
>> 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'
>> 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'
>> 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'
>> 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'
vim +55 arch/xtensa/include/asm/initialize_mmu.h
6cb97111 Baruch Siach 2013-12-29 39
c622b29d Max Filippov 2012-11-19 40 #ifdef __ASSEMBLY__
c622b29d Max Filippov 2012-11-19 41
c622b29d Max Filippov 2012-11-19 42 #define XTENSA_HWVERSION_RC_2009_0 230000
c622b29d Max Filippov 2012-11-19 43
c622b29d Max Filippov 2012-11-19 44 .macro initialize_mmu
c622b29d Max Filippov 2012-11-19 45
c622b29d Max Filippov 2012-11-19 46 #if XCHAL_HAVE_S32C1I && (XCHAL_HW_MIN_VERSION >= XTENSA_HWVERSION_RC_2009_0)
c622b29d Max Filippov 2012-11-19 47 /*
c622b29d Max Filippov 2012-11-19 48 * We Have Atomic Operation Control (ATOMCTL) Register; Initialize it.
c622b29d Max Filippov 2012-11-19 49 * For details see Documentation/xtensa/atomctl.txt
c622b29d Max Filippov 2012-11-19 50 */
c622b29d Max Filippov 2012-11-19 51 #if XCHAL_DCACHE_IS_COHERENT
c622b29d Max Filippov 2012-11-19 52 movi a3, 0x25 /* For SMP/MX -- internal for writeback,
c622b29d Max Filippov 2012-11-19 53 * RCW otherwise
c622b29d Max Filippov 2012-11-19 54 */
c622b29d Max Filippov 2012-11-19 @55 #else
c622b29d Max Filippov 2012-11-19 56 movi a3, 0x29 /* non-MX -- Most cores use Std Memory
c622b29d Max Filippov 2012-11-19 57 * Controlers which usually can't use RCW
c622b29d Max Filippov 2012-11-19 58 */
c622b29d Max Filippov 2012-11-19 59 #endif
c622b29d Max Filippov 2012-11-19 60 wsr a3, atomctl
c622b29d Max Filippov 2012-11-19 61 #endif /* XCHAL_HAVE_S32C1I &&
c622b29d Max Filippov 2012-11-19 62 * (XCHAL_HW_MIN_VERSION >= XTENSA_HWVERSION_RC_2009_0)
c622b29d Max Filippov 2012-11-19 63 */
:::::: The code at line 55 was first introduced by commit
:::::: c622b29d1f38021411965b7e0170ab055551b257 xtensa: initialize atomctl SR
:::::: 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]
| From | Fengguang Wu <fengguang.wu@intel.com> |
|---|---|
| Date | 2016-07-22 14:50 +0200 |
| Subject | Re: [kbuild-all] arch/xtensa/include/asm/initialize_mmu.h:55: Error: invalid register 'atomctl' for 'wsr' instruction |
| Message-ID | <rXI3U-5Un-25@gated-at.bofh.it> |
| In reply to | #1448529 |
Hi Max, On Fri, Jul 22, 2016 at 06:32:28PM +0800, kbuild test robot wrote: >Hi, > >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. Thanks, Fengguang >>> 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' >>> 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' >>> 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' >>> 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' >>> 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' >>> 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' > >vim +55 arch/xtensa/include/asm/initialize_mmu.h > >6cb97111 Baruch Siach 2013-12-29 39 >c622b29d Max Filippov 2012-11-19 40 #ifdef __ASSEMBLY__ >c622b29d Max Filippov 2012-11-19 41 >c622b29d Max Filippov 2012-11-19 42 #define XTENSA_HWVERSION_RC_2009_0 230000 >c622b29d Max Filippov 2012-11-19 43 >c622b29d Max Filippov 2012-11-19 44 .macro initialize_mmu >c622b29d Max Filippov 2012-11-19 45 >c622b29d Max Filippov 2012-11-19 46 #if XCHAL_HAVE_S32C1I && (XCHAL_HW_MIN_VERSION >= XTENSA_HWVERSION_RC_2009_0) >c622b29d Max Filippov 2012-11-19 47 /* >c622b29d Max Filippov 2012-11-19 48 * We Have Atomic Operation Control (ATOMCTL) Register; Initialize it. >c622b29d Max Filippov 2012-11-19 49 * For details see Documentation/xtensa/atomctl.txt >c622b29d Max Filippov 2012-11-19 50 */ >c622b29d Max Filippov 2012-11-19 51 #if XCHAL_DCACHE_IS_COHERENT >c622b29d Max Filippov 2012-11-19 52 movi a3, 0x25 /* For SMP/MX -- internal for writeback, >c622b29d Max Filippov 2012-11-19 53 * RCW otherwise >c622b29d Max Filippov 2012-11-19 54 */ >c622b29d Max Filippov 2012-11-19 @55 #else >c622b29d Max Filippov 2012-11-19 56 movi a3, 0x29 /* non-MX -- Most cores use Std Memory >c622b29d Max Filippov 2012-11-19 57 * Controlers which usually can't use RCW >c622b29d Max Filippov 2012-11-19 58 */ >c622b29d Max Filippov 2012-11-19 59 #endif >c622b29d Max Filippov 2012-11-19 60 wsr a3, atomctl >c622b29d Max Filippov 2012-11-19 61 #endif /* XCHAL_HAVE_S32C1I && >c622b29d Max Filippov 2012-11-19 62 * (XCHAL_HW_MIN_VERSION >= XTENSA_HWVERSION_RC_2009_0) >c622b29d Max Filippov 2012-11-19 63 */ > >:::::: The code at line 55 was first introduced by commit >:::::: c622b29d1f38021411965b7e0170ab055551b257 xtensa: initialize atomctl SR > >:::::: 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 >_______________________________________________ >kbuild-all mailing list >kbuild-all@lists.01.org >https://lists.01.org/mailman/listinfo/kbuild-all
[toc] | [prev] | [next] | [standalone]
| From | Max Filippov <jcmvbkbc@gmail.com> |
|---|---|
| Date | 2016-07-26 01:30 +0200 |
| Subject | Re: [kbuild-all] arch/xtensa/include/asm/initialize_mmu.h:55: Error: invalid register 'atomctl' for 'wsr' instruction |
| Message-ID | <rYXtT-2Lh-9@gated-at.bofh.it> |
| In reply to | #1448567 |
Hi Fengguang, On Fri, Jul 22, 2016 at 3:44 PM, Fengguang Wu <fengguang.wu@intel.com> 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
[toc] | [prev] | [next] | [standalone]
| From | Fengguang Wu <fengguang.wu@intel.com> |
|---|---|
| Date | 2016-07-26 06:50 +0200 |
| Subject | Re: [kbuild-all] arch/xtensa/include/asm/initialize_mmu.h:55: Error: invalid register 'atomctl' for 'wsr' instruction |
| Message-ID | <rZ2tz-5W4-11@gated-at.bofh.it> |
| In reply to | #1450254 |
Hi Max, On Tue, Jul 26, 2016 at 02:20:25AM +0300, Max Filippov wrote: >Hi Fengguang, > >On Fri, Jul 22, 2016 at 3:44 PM, Fengguang Wu <fengguang.wu@intel.com> 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. OK, done. :) Thanks, Fengguang
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web