Lines Matching +full:re +full:- +full:enabled
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/arm/kernel/entry-common.S
14 #include <asm/unistd-oabi.h>
19 #include "entry-header.S"
37 * have tracing, context tracking and rseq debug disabled - the overheads
45 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing
60 * or rseq debug is enabled. As we will need to call out to some C functions,
70 /* do_rseq_syscall needs interrupts enabled. */
75 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing
81 /* Slower path - fall through to work_pending */
92 movlt scno, #(__NR_restart_syscall - __NR_SYSCALL_BASE)
94 ldmia sp, {r0 - r6} @ have to reload r0 - r6
100 * IRQs may be enabled here, so always disable them. Note that we use the
107 /* do_rseq_syscall needs interrupts enabled. */
144 *-----------------------------------------------------------------------------
151 stmia sp, {r0 - r12}
164 stmia sp, {r0 - r12}
176 stmia sp, {r0 - r12} @ Calling r0 - r12
182 mrs saved_psr, spsr @ called from non-FIQ mode, so ok.
208 USER( ldreq r10, [saved_pc, #-4] ) @ get SWI instruction
210 USER( ldr r10, [saved_pc, #-4] ) @ get SWI instruction
223 USER( ldreq scno, [saved_pc, #-4] )
227 USER( ldr scno, [saved_pc, #-4] ) @ get SWI instruction
250 bic scno, scno, #0xff000000 @ mask off SWI op-code
260 TRACE( ldmia sp, {r0 - r3} )
272 2: cmp scno, #(__ARM_NR_BASE - __NR_SYSCALL_BASE)
281 * containing the swi instruction, but we're not really in a
282 * position to return -EFAULT. Instead, return back to the
283 * instruction and re-enter the user fault handling path trying
297 * This is the really slow path. We're going to be doing
305 cmp scno, #-1 @ skip the syscall?
328 .ifgt __sys_nr - \nr
331 .rept \nr - __sys_nr
339 .ifgt __sys_nr - __NR_syscalls
342 .rept __NR_syscalls - __sys_nr
345 .size \sym, . - \sym
357 #include <calls-eabi.S>
359 #include <calls-oabi.S>
370 cmp scno, #__NR_syscall - __NR_SYSCALL_BASE
460 #include <calls-oabi.S>