[linux-stable-rc:linux-3.14.y 1941/4884] arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f0,648($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/stable/linux-stable-rc.git linux-3.14.y
head:   43ef7e3ec8016449b3b0afdeaee89053687d1680
commit: 017ff97daa4a7892181a4dd315c657108419da0c [1941/4884] kernel: add support for gcc 5
config: mips-allnoconfig (attached as .config)
compiler: mips-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
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 017ff97daa4a7892181a4dd315c657108419da0c
        # save the attached .config to linux build tree
        make.cross ARCH=mips 

All errors (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: r4600 (mips3) `sdc1 $f0,648($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f2,664($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f4,680($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f6,696($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f8,712($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f10,728($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f12,744($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f14,760($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f16,776($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f18,792($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f20,808($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f22,824($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f24,840($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f26,856($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f28,872($4)'
   arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f30,888($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f0,648($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f2,664($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f4,680($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f6,696($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f8,712($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f10,728($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f12,744($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f14,760($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f16,776($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f18,792($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f20,808($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f22,824($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f24,840($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f26,856($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f28,872($4)'
   arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: r4600 (mips3) `sdc1 $f30,888($4)'
>> arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: r4600 (mips3) `ldc1 $f0,648($4)'
   arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: r4600 (mips3) `ldc1 $f2,664($4)'
   arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: r4600 (mips3) `ldc1 $f4,680($4)'
   arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: r4600 (mips3) `ldc1 $f6,696($4)'
   arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: r4600 (mips3) `ldc1 $f8,712($4)'
   arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: r4600 (mips3) `ldc1 $f10,728($4)'
   arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: r4600 (mips3) `ldc1 $f12,744($4)'
   arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: r4600 (mips3) `ldc1 $f14,760($4)'
   arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: r4600 (mips3) `ldc1 $f16,776($4)'
   arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: r4600 (mips3) `ldc1 $f18,792($4)'
   arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: r4600 (mips3) `ldc1 $f20,808($4)'
   arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: r4600 (mips3) `ldc1 $f22,824($4)'
   arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: r4600 (mips3) `ldc1 $f24,840($4)'
   arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: r4600 (mips3) `ldc1 $f26,856($4)'
   arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: r4600 (mips3) `ldc1 $f28,872($4)'
   arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: r4600 (mips3) `ldc1 $f30,888($4)'
>> arch/mips/kernel/r4k_switch.S:274: Error: opcode not supported on this processor: mips3 (mips3) `dmtc1 $9,$f0'
>> arch/mips/kernel/r4k_switch.S:275: Error: opcode not supported on this processor: mips3 (mips3) `dmtc1 $9,$f2'
>> arch/mips/kernel/r4k_switch.S:276: Error: opcode not supported on this processor: mips3 (mips3) `dmtc1 $9,$f4'
>> arch/mips/kernel/r4k_switch.S:277: Error: opcode not supported on this processor: mips3 (mips3) `dmtc1 $9,$f6'
>> arch/mips/kernel/r4k_switch.S:278: Error: opcode not supported on this processor: mips3 (mips3) `dmtc1 $9,$f8'
>> arch/mips/kernel/r4k_switch.S:279: Error: opcode not supported on this processor: mips3 (mips3) `dmtc1 $9,$f10'
>> arch/mips/kernel/r4k_switch.S:280: Error: opcode not supported on this processor: mips3 (mips3) `dmtc1 $9,$f12'
>> arch/mips/kernel/r4k_switch.S:281: Error: opcode not supported on this processor: mips3 (mips3) `dmtc1 $9,$f14'
>> arch/mips/kernel/r4k_switch.S:282: Error: opcode not supported on this processor: mips3 (mips3) `dmtc1 $9,$f16'
>> arch/mips/kernel/r4k_switch.S:283: Error: opcode not supported on this processor: mips3 (mips3) `dmtc1 $9,$f18'
>> arch/mips/kernel/r4k_switch.S:284: Error: opcode not supported on this processor: mips3 (mips3) `dmtc1 $9,$f20'
>> arch/mips/kernel/r4k_switch.S:285: Error: opcode not supported on this processor: mips3 (mips3) `dmtc1 $9,$f22'
>> arch/mips/kernel/r4k_switch.S:286: Error: opcode not supported on this processor: mips3 (mips3) `dmtc1 $9,$f24'
>> arch/mips/kernel/r4k_switch.S:287: Error: opcode not supported on this processor: mips3 (mips3) `dmtc1 $9,$f26'
>> arch/mips/kernel/r4k_switch.S:288: Error: opcode not supported on this processor: mips3 (mips3) `dmtc1 $9,$f28'
>> arch/mips/kernel/r4k_switch.S:289: Error: opcode not supported on this processor: mips3 (mips3) `dmtc1 $9,$f30'

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)
597ce172 Paul Burton    2013-11-22  126  #if defined(CONFIG_64BIT) || defined(CONFIG_CPU_MIPS32_R2)
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)
597ce172 Paul Burton    2013-11-22  137  #if defined(CONFIG_64BIT) || defined(CONFIG_CPU_MIPS32_R2)
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]