entry-common.S (2b1333b80885b896807ffb6ccf4bc21d29aa65e0) entry-common.S (24a9c54182b3758801b8ca6c8c237cc2ff654732)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * linux/arch/arm/kernel/entry-common.S
4 *
5 * Copyright (C) 2000 Russell King
6 */
7
8#include <asm/assembler.h>

--- 14 unchanged lines hidden (view full) ---

23 bicne \tmp, \tmp, #(1 << 6)
24 mcrne p15, 0, \tmp, c15, c1, 0 @ Disable cp6 access
25#endif
26 .endm
27
28#include "entry-header.S"
29
30saved_psr .req r8
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * linux/arch/arm/kernel/entry-common.S
4 *
5 * Copyright (C) 2000 Russell King
6 */
7
8#include <asm/assembler.h>

--- 14 unchanged lines hidden (view full) ---

23 bicne \tmp, \tmp, #(1 << 6)
24 mcrne p15, 0, \tmp, c15, c1, 0 @ Disable cp6 access
25#endif
26 .endm
27
28#include "entry-header.S"
29
30saved_psr .req r8
31#if defined(CONFIG_TRACE_IRQFLAGS) || defined(CONFIG_CONTEXT_TRACKING)
31#if defined(CONFIG_TRACE_IRQFLAGS) || defined(CONFIG_CONTEXT_TRACKING_USER)
32saved_pc .req r9
33#define TRACE(x...) x
34#else
35saved_pc .req lr
36#define TRACE(x...)
37#endif
38
39 .section .entry.text,"ax",%progbits
40 .align 5
32saved_pc .req r9
33#define TRACE(x...) x
34#else
35saved_pc .req lr
36#define TRACE(x...)
37#endif
38
39 .section .entry.text,"ax",%progbits
40 .align 5
41#if !(IS_ENABLED(CONFIG_TRACE_IRQFLAGS) || IS_ENABLED(CONFIG_CONTEXT_TRACKING) || \
41#if !(IS_ENABLED(CONFIG_TRACE_IRQFLAGS) || IS_ENABLED(CONFIG_CONTEXT_TRACKING_USER) || \
42 IS_ENABLED(CONFIG_DEBUG_RSEQ))
43/*
44 * This is the fast syscall return path. We do as little as possible here,
45 * such as avoiding writing r0 to the stack. We only use this path if we
46 * have tracing, context tracking and rseq debug disabled - the overheads
47 * from those features make this path too inefficient.
48 */
49ret_fast_syscall:

--- 425 unchanged lines hidden ---
42 IS_ENABLED(CONFIG_DEBUG_RSEQ))
43/*
44 * This is the fast syscall return path. We do as little as possible here,
45 * such as avoiding writing r0 to the stack. We only use this path if we
46 * have tracing, context tracking and rseq debug disabled - the overheads
47 * from those features make this path too inefficient.
48 */
49ret_fast_syscall:

--- 425 unchanged lines hidden ---