aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/net/bpf_jit_comp.c
AgeCommit message (Expand)AuthorFilesLines
2024-05-15Merge tag 'modules-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-11/+0
2024-05-14arm64: extend execmem_info for generated code allocationsMike Rapoport (IBM)1-11/+0
2024-05-13Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-8/+79
2024-05-12bpf, arm64: inline bpf_get_smp_processor_id() helperPuranjay Mohan1-0/+25
2024-05-12arm64, bpf: add internal-only MOV instruction to resolve per-CPU addrsPuranjay Mohan1-0/+14
2024-05-08bpf, arm64: Add support for lse atomics in bpf_arenaPuranjay Mohan1-8/+40
2024-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+3
2024-04-16bpf, arm64: Fix incorrect runtime statsXu Kuohai1-3/+3
2024-04-02bpf: Add arm64 JIT support for bpf_addr_space_cast instruction.Puranjay Mohan1-0/+16
2024-04-02bpf: Add arm64 JIT support for PROBE_MEM32 pseudo instructions.Puranjay Mohan1-10/+60
2024-03-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2024-03-21arm64: bpf: fix 32bit unconditional bswapArtem Savkov1-1/+1
2024-03-19bpf, arm64: fix bug in BPF_LDX_MEMSXPuranjay Mohan1-1/+1
2024-03-18bpf: Check return from set_memory_rox()Christophe Leroy1-1/+2
2024-03-18bpf: Remove arch_unprotect_bpf_trampoline()Christophe Leroy1-4/+0
2024-03-09arm64, bpf: Use bpf_prog_pack for arm64 bpf trampolinePuranjay Mohan1-9/+46
2024-02-28bpf, arm64: use bpf_prog_pack for memory managementPuranjay Mohan1-24/+115
2024-02-27bpf, arm64: support exceptionsPuranjay Mohan1-19/+68
2024-01-23bpf, arm64: Enable the inline of bpf_kptr_xchg()Hou Tao1-0/+5
2023-12-06bpf: Use arch_bpf_trampoline_sizeSong Liu1-7/+0
2023-12-06bpf: Add arch_bpf_trampoline_size()Song Liu1-15/+41
2023-12-06bpf: Adjust argument names of arch_prepare_bpf_trampoline()Song Liu1-5/+5
2023-09-16bpf: Use bpf_is_subprog to check for subprogsKumar Kartikeya Dwivedi1-1/+1
2023-08-18bpf, arm64: Support signed div/mod instructionsXu Kuohai1-4/+16
2023-08-18bpf, arm64: Support 32-bit offset jmp instructionXu Kuohai1-1/+5
2023-08-18bpf, arm64: Support unconditional bswapXu Kuohai1-2/+3
2023-08-18bpf, arm64: Support sign-extension mov instructionsXu Kuohai1-1/+14
2023-08-18bpf, arm64: Support sign-extension load instructionsXu Kuohai1-8/+37
2023-07-18bpf, arm64: Fix BTI type used for freplace attached functionsAlexander Duyck1-1/+7
2023-05-15bpf, arm64: Support struct arguments in the BPF trampolineFlorent Revest1-27/+28
2023-04-03bpf, arm64: Fixed a BTI error on returning to patched functionXu Kuohai1-1/+2
2022-10-25bpf: Remove prog->active check for bpf_lsm and bpf_iterMartin KaFai Lau1-7/+2
2022-09-06bpf: arm64: No support of struct argument in trampoline programsYonghong Song1-1/+7
2022-08-10bpf, arm64: Fix bpf trampoline instruction endiannessXu Kuohai1-6/+6
2022-08-08bpf, arm64: Allocate program buffer using kvcalloc instead of kcallocAijun Sun1-2/+2
2022-07-22bpf, arm64: Fix compile error in dummy_tramp()Xu Kuohai1-2/+2
2022-07-14bpf, arm64: Mark dummy_tramp as globalNathan Chancellor1-0/+1
2022-07-11bpf, arm64: Add bpf trampoline for arm64Xu Kuohai1-3/+382
2022-07-11bpf, arm64: Implement bpf_arch_text_poke() for arm64Xu Kuohai1-14/+315
2022-06-21bpf, arm64: Keep tail call count across bpf2bpf callsJakub Sitnicki1-1/+8
2022-06-07bpf, arm64: Clear prog->jited_len along prog->jitedEric Dumazet1-0/+1
2022-04-06bpf, arm64: Sign return address for JITed codeXu Kuohai1-2/+10
2022-04-01bpf, arm64: Adjust the offset of str/ldr(immediate) to positive numberXu Kuohai1-27/+138
2022-04-01bpf, arm64: Optimize BPF store/load using arm64 str/ldr(immediate offset)Xu Kuohai1-15/+113
2022-03-24kasan, arm64: don't tag executable vmalloc allocationsAndrey Konovalov1-1/+2
2022-02-28bpf, arm64: Support more atomic operationsHou Tao1-41/+182
2022-02-28bpf, arm64: Feed byte-offset into bpf line infoHou Tao1-0/+5
2022-02-28bpf, arm64: Call build_prologue() first in first JIT passHou Tao1-5/+8
2022-02-04bpf, arm64: Enable kfunc callHou Tao1-0/+5
2022-01-05bpf, arm64: Use emit_addr_mov_i64() for BPF_PSEUDO_FUNCHou Tao1-1/+4
2021-11-30bpf, docs: Prune all references to "internal BPF"Christoph Hellwig1-1/+1
2021-11-16bpf: Change value of MAX_TAIL_CALL_CNT from 32 to 33Tiezhu Yang1-2/+3
2021-11-08arm64/bpf: Remove 128MB limit for BPF JIT programsRussell King1-5/+2
2021-11-01Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-3/+6
2021-10-22bpf: Define bpf_jit_alloc_exec_limit for arm64 JITLorenz Bauer1-0/+5
2021-10-21arm64: extable: add `type` and `data` fieldsMark Rutland1-2/+5
2021-10-21arm64: extable: make fixup_exception() return boolMark Rutland1-3/+3
2021-07-29bpf: Introduce BPF nospec instruction for mitigating Spectre v4Daniel Borkmann1-0/+13
2021-06-30Merge tag 'net-next-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-13/+6
2021-06-11arm64: insn: move AARCH64_INSN_SIZE into <asm/insn.h>Mark Rutland1-0/+1
2021-05-18bpf, arm64: Remove redundant switch case about BPF_DIV and BPF_MODTiezhu Yang1-9/+4
2021-05-12bpf, arm64: Replace STACK_ALIGN() with round_up() to align stack sizeTiezhu Yang1-4/+2
2021-01-14bpf: Rename BPF_XADD and prepare to encode other atomics in .immBrendan Jackman1-4/+12
2020-09-17arm64: bpf: Fix branch offset in JITIlias Apalodimas1-12/+31
2020-07-31bpf, arm64: Add BPF exception tablesJean-Philippe Brucker1-6/+87
2020-05-28Merge branch 'for-next/bti' into for-next/coreWill Deacon1-0/+12
2020-05-11bpf, arm64: Optimize ADD,SUB,JMP BPF_K using arm64 add/sub immediatesLuke Nelson1-6/+30
2020-05-11bpf, arm64: Optimize AND,OR,XOR,JSET BPF_K using arm64 logical immediatesLuke Nelson1-8/+29
2020-05-07arm64: bpf: Annotate JITed code for BTIMark Brown1-0/+12
2019-09-03arm64: bpf: optimize modulo operationJerin Jacob1-4/+2
2019-07-08Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-1/+1
2019-06-24arm64: bpf: do not allocate executable memoryArd Biesheuvel1-1/+1
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234Thomas Gleixner1-12/+1
2019-04-26bpf, arm64: use more scalable stadd over ldxr / stxr loop in xaddDaniel Borkmann1-9/+19
2019-04-26bpf, arm64: remove prefetch insn in xadd mappingDaniel Borkmann1-1/+0
2019-01-26arm64: bpf: implement jitting of JMP32Jiong Wang1-7/+30
2018-12-12bpf: arm64: Enable arm64 jit to provide bpf_line_infoMartin KaFai Lau1-0/+1
2018-12-05arm64/bpf: don't allocate BPF JIT programs in module memoryArd Biesheuvel1-0/+13
2018-11-30arm64/bpf: use movn/movk/movk sequence to generate kernel addressesArd Biesheuvel1-11/+6
2018-11-26bpf, arm64: fix getting subprog addr from aux for callsDaniel Borkmann1-9/+17
2018-05-14bpf, arm64: save 4 bytes in prologue when ebpf insns came from cbpfDaniel Borkmann1-10/+13
2018-05-14bpf, arm64: optimize 32/64 immediate emissionDaniel Borkmann1-31/+54
2018-05-14bpf, arm64: save 4 bytes of unneeded stack spaceDaniel Borkmann1-5/+2
2018-05-03bpf, arm64: remove ld_abs/ld_indDaniel Borkmann1-65/+0
2018-02-22bpf, arm64: fix out of bounds access in tail callDaniel Borkmann1-2/+3
2018-01-26bpf, arm64: remove obsolete exception handling from div/modDaniel Borkmann1-13/+0
2018-01-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-2/+0
2018-01-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-9/+11
2018-01-19bpf: get rid of pure_initcall dependency to enable jitsDaniel Borkmann1-2/+0
2018-01-16bpf, arm64: fix stack_depth tracking in combination with tail callsDaniel Borkmann1-9/+11
2017-12-19bpf: arm64: fix uninitialized variableAlexei Starovoitov1-0/+1
2017-12-17bpf: arm64: add JIT support for multi-function programsAlexei Starovoitov1-4/+64
2017-12-17bpf: fix net.core.bpf_jit_enable raceAlexei Starovoitov1-1/+1
2017-08-09bpf, arm64: implement jiting of BPF_J{LT, LE, SLT, SLE}Daniel Borkmann1-0/+20
2017-07-05Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-3/+3
2017-06-30arm64: fix endianness annotation for 'struct jit_ctx' and friendsLuc Van Oostenryck1-3/+3
2017-06-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+5
2017-06-11bpf, arm64: take advantage of stack_depth trackingDaniel Borkmann1-11/+11
2017-06-07bpf, arm64: use separate register for state in stxrDaniel Borkmann1-2/+5
2017-06-06bpf: Add jited_len to struct bpf_progMartin KaFai Lau1-0/+1
2017-05-31bpf: free up BPF_JMP | BPF_CALL | BPF_X opcodeAlexei Starovoitov1-1/+1
2017-05-11bpf, arm64: fix faulty emission of map access in tail callsDaniel Borkmann1-2/+3
2017-05-08arm64: use set_memory.h headerLaura Abbott1-0/+1
2017-05-02bpf, arm64: fix jit branch offset related to ldimm64Daniel Borkmann1-4/+4
2017-05-02bpf, arm64: implement jiting of BPF_XADDDaniel Borkmann1-5/+11
2017-04-28bpf, x86_64/arm64: remove old ldimm64 artifacts from jitsDaniel Borkmann1-9/+0
2017-02-21bpf: fix unlocking of jited image when module ronx not setDaniel Borkmann1-1/+1
2017-02-17bpf: make jited programs visible in tracesDaniel Borkmann1-15/+0
2017-02-17bpf: remove stubs for cBPF from arch codeDaniel Borkmann1-5/+0
2016-06-10arm64: bpf: optimize LD_ABS, LD_INDZi Shen Lim1-3/+0
2016-06-10arm64: bpf: optimize JMP_CALLZi Shen Lim1-3/+0
2016-06-10arm64: bpf: implement bpf_tail_call() helperZi Shen Lim1-9/+96
2016-05-17bpf: arm64: remove callee-save registers use for tmp registersYang Shi1-29/+5
2016-05-16bpf, arm64: add support for constant blindingDaniel Borkmann1-12/+40
2016-05-16bpf: prepare bpf_int_jit_compile/bpf_prog_select_runtime apisDaniel Borkmann1-3/+4
2016-05-16bpf, x86/arm64: remove useless checks on progDaniel Borkmann1-3/+0
2016-05-14arm64: bpf: jit JMP_JSET_{X,K}Zi Shen Lim1-0/+1
2016-01-17arm64: bpf: add extra pass to handle faulty codegenZi Shen Lim1-1/+21
2015-12-18bpf: move clearing of A/X into classic to eBPF migration prologueDaniel Borkmann1-6/+0
2015-12-03arm64: bpf: add 'store immediate' instructionYang Shi1-1/+19
2015-11-18arm64: bpf: fix buffer pointerZi Shen Lim1-14/+13
2015-11-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-7/+41
2015-11-17arm64: bpf: make BPF prologue and epilogue align with ARM64 AAPCSYang Shi1-5/+39
2015-11-16bpf, arm64: start flushing icache range from headerDaniel Borkmann1-1/+1
2015-11-16arm64: bpf: fix JIT frame pointer setupYang Shi1-3/+3
2015-11-12Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm6...Linus Torvalds1-18/+36
2015-11-06arm64: bpf: fix mod-by-zero caseZi Shen Lim1-8/+13
2015-11-06arm64: bpf: fix div-by-zero caseZi Shen Lim1-12/+25
2015-10-03ebpf: migrate bpf_prog's flags to bitfieldDaniel Borkmann1-1/+1
2015-06-26arm64: bpf: fix endianness conversion bugsXi Wang1-2/+20
2015-06-25arm64: bpf: fix out-of-bounds read in bpf2a64_offset()Xi Wang1-3/+4
2015-05-08arm64: bpf: fix signedness bug in loading 64-bit immediateXi Wang1-1/+1
2014-12-03arm64: bpf: lift restriction on last instructionZi Shen Lim1-5/+8
2014-10-20net: bpf: arm64: minor fix of type in jitedDaniel Borkmann1-1/+1
2014-10-20arm64: bpf: add 'load 64-bit immediate' instructionZi Shen Lim1-0/+31
2014-10-20arm64: bpf: add 'shift by register' instructionsZi Shen Lim1-0/+12
2014-10-20net: bpf: arm64: address randomize and write protect JIT codeDaniel Borkmann1-9/+30
2014-09-12net: bpf: arm64: fix module memory leak when JIT image build failsDaniel Borkmann1-1/+3
2014-09-08arm64: eBPF JIT compilerZi Shen Lim1-0/+677