[jirislaby-stable:stable-3.12-queue 2253/3338] arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f1,904($4)'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sasha,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux-stable.git stable-3.12-queue
head:   83527a0b730e1458a3a4e5db3af74bef0bb9ce05
commit: 478a5f81defe61a89083f3b719e142f250427098 [2253/3338] kernel: add support for gcc 5
config: mips-fuloong2e_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 478a5f81defe61a89083f3b719e142f250427098
        # save the attached .config to linux build tree
        make.cross ARCH=mips 

All error/warnings (new ones prefixed by >>):

   arch/mips/kernel/r4k_switch.S: Assembler messages:
>> arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f1,904($4)'
>> arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f3,920($4)'
>> arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f5,936($4)'
>> arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f7,952($4)'
>> arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f9,968($4)'
>> arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f11,984($4)'
>> arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f13,1000($4)'
>> arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f15,1016($4)'
>> arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f17,1032($4)'
>> arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f19,1048($4)'
>> arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f21,1064($4)'
>> arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f23,1080($4)'
>> arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f25,1096($4)'
>> arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f27,1112($4)'
>> arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f29,1128($4)'
>> arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f31,1144($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f0,896($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f2,912($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f4,928($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f6,944($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f8,960($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f10,976($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f12,992($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f14,1008($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f16,1024($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f18,1040($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f20,1056($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f22,1072($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f24,1088($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f26,1104($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f28,1120($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f30,1136($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f1,904($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f3,920($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f5,936($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f7,952($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f9,968($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f11,984($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f13,1000($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f15,1016($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f17,1032($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f19,1048($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f21,1064($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f23,1080($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f25,1096($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f27,1112($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f29,1128($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f31,1144($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f0,896($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f2,912($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f4,928($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f6,944($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f8,960($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f10,976($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f12,992($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f14,1008($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f16,1024($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f18,1040($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f20,1056($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f22,1072($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f24,1088($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f26,1104($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f28,1120($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: loongson2e (mips3) `sdc1 $f30,1136($4)'
>> arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: loongson2e (mips3) `ldc1 $f1,904($4)'
>> arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: loongson2e (mips3) `ldc1 $f3,920($4)'
>> arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: loongson2e (mips3) `ldc1 $f5,936($4)'
>> arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: loongson2e (mips3) `ldc1 $f7,952($4)'

vim +67 arch/mips/kernel/r4k_switch.S

^1da177e Linus Torvalds 2005-04-16   61  	 */
^1da177e Linus Torvalds 2005-04-16   62  	LONG_L	t0, ST_OFF(t3)
^1da177e Linus Torvalds 2005-04-16   63  	li	t1, ~ST0_CU1
^1da177e Linus Torvalds 2005-04-16   64  	and	t0, t0, t1
^1da177e Linus Torvalds 2005-04-16   65  	LONG_S	t0, ST_OFF(t3)
^1da177e Linus Torvalds 2005-04-16   66  
c138e12f Atsushi Nemoto 2006-05-23  @67  	fpu_save_double a0 t0 t1		# c0_status passed in t0
c138e12f Atsushi Nemoto 2006-05-23   68  						# clobbers t1
^1da177e Linus Torvalds 2005-04-16   69  1:
^1da177e Linus Torvalds 2005-04-16   70  
1400eb65 Gregory Fong   2013-06-17   71  #if defined(CONFIG_CC_STACKPROTECTOR) && !defined(CONFIG_SMP)
8b3c569a James Hogan    2013-10-07   72  	PTR_LA	t8, __stack_chk_guard
1400eb65 Gregory Fong   2013-06-17   73  	LONG_L	t9, TASK_STACK_CANARY(a1)
1400eb65 Gregory Fong   2013-06-17   74  	LONG_S	t9, 0(t8)
1400eb65 Gregory Fong   2013-06-17   75  #endif
1400eb65 Gregory Fong   2013-06-17   76  
^1da177e Linus Torvalds 2005-04-16   77  	/*
^1da177e Linus Torvalds 2005-04-16   78  	 * The order of restoring the registers takes care of the race
^1da177e Linus Torvalds 2005-04-16   79  	 * updating $28, $29 and kernelsp without disabling ints.
^1da177e Linus Torvalds 2005-04-16   80  	 */
^1da177e Linus Torvalds 2005-04-16   81  	move	$28, a2
^1da177e Linus Torvalds 2005-04-16   82  	cpu_restore_nonscratch a1
^1da177e Linus Torvalds 2005-04-16   83  
3bd39664 Ralf Baechle   2007-07-11   84  	PTR_ADDU	t0, $28, _THREAD_SIZE - 32
^1da177e Linus Torvalds 2005-04-16   85  	set_saved_sp	t0, t1, t2
41c594ab Ralf Baechle   2006-04-05   86  #ifdef CONFIG_MIPS_MT_SMTC
41c594ab Ralf Baechle   2006-04-05   87  	/* Read-modify-writes of Status must be atomic on a VPE */
41c594ab Ralf Baechle   2006-04-05   88  	mfc0	t2, CP0_TCSTATUS
41c594ab Ralf Baechle   2006-04-05   89  	ori	t1, t2, TCSTATUS_IXMT
41c594ab Ralf Baechle   2006-04-05   90  	mtc0	t1, CP0_TCSTATUS
41c594ab Ralf Baechle   2006-04-05   91  	andi	t2, t2, TCSTATUS_IXMT
4277ff5e Ralf Baechle   2006-06-03   92  	_ehb
41c594ab Ralf Baechle   2006-04-05   93  	DMT	8				# dmt	t0
41c594ab Ralf Baechle   2006-04-05   94  	move	t1,ra
41c594ab Ralf Baechle   2006-04-05   95  	jal	mips_ihb
41c594ab Ralf Baechle   2006-04-05   96  	move	ra,t1
41c594ab Ralf Baechle   2006-04-05   97  #endif /* CONFIG_MIPS_MT_SMTC */
^1da177e Linus Torvalds 2005-04-16   98  	mfc0	t1, CP0_STATUS		/* Do we really need this? */
^1da177e Linus Torvalds 2005-04-16   99  	li	a3, 0xff01
^1da177e Linus Torvalds 2005-04-16  100  	and	t1, a3
^1da177e Linus Torvalds 2005-04-16  101  	LONG_L	a2, THREAD_STATUS(a1)
^1da177e Linus Torvalds 2005-04-16  102  	nor	a3, $0, a3
^1da177e Linus Torvalds 2005-04-16  103  	and	a2, a3
^1da177e Linus Torvalds 2005-04-16  104  	or	a2, t1
^1da177e Linus Torvalds 2005-04-16  105  	mtc0	a2, CP0_STATUS
41c594ab Ralf Baechle   2006-04-05  106  #ifdef CONFIG_MIPS_MT_SMTC
4277ff5e Ralf Baechle   2006-06-03  107  	_ehb
41c594ab Ralf Baechle   2006-04-05  108  	andi	t0, t0, VPECONTROL_TE
41c594ab Ralf Baechle   2006-04-05  109  	beqz	t0, 1f
41c594ab Ralf Baechle   2006-04-05  110  	emt
41c594ab Ralf Baechle   2006-04-05  111  1:
41c594ab Ralf Baechle   2006-04-05  112  	mfc0	t1, CP0_TCSTATUS
41c594ab Ralf Baechle   2006-04-05  113  	xori	t1, t1, TCSTATUS_IXMT
41c594ab Ralf Baechle   2006-04-05  114  	or	t1, t1, t2
41c594ab Ralf Baechle   2006-04-05  115  	mtc0	t1, CP0_TCSTATUS
4277ff5e Ralf Baechle   2006-06-03  116  	_ehb
41c594ab Ralf Baechle   2006-04-05  117  #endif /* CONFIG_MIPS_MT_SMTC */
^1da177e Linus Torvalds 2005-04-16  118  	move	v0, a0
^1da177e Linus Torvalds 2005-04-16  119  	jr	ra
^1da177e Linus Torvalds 2005-04-16  120  	END(resume)
^1da177e Linus Torvalds 2005-04-16  121  
^1da177e Linus Torvalds 2005-04-16  122  /*
^1da177e Linus Torvalds 2005-04-16  123   * Save a thread's fp context.
^1da177e Linus Torvalds 2005-04-16  124   */
^1da177e Linus Torvalds 2005-04-16  125  LEAF(_save_fp)
875d43e7 Ralf Baechle   2005-09-03  126  #ifdef CONFIG_64BIT
c138e12f Atsushi Nemoto 2006-05-23  127  	mfc0	t0, CP0_STATUS
^1da177e Linus Torvalds 2005-04-16  128  #endif
c138e12f Atsushi Nemoto 2006-05-23 @129  	fpu_save_double a0 t0 t1		# clobbers t1
^1da177e Linus Torvalds 2005-04-16  130  	jr	ra
^1da177e Linus Torvalds 2005-04-16  131  	END(_save_fp)
^1da177e Linus Torvalds 2005-04-16  132  
^1da177e Linus Torvalds 2005-04-16  133  /*
^1da177e Linus Torvalds 2005-04-16  134   * Restore a thread's fp context.
^1da177e Linus Torvalds 2005-04-16  135   */
^1da177e Linus Torvalds 2005-04-16  136  LEAF(_restore_fp)
c138e12f Atsushi Nemoto 2006-05-23  137  #ifdef CONFIG_64BIT
c138e12f Atsushi Nemoto 2006-05-23  138  	mfc0	t0, CP0_STATUS
c138e12f Atsushi Nemoto 2006-05-23  139  #endif
c138e12f Atsushi Nemoto 2006-05-23 @140  	fpu_restore_double a0 t0 t1		# clobbers t1
^1da177e Linus Torvalds 2005-04-16  141  	jr	ra
^1da177e Linus Torvalds 2005-04-16  142  	END(_restore_fp)
^1da177e Linus Torvalds 2005-04-16  143  

:::::: The code at line 67 was first introduced by commit
:::::: c138e12f3a2e0421a4c8edf02587d2d394418679 [MIPS] Fix fpu_save_double on 64-bit.

:::::: TO: Atsushi Nemoto <anemo@xxxxxxxxxxxxx>
:::::: CC: Ralf Baechle <ralf@xxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]