lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sun, 6 Nov 2016 08:54:56 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     Will Deacon <will.deacon@....com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        Andrew Morton <akpm@...ux-foundation.org>,
        Linux Memory Management List <linux-mm@...ck.org>
Subject: arch/ia64/kernel/fsys.S:67: Error: Operand 3 of `add' should be a
 general register r0-r3

Hi Will,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   ffbcbfca846ed117e3d4009acfbf1e1590c56b2f
commit: da48d094ce5d7c7dcdad9011648a81c42fd1c2ef Kconfig: remove HAVE_LATENCYTOP_SUPPORT
date:   10 months ago
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.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 da48d094ce5d7c7dcdad9011648a81c42fd1c2ef
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

All errors (new ones prefixed by >>):

   arch/ia64/kernel/fsys.S: Assembler messages:
>> arch/ia64/kernel/fsys.S:67: Error: Operand 3 of `add' should be a general register r0-r3
   arch/ia64/kernel/fsys.S:97: Error: Operand 3 of `add' should be a general register r0-r3
   arch/ia64/kernel/fsys.S:193: Error: Operand 3 of `add' should be a general register r0-r3
   arch/ia64/kernel/fsys.S:336: Error: Operand 3 of `add' should be a general register r0-r3
   arch/ia64/kernel/fsys.S:338: Error: Operand 3 of `add' should be a general register r0-r3

vim +67 arch/ia64/kernel/fsys.S

^1da177e Linus Torvalds  2005-04-16  51  ENTRY(fsys_ni_syscall)
^1da177e Linus Torvalds  2005-04-16  52  	.prologue
^1da177e Linus Torvalds  2005-04-16  53  	.altrp b6
^1da177e Linus Torvalds  2005-04-16  54  	.body
^1da177e Linus Torvalds  2005-04-16  55  	mov r8=ENOSYS
^1da177e Linus Torvalds  2005-04-16  56  	mov r10=-1
^1da177e Linus Torvalds  2005-04-16  57  	FSYS_RETURN
^1da177e Linus Torvalds  2005-04-16  58  END(fsys_ni_syscall)
^1da177e Linus Torvalds  2005-04-16  59  
^1da177e Linus Torvalds  2005-04-16  60  ENTRY(fsys_getpid)
^1da177e Linus Torvalds  2005-04-16  61  	.prologue
^1da177e Linus Torvalds  2005-04-16  62  	.altrp b6
^1da177e Linus Torvalds  2005-04-16  63  	.body
96ded9da Pavel Emelyanov 2008-03-28  64  	add r17=IA64_TASK_GROUP_LEADER_OFFSET,r16
96ded9da Pavel Emelyanov 2008-03-28  65  	;;
96ded9da Pavel Emelyanov 2008-03-28  66  	ld8 r17=[r17]				// r17 = current->group_leader
^1da177e Linus Torvalds  2005-04-16 @67  	add r9=TI_FLAGS+IA64_TASK_SIZE,r16
^1da177e Linus Torvalds  2005-04-16  68  	;;
^1da177e Linus Torvalds  2005-04-16  69  	ld4 r9=[r9]
96ded9da Pavel Emelyanov 2008-03-28  70  	add r17=IA64_TASK_TGIDLINK_OFFSET,r17
^1da177e Linus Torvalds  2005-04-16  71  	;;
^1da177e Linus Torvalds  2005-04-16  72  	and r9=TIF_ALLWORK_MASK,r9
96ded9da Pavel Emelyanov 2008-03-28  73  	ld8 r17=[r17]				// r17 = current->group_leader->pids[PIDTYPE_PID].pid
96ded9da Pavel Emelyanov 2008-03-28  74  	;;
96ded9da Pavel Emelyanov 2008-03-28  75  	add r8=IA64_PID_LEVEL_OFFSET,r17

:::::: The code at line 67 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@...970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@...970.osdl.org>

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

Download attachment ".config.gz" of type "application/gzip" (42201 bytes)

Powered by blists - more mailing lists