aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/net/bpf_jit_comp.c
AgeCommit message (Expand)AuthorFilesLines
11 dayss390/bpf: Emit a barrier for BPF_FETCH instructionsIlya Leoshkevich1-2/+6
2024-03-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-26/+20
2024-03-19s390/bpf: Fix bpf_plt pointer arithmeticIlya Leoshkevich1-26/+20
2024-03-14bpf: Take return from set_memory_rox() into account with bpf_jit_binary_lock_...Christophe Leroy1-1/+5
2024-01-04s390/bpf: Fix gotol with large offsetsIlya Leoshkevich1-1/+1
2023-12-18s390/bpf: Fix indirect trampoline generationAlexei Starovoitov1-1/+2
2023-12-06bpf: Add arch_bpf_trampoline_size()Song Liu1-22/+34
2023-10-16Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-63/+202
2023-10-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-5/+20
2023-10-11s390/bpf: Fix unwinding past the trampolineIlya Leoshkevich1-3/+14
2023-10-11s390/bpf: Fix clobbering the caller's backchain in the trampolineIlya Leoshkevich1-2/+6
2023-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2023-09-21s390/bpf: Implement signed divisionIlya Leoshkevich1-47/+125
2023-09-21s390/bpf: Implement unconditional jump with 32-bit offsetIlya Leoshkevich1-3/+9
2023-09-21s390/bpf: Implement unconditional byte swapIlya Leoshkevich1-0/+1
2023-09-21s390/bpf: Implement BPF_MEMSXIlya Leoshkevich1-5/+27
2023-09-21s390/bpf: Implement BPF_MOV | BPF_X with sign-extensionIlya Leoshkevich1-8/+40
2023-09-19s390/bpf: Let arch_prepare_bpf_trampoline return program sizeSong Liu1-1/+1
2023-09-16bpf: Use bpf_is_subprog to check for subprogsKumar Kartikeya Dwivedi1-1/+1
2023-09-06s390/bpf: Pass through tail call counter in trampolinesIlya Leoshkevich1-0/+10
2023-06-28s390: consistently use .balign instead of .alignHeiko Carstens1-2/+2
2023-04-21Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-0/+5
2023-04-14s390/bpf: Fix bpf_arch_text_poke() with new_addr == NULLIlya Leoshkevich1-3/+8
2023-04-13bpf: Support 64-bit pointers to kfuncsIlya Leoshkevich1-0/+5
2023-01-29s390/bpf: Implement bpf_jit_supports_kfunc_call()Ilya Leoshkevich1-2/+23
2023-01-29s390/bpf: Implement bpf_jit_supports_subprog_tailcalls()Ilya Leoshkevich1-10/+27
2023-01-29s390/bpf: Implement arch_prepare_bpf_trampoline()Ilya Leoshkevich1-22/+520
2023-01-29s390/bpf: Implement bpf_arch_text_poke()Ilya Leoshkevich1-0/+97
2023-01-29s390/bpf: Add expoline to tail callsIlya Leoshkevich1-2/+10
2023-01-28s390/bpf: Fix a typo in a commentIlya Leoshkevich1-1/+1
2022-05-23s390/bpf: Fix typo in commentJulia Lawall1-1/+1
2022-03-10s390: raise minimum supported machine generation to z10Vasily Gorbik1-23/+8
2022-03-08s390/bpf: encode register within extable entryHeiko Carstens1-11/+5
2022-03-08s390/extable: convert to relative table with dataHeiko Carstens1-3/+2
2022-03-08s390/extable: move EX_TABLE define to asm-extable.hHeiko Carstens1-0/+1
2022-03-01s390: always use the packed stack layoutVasily Gorbik1-1/+0
2021-11-16bpf: Change value of MAX_TAIL_CALL_CNT from 32 to 33Tiezhu Yang1-3/+3
2021-10-26s390: introduce nospec_uses_trampoline()Sven Schnelle1-3/+3
2021-10-04bpf, s390: Fix potential memory leak about jit_dataTiezhu Yang1-1/+1
2021-09-16s390/bpf: Fix optimizing out zero-extensionsIlya Leoshkevich1-28/+30
2021-09-16s390/bpf: Fix 64-bit subtraction of the -0x80000000 constantIlya Leoshkevich1-2/+7
2021-09-16s390/bpf: Fix branch shortening during codegen passIlya Leoshkevich1-2/+1
2021-07-29bpf: Introduce BPF nospec instruction for mitigating Spectre v4Daniel Borkmann1-0/+5
2021-07-15s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1]Colin Ian King1-1/+1
2021-03-16s390/bpf: Implement new atomic opsIlya Leoshkevich1-9/+55
2021-01-14bpf: Rename BPF_XADD and prepare to encode other atomics in .immBrendan Jackman1-11/+16
2020-09-14s390/bpf: Fix multiple tail callsIlya Leoshkevich1-34/+27
2020-08-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds1-22/+41
2020-07-21s390/bpf: Use bpf_skip() in bpf_jit_prologue()Ilya Leoshkevich1-4/+5
2020-07-21s390/bpf: Tolerate not converging code shrinkingIlya Leoshkevich1-1/+26
2020-07-21s390/bpf: Use brcl for jumping to exit_ip if necessaryIlya Leoshkevich1-2/+6
2020-07-21s390/bpf: Fix sign extension in branch_kuIlya Leoshkevich1-15/+4
2020-07-20s390/bpf: implement BPF_PROBE_MEMIlya Leoshkevich1-1/+138
2020-06-02s390/bpf: Use bcr 0,%0 as tail call nop fillerIlya Leoshkevich1-1/+2
2020-06-02s390/bpf: Maintain 8-byte stack alignmentIlya Leoshkevich1-9/+10
2019-11-18s390/bpf: Remove JITed image size limitationsIlya Leoshkevich1-7/+0
2019-11-18s390/bpf: Use lg(f)rl when long displacement cannot be usedIlya Leoshkevich1-15/+81
2019-11-18s390/bpf: Use lgrl instead of lg where possibleIlya Leoshkevich1-12/+20
2019-11-18s390/bpf: Load literal pool register using larlIlya Leoshkevich1-3/+19
2019-11-18s390/bpf: Align literal pool entriesIlya Leoshkevich1-13/+24
2019-11-18s390/bpf: Use relative long branchesIlya Leoshkevich1-32/+126
2019-11-15s390/bpf: Make sure JIT passes do not increase code sizeIlya Leoshkevich1-8/+66
2019-11-07s390/bpf: Remove unused SEEN_RET0, SEEN_REG_AX and ret0_ipIlya Leoshkevich1-16/+5
2019-11-07s390/bpf: Wrap JIT macro parameter usages in parenthesesIlya Leoshkevich1-31/+31
2019-11-07s390/bpf: Use kvcalloc for addrs arrayIlya Leoshkevich1-2/+3
2019-09-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-11/+56
2019-09-03bpf: s390: add JIT support for bpf line infoYauheni Kaliuta1-0/+1
2019-08-31bpf: s390: add JIT support for multi-function programsYauheni Kaliuta1-11/+55
2019-08-13s390/bpf: use 32-bit index for tail callsIlya Leoshkevich1-4/+6
2019-08-12s390/bpf: fix lcgr instruction encodingIlya Leoshkevich1-1/+1
2019-05-24s390: bpf: eliminate zero extension code-genJiong Wang1-7/+34
2019-04-11s390: Convert IS_ENABLED uses to __is_definedJoe Perches1-3/+3
2019-02-04s390: bpf: fix JMP32 code-genHeiko Carstens1-1/+5
2019-01-26s390: bpf: implement jitting of JMP32Jiong Wang1-14/+52
2018-12-07s390: bpf: implement jitting of BPF_ALU | BPF_ARSH | BPF_*Jiong Wang1-0/+12
2018-08-13Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s39...Linus Torvalds1-2/+0
2018-08-07s390: fix br_r1_trampoline for machines without exrlMartin Schwidefsky1-2/+0
2018-06-29bpf, s390: fix potential memleak when later bpf_jit_prog failsDaniel Borkmann1-0/+1
2018-05-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+61
2018-05-07s390: use expoline thunks in the BPF JITMartin Schwidefsky1-2/+61
2018-05-03bpf, s390x: remove ld_abs/ld_indDaniel Borkmann1-116/+11
2018-01-26bpf, s390x: remove obsolete exception handling from div/modDaniel Borkmann1-10/+0
2018-01-19bpf: get rid of pure_initcall dependency to enable jitsDaniel Borkmann1-2/+0
2017-12-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+5
2017-12-17bpf: fix net.core.bpf_jit_enable raceAlexei Starovoitov1-1/+1
2017-12-15bpf, s390x: do not reload skb pointers in non-skb contextDaniel Borkmann1-6/+5
2017-11-13Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s39...Linus Torvalds1-13/+13
2017-11-10s390/bpf: take advantage of stack_depth trackingMichael Holzheu1-13/+13
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-08-09bpf, s390x: implement jiting of BPF_J{LT, LE, SLT, SLE}Daniel Borkmann1-0/+24
2017-08-04bpf, s390: fix jit branch offset related to ldimm64Daniel Borkmann1-1/+2
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-08s390: use set_memory.h headerLaura Abbott1-0/+1
2017-02-22Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s39...Linus Torvalds1-7/+4
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-18/+0
2017-02-17bpf: remove stubs for cBPF from arch codeDaniel Borkmann1-8/+0
2017-01-16s390/bpf: remove redundant check for non-null imageDaniel Borkmann1-7/+4
2016-12-08bpf: xdp: Allow head adjustment in XDP progMartin KaFai Lau1-1/+1
2016-05-19s390/bpf: fix recache skb->data/hlen for skb_vlan_push/popMichael Holzheu1-1/+1
2016-05-19s390/bpf: reduce maximum program size to 64 KBMichael Holzheu1-1/+1
2016-05-16bpf, s390: add support for constant blindingDaniel Borkmann1-17/+56
2016-05-16bpf: prepare bpf_int_jit_compile/bpf_prog_select_runtime apisDaniel Borkmann1-3/+5
2015-12-18bpf: move clearing of A/X into classic to eBPF migration prologueDaniel Borkmann1-11/+2
2015-10-03ebpf: migrate bpf_prog's flags to bitfieldDaniel Borkmann1-1/+1
2015-08-11bpf: s390: Fix build error caused by the struct bpf_array member name changedKaixu Xia1-2/+2
2015-07-30bpf: provide helper that indicates eBPF was migratedDaniel Borkmann1-1/+1
2015-07-29s390/bpf: recache skb->data/hlen for skb_vlan_push/popMichael Holzheu1-22/+33
2015-07-29s390/bpf: Only clear A and X for converted BPF programsMichael Holzheu1-9/+11
2015-07-29s390/bpf: increase BPF_SIZE_MAXMichael Holzheu1-12/+3
2015-07-29s390/bpf: Fix multiple macro expansionsMichael Holzheu1-2/+3
2015-07-29s390/bpf: clear correct BPF accumulator registerMichael Holzheu1-7/+7
2015-07-20bpf: introduce bpf_skb_vlan_push/pop() helpersAlexei Starovoitov1-0/+4
2015-06-25s390/bpf: Fix backward jumpsMichael Holzheu1-1/+1
2015-06-09s390/bpf: implement bpf_tail_call() helperMichael Holzheu1-2/+104
2015-06-03s390/bpf: fix bpf frame pointer setupMichael Holzheu1-4/+7
2015-04-30s390/bpf: Fix gcov stack space problemMichael Holzheu1-1/+4
2015-04-30s390/bpf: Adjust ALU64_DIV/MOD to match interpreter changeMichael Holzheu1-8/+6
2015-04-15s390/bpf: Add s390x eBPF JIT compiler backendMichael Holzheu1-694/+1086
2015-01-15s390/bpf: Fix JMP_JGE_K (A >= K) and JMP_JGT_K (A > K)Michael Holzheu1-6/+3
2015-01-09s390/bpf: Fix JMP_JGE_X (A > X) and JMP_JGT_X (A >= X)Michael Holzheu1-2/+2
2015-01-09s390/bpf: Fix ALU_NEG (A = -A)Michael Holzheu1-2/+2
2014-09-13net: filter: constify detection of pkt_type_offsetHannes Frederic Sowa1-34/+1
2014-09-09net: bpf: be friendly to kmemcheckDaniel Borkmann1-1/+1
2014-09-09net: bpf: consolidate JIT binary allocatorDaniel Borkmann1-36/+9
2014-09-05net: bpf: make eBPF interpreter images read-onlyDaniel Borkmann1-1/+1
2014-08-02net: filter: split 'struct sk_filter' into socket and bpf partsAlexei Starovoitov1-2/+2
2014-06-01net: filter: get rid of BPF_S_* enumDaniel Borkmann1-85/+78
2014-05-14net: filter: s390: fix JIT address randomizationHeiko Carstens1-1/+1
2014-04-25s390/bpf,jit: initialize A register if 1st insn is BPF_S_LDX_B_MSHMartin Schwidefsky1-1/+0
2014-03-31net: filter: add jited flag to indicate jit compiled filtersDaniel Borkmann1-1/+4
2014-03-26net: Rename skb->rxhash to skb->hashTom Herbert1-4/+4
2014-01-17s390/bpf,jit: fix 32 bit divisions, use unsigned divide instructionsHeiko Carstens1-8/+8
2014-01-15bpf: do not use reciprocal divideEric Dumazet1-5/+12
2013-10-24s390/bpf,jit: fix prolog oddityMartin Schwidefsky1-2/+2
2013-10-24s390/dis: move disassembler function prototypes to proper header fileHeiko Carstens1-1/+1
2013-10-07net: fix unsafe set_memory_rw from softirqAlexei Starovoitov1-1/+3
2013-09-04s390/bpf,jit: fix address randomizationHeiko Carstens1-1/+1
2013-07-18s390/bpf,jit: add pkt_type supportHeiko Carstens1-0/+42
2013-07-18s390/bpf,jit: address randomize and write protect jit codeHeiko Carstens1-5/+46
2013-07-18s390/bpf,jit: use generic jit dumperHeiko Carstens1-8/+2
2013-07-18s390/bpf,jit: call module_free() from any contextHeiko Carstens1-17/+3
2013-04-17s390/bpf,jit: use kcalloc instead of kmalloc and memsetStelian Nirlu1-2/+1
2013-02-14s390/bpf,jit: add vlan tag supportHeiko Carstens1-0/+21
2012-12-03s390/bpf,jit: add support for XOR instructionHeiko Carstens1-0/+7
2012-12-03s390/bpf,jit: add support MOD instructionHeiko Carstens1-0/+21
2012-09-26s390/bpf,jit: add support for BPF_S_ANC_ALU_XOR_X instructionHeiko Carstens1-0/+5
2012-09-26s390/bpf,jit: improve code generationHeiko Carstens1-4/+37
2012-09-26s390/bpf,jit: BPF Just In Time compiler for s390Martin Schwidefsky1-0/+738