linux-stable/arch
Jiri Olsa 7e6f3cd89f bpf, x86: Store caller's ip in trampoline stack
Storing caller's ip in trampoline's stack. Trampoline programs
can reach the IP in (ctx - 8) address, so there's no change in
program's arguments interface.

The IP address is takes from [fp + 8], which is return address
from the initial 'call fentry' call to trampoline.

This IP address will be returned via bpf_get_func_ip helper
helper, which is added in following patches.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210714094400.396467-2-jolsa@kernel.org
2021-07-15 17:16:06 -07:00
..
alpha Networking changes for 5.14. 2021-06-30 15:51:09 -07:00
arc Merge branch 'akpm' (patches from Andrew) 2021-06-29 17:29:11 -07:00
arm Merge branch 'akpm' (patches from Andrew) 2021-06-29 17:29:11 -07:00
arm64 Networking changes for 5.14. 2021-06-30 15:51:09 -07:00
csky Scheduler udpates for this cycle: 2021-06-28 12:14:19 -07:00
h8300 Merge branch 'akpm' (patches from Andrew) 2021-06-29 17:29:11 -07:00
hexagon Scheduler udpates for this cycle: 2021-06-28 12:14:19 -07:00
ia64 Merge branch 'akpm' (patches from Andrew) 2021-06-29 17:29:11 -07:00
m68k for-5.14/block-2021-06-29 2021-06-30 12:12:56 -07:00
microblaze Microblaze patches for 5.14-rc1 2021-06-30 15:36:48 -07:00
mips Networking changes for 5.14. 2021-06-30 15:51:09 -07:00
nds32 Merge branch 'akpm' (patches from Andrew) 2021-06-29 17:29:11 -07:00
nios2 Updates for the interrupt subsystem: 2021-06-29 12:25:04 -07:00
openrisc Merge branch 'akpm' (patches from Andrew) 2021-06-29 17:29:11 -07:00
parisc Networking changes for 5.14. 2021-06-30 15:51:09 -07:00
powerpc Merge branch 'akpm' (patches from Andrew) 2021-06-29 17:29:11 -07:00
riscv Merge branch 'akpm' (patches from Andrew) 2021-06-29 17:29:11 -07:00
s390 Networking changes for 5.14. 2021-06-30 15:51:09 -07:00
sh Merge branch 'akpm' (patches from Andrew) 2021-06-29 17:29:11 -07:00
sparc Networking changes for 5.14. 2021-06-30 15:51:09 -07:00
um X86 entry code related updates: 2021-06-29 12:44:51 -07:00
x86 bpf, x86: Store caller's ip in trampoline stack 2021-07-15 17:16:06 -07:00
xtensa for-5.14/block-2021-06-29 2021-06-30 12:12:56 -07:00
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
Kconfig Kconfig: Introduce ARCH_WANTS_NO_INSTR and CC_HAS_NO_PROFILE_FN_ATTR 2021-06-22 11:07:18 -07:00