summaryrefslogtreecommitdiffstats
path: root/arch/x86/net/bpf_jit_comp.c
AgeCommit message (Expand)AuthorFilesLines
2021-04-08bpf, x86: Validate computation of branch displacements for x86-64Piotr Krysiuk1-1/+10
2021-03-19bpf: Use NOP_ATOMIC5 instead of emit_nops(&prog, 5) for BPF_TRAMP_F_CALL_ORIGStanislav Fomichev1-1/+2
2021-03-18bpf: Fix fexit trampoline.Alexei Starovoitov1-4/+22
2021-03-10bpf, x86: Use kvmalloc_array instead kmalloc_array in bpf_jit_compYonghong Song1-2/+2
2021-02-22bpf, x86: Fix BPF_FETCH atomic and/or/xor with r0 as srcBrendan Jackman1-3/+7
2021-02-11bpf: Add per-program recursion prevention mechanismAlexei Starovoitov1-0/+15
2021-02-11bpf: Compute program stats for sleepable programsAlexei Starovoitov1-19/+12
2021-02-04bpf: Emit explicit NULL pointer checks for PROBE_LDX instructions.Alexei Starovoitov1-0/+19
2021-01-20bpf,x64: Pad NOPs to make images converge more easilyGary Lin1-28/+112
2021-01-14bpf: Add bitwise atomic instructionsBrendan Jackman1-1/+49
2021-01-14bpf: Add instructions for atomic_[cmp]xchgBrendan Jackman1-0/+8
2021-01-14bpf: Add BPF_FETCH field / create atomic_fetch_add instructionBrendan Jackman1-0/+4
2021-01-14bpf: Rename BPF_XADD and prepare to encode other atomics in .immBrendan Jackman1-12/+34
2021-01-14bpf: x86: Factor out a lookup table for some ALU opcodesBrendan Jackman1-18/+15
2021-01-14bpf: x86: Factor out emission of REX byteBrendan Jackman1-16/+23
2021-01-14bpf: x86: Factor out emission of ModR/M for *(reg + off)Brendan Jackman1-18/+25
2020-09-29bpf: x64: Do not emit sub/add 0, %rsp when !stack_depthMaciej Fijalkowski1-10/+23
2020-09-29bpf, x64: Drop "pop %rcx" instruction on BPF JIT epilogueMaciej Fijalkowski1-2/+0
2020-09-17bpf, x64: rework pro/epilogue and tailcall handling in JITMaciej Fijalkowski1-48/+189
2020-09-17bpf: rename poke descriptor's 'ip' member to 'tailcall_target'Maciej Fijalkowski1-9/+11
2020-09-17bpf, x64: use %rcx instead of %rax for tail call retpolinesMaciej Fijalkowski1-10/+10
2020-08-28bpf: Introduce sleepable BPF programsAlexei Starovoitov1-11/+21
2020-04-20bpf, x86: Fix encoding for lower 8-bit registers in BPF_STX BPF_BLuke Nelson1-3/+15
2020-03-11bpf: Fix trampoline generation for fmod_ret programsAlexei Starovoitov1-26/+5
2020-03-04bpf: Introduce BPF_MODIFY_RETURNKP Singh1-11/+119
2020-03-04bpf: JIT helpers for fmod_ret progsKP Singh1-63/+85
2020-03-04bpf: Refactor trampoline update codeKP Singh1-15/+16
2020-01-09bpf: Introduce BPF_MAP_TYPE_STRUCT_OPSMartin KaFai Lau1-10/+8
2019-12-13bpf, x86: Align dispatcher branch targets to 16BBjörn Töpel1-1/+29
2019-12-13bpf: Introduce BPF dispatcherBjörn Töpel1-0/+122
2019-11-24bpf: Simplify __bpf_arch_text_poke poke type handlingDaniel Borkmann1-60/+25
2019-11-24bpf, x86: Emit patchable direct jump as tail callDaniel Borkmann1-95/+187
2019-11-24bpf, x86: Generalize and extend bpf_arch_text_poke for direct jumpsDaniel Borkmann1-18/+46
2019-11-15bpf: Support attaching tracing BPF program to other BPF programsAlexei Starovoitov1-1/+2
2019-11-15bpf: Reserve space for BPF trampoline in BPF programsAlexei Starovoitov1-2/+7
2019-11-15bpf: Introduce BPF trampolineAlexei Starovoitov1-2/+209
2019-11-15bpf: Add bpf_arch_text_poke() helperAlexei Starovoitov1-0/+51
2019-11-15bpf: Refactor x86 JIT into helpersAlexei Starovoitov1-54/+98
2019-10-17bpf: Add support for BTF pointers to x86 JITAlexei Starovoitov1-4/+93
2019-10-04bpf, x86: Small optimization in comparing against imm0Daniel Borkmann1-0/+10
2019-08-01bpf: fix x64 JIT code generation for jmp to 1st insnAlexei Starovoitov1-4/+5
2019-06-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-53/+21
2019-06-14bpf, x64: fix stack layout of JITed bpf codeAlexei Starovoitov1-53/+21
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 441Thomas Gleixner1-5/+1
2019-01-26x86_64: bpf: implement jitting of JMP32Jiong Wang1-6/+40
2018-12-09bpf: Add bpf_line_info supportMartin KaFai Lau1-0/+2
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-1/+1
2018-05-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-223/+120
2018-05-03bpf, x64: remove ld_abs/ld_indDaniel Borkmann1-140/+4
2018-05-02bpf, x64: fix memleak when not converging on callsDaniel Borkmann1-1/+1