tree:
https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
tif-task_work
head: d602372ff9f2e4aa14529819ce4f742dcdbcc466
commit: a301be6bf07eaf5f650906cfb8ad788dab922956 [6/32] arm: add support for
TIF_NOTIFY_SIGNAL
config: arm-randconfig-r015-20201013 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/com...
git remote add block
https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
git fetch --no-tags block tif-task_work
git checkout a301be6bf07eaf5f650906cfb8ad788dab922956
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/arm/kernel/entry-common.S: Assembler messages:
> arch/arm/kernel/entry-common.S:94: Error: invalid constant (1ff)
after fixup
vim +94 arch/arm/kernel/entry-common.S
^1da177e4c3f41 Linus Torvalds 2005-04-16 67
3302caddf10ad5 Russell King 2015-08-20 68 /* Ok, we need to do extra processing,
enter the slow path. */
^1da177e4c3f41 Linus Torvalds 2005-04-16 69 fast_work_pending:
^1da177e4c3f41 Linus Torvalds 2005-04-16 70 str r0, [sp, #S_R0+S_OFF]! @ returned
r0
3302caddf10ad5 Russell King 2015-08-20 71 /* fall through to work_pending */
3302caddf10ad5 Russell King 2015-08-20 72 #else
3302caddf10ad5 Russell King 2015-08-20 73 /*
b74406f37737c9 Mathieu Desnoyers 2018-06-02 74 * The "replacement"
ret_fast_syscall for when tracing, context tracking,
b74406f37737c9 Mathieu Desnoyers 2018-06-02 75 * or rseq debug is enabled. As we
will need to call out to some C functions,
b74406f37737c9 Mathieu Desnoyers 2018-06-02 76 * we save r0 first to avoid needing to
save registers around each C function
b74406f37737c9 Mathieu Desnoyers 2018-06-02 77 * call.
3302caddf10ad5 Russell King 2015-08-20 78 */
3302caddf10ad5 Russell King 2015-08-20 79 ret_fast_syscall:
afc9f65e01cd11 Vincent Whitchurch 2018-07-13 80 __ret_fast_syscall:
3302caddf10ad5 Russell King 2015-08-20 81 UNWIND(.fnstart )
3302caddf10ad5 Russell King 2015-08-20 82 UNWIND(.cantunwind )
3302caddf10ad5 Russell King 2015-08-20 83 str r0, [sp, #S_R0 + S_OFF]! @ save
returned r0
b74406f37737c9 Mathieu Desnoyers 2018-06-02 84 #if IS_ENABLED(CONFIG_DEBUG_RSEQ)
b74406f37737c9 Mathieu Desnoyers 2018-06-02 85 /* do_rseq_syscall needs interrupts
enabled. */
b74406f37737c9 Mathieu Desnoyers 2018-06-02 86 mov r0, sp @ 'regs'
b74406f37737c9 Mathieu Desnoyers 2018-06-02 87 bl do_rseq_syscall
b74406f37737c9 Mathieu Desnoyers 2018-06-02 88 #endif
3302caddf10ad5 Russell King 2015-08-20 89 disable_irq_notrace @ disable
interrupts
e33f8d32677fa4 Thomas Garnier 2017-09-07 90 ldr r2, [tsk, #TI_ADDR_LIMIT]
e33f8d32677fa4 Thomas Garnier 2017-09-07 91 cmp r2, #TASK_SIZE
e33f8d32677fa4 Thomas Garnier 2017-09-07 92 blne addr_limit_check_failed
3302caddf10ad5 Russell King 2015-08-20 93 ldr r1, [tsk, #TI_FLAGS] @ re-check
for syscall tracing
2404269bc4e77a Thomas Garnier 2017-09-07 @94 tst r1, #_TIF_SYSCALL_WORK |
_TIF_WORK_MASK
3302caddf10ad5 Russell King 2015-08-20 95 beq no_work_pending
3302caddf10ad5 Russell King 2015-08-20 96 UNWIND(.fnend )
3302caddf10ad5 Russell King 2015-08-20 97 ENDPROC(ret_fast_syscall)
3302caddf10ad5 Russell King 2015-08-20 98
3302caddf10ad5 Russell King 2015-08-20 99 /* Slower path - fall through to
work_pending */
3302caddf10ad5 Russell King 2015-08-20 100 #endif
3302caddf10ad5 Russell King 2015-08-20 101
3302caddf10ad5 Russell King 2015-08-20 102 tst r1, #_TIF_SYSCALL_WORK
3302caddf10ad5 Russell King 2015-08-20 103 bne __sys_trace_return_nosave
3302caddf10ad5 Russell King 2015-08-20 104 slow_work_pending:
^1da177e4c3f41 Linus Torvalds 2005-04-16 105 mov r0, sp @ 'regs'
^1da177e4c3f41 Linus Torvalds 2005-04-16 106 mov r2, why @ 'syscall'
0a267fa6a15d41 Al Viro 2012-07-19 107 bl do_work_pending
6628521784d1da Al Viro 2012-07-19 108 cmp r0, #0
81783786d5cf4a Al Viro 2012-07-19 109 beq no_work_pending
6628521784d1da Al Viro 2012-07-19 110 movlt scno, #(__NR_restart_syscall -
__NR_SYSCALL_BASE)
81783786d5cf4a Al Viro 2012-07-19 111 ldmia sp, {r0 - r6} @ have to reload
r0 - r6
81783786d5cf4a Al Viro 2012-07-19 112 b local_restart @ ... and off we go
e83dd377002191 Drew Richardson 2015-08-06 113 ENDPROC(ret_fast_syscall)
81783786d5cf4a Al Viro 2012-07-19 114
:::::: The code at line 94 was first introduced by commit
:::::: 2404269bc4e77a67875c8db6667be34c9913c96e Revert "arm/syscalls: Check address
limit on user-mode return"
:::::: TO: Thomas Garnier <thgarnie(a)google.com>
:::::: CC: Thomas Gleixner <tglx(a)linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org