aboutsummaryrefslogtreecommitdiffstats
path: root/arch/riscv/net
AgeCommit message (Expand)AuthorFilesLines
2026-06-07bpf: Add struct bpf_tramp_node objectJiri Olsa1-26/+26
2026-06-05bpf, riscv: inline bpf_get_current_task() and bpf_get_current_task_btf()Varun R Mallya1-0/+9
2026-04-16bpf: Pass bpf_verifier_env to JITXu Kuohai1-1/+1
2026-04-16bpf: Move constants blinding out of arch-specific JITsXu Kuohai1-39/+22
2026-04-15bpf, riscv: Remove redundant bpf_flush_icache() after pack allocator finalizePuranjay Mohan2-13/+0
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds2-3/+3
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook2-3/+3
2026-02-13bpf, riscv: add fsession support for trampolinesMenglong Dong1-10/+64
2026-02-13bpf, riscv: introduce emit_store_stack_imm64() for trampolineMenglong Dong1-11/+14
2026-01-06riscv, bpf: Fix incorrect usage of BPF_TRAMP_F_ORIG_STACKMenglong Dong1-4/+2
2025-11-24bpf: specify the old and new poke_type for bpf_arch_text_pokeMenglong Dong1-3/+6
2025-11-24bpf: fix the usage of BPF_TRAMP_F_SKIP_FRAMEMenglong Dong1-1/+1
2025-09-30Merge tag 'bpf-next-6.18' of git://git.kernel.org/pub/scm/linux/kernel/git/bp...Linus Torvalds2-388/+251
2025-09-29Merge tag 'hardening-v6.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+2
2025-09-24kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFIKees Cook1-2/+2
2025-09-23riscv: bpf: Fix uninitialized symbol 'retval_off'Chenghao Duan1-3/+2
2025-09-23bpf, x86: Add support for signed arena loadsKumar Kartikeya Dwivedi1-0/+5
2025-09-15riscv, bpf: Sign extend struct ops return values properlyHengqi Chen1-1/+41
2025-09-15riscv, bpf: Remove duplicated bpf_flush_icache()Hengqi Chen1-1/+0
2025-09-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf after rc5Alexei Starovoitov1-2/+2
2025-09-05riscv, bpf: use lw when reading int cpu in bpf_get_smp_processor_idRadim Krčmář1-1/+1
2025-09-05riscv, bpf: use lw when reading int cpu in BPF_MOV64_PERCPU_REGRadim Krčmář1-1/+1
2025-08-15riscv, bpf: Add support arena atomics for RV64Pu Lehui2-3/+59
2025-08-15riscv, bpf: Add ex_insn_off and ex_jmp_off for exception table handlingPu Lehui2-47/+39
2025-08-15riscv, bpf: Optimize cmpxchg insn with Zacas supportPu Lehui2-16/+29
2025-08-15riscv, bpf: Add Zacas instructionsPu Lehui1-0/+11
2025-08-15riscv, bpf: Add rv_ext_enabled macro for runtime detection extentsionPu Lehui1-17/+11
2025-08-15riscv, bpf: Extract emit_ldx() helperPu Lehui1-108/+35
2025-08-15riscv, bpf: Extract emit_st() helperPu Lehui1-109/+26
2025-08-15riscv, bpf: Extract emit_stx() helperPu Lehui1-131/+41
2025-05-09bpf, riscv64: Skip redundant zext instruction after load-acquirePeilin Ye2-7/+19
2025-05-09bpf, riscv64: Support load-acquire and store-release instructionsAndrea Parri2-5/+85
2025-05-09bpf, riscv64: Introduce emit_load_*() and emit_store_*()Andrea Parri1-99/+143
2024-11-07asm-generic: introduce text-patching.hMike Rapoport (Microsoft)2-2/+2
2024-10-17riscv, bpf: Make BPF_CMPXCHG fully orderedAndrea Parri1-2/+2
2024-10-09riscv, bpf: Fix possible infinite tailcall when CONFIG_CFI_CLANG is enabledPu Lehui1-1/+3
2024-07-20Merge tag 'riscv-for-linus-6.11-mw1' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-3/+4
2024-07-08riscv, bpf: Optimize stack usage of trampolinePuranjay Mohan1-1/+1
2024-07-02riscv, bpf: Add 12-argument support for RV64 bpf trampolinePu Lehui1-19/+47
2024-07-01riscv, bpf: Use bpf_prog_pack for RV64 bpf trampolinePu Lehui1-14/+29
2024-07-01riscv, bpf: Fix out-of-bounds issue when preparing trampoline imagePu Lehui1-5/+13
2024-06-26riscv: Pass patch_text() the length in bytesSamuel Holland1-3/+4
2024-06-20bpf: remove unused parameter in bpf_jit_binary_pack_finalizeRafael Passos1-3/+2
2024-06-03riscv, bpf: Introduce shift add helper with Zba optimizationXiao Wang3-8/+37
2024-05-24riscv, bpf: Try RVC for reg move within BPF_CMPXCHG JITXiao Wang1-2/+4
2024-05-24riscv, bpf: Use STACK_ALIGN macro for size rounding upXiao Wang1-3/+3
2024-05-24riscv, bpf: Optimize zextw insn with Zba extensionXiao Wang1-0/+18
2024-05-15Merge tag 'modules-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-13/+0
2024-05-14riscv: extend execmem_params for generated code allocationsMike Rapoport (IBM)1-13/+0
2024-05-13Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski2-12/+62
2024-05-12riscv, bpf: make some atomic operations fully orderedPuranjay Mohan1-10/+10
2024-05-12riscv, bpf: Fix typo in commentXiao Wang1-2/+2
2024-05-12riscv, bpf: inline bpf_get_smp_processor_id()Puranjay Mohan1-0/+26
2024-05-12riscv, bpf: add internal-only MOV instruction to resolve per-CPU addrsPuranjay Mohan1-0/+24
2024-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+3
2024-04-16riscv, bpf: Fix incorrect runtime statsXu Kuohai1-3/+3
2024-04-04bpf, riscv: Implement bpf_addr_space_cast instructionPuranjay Mohan3-0/+16
2024-04-04bpf, riscv: Implement PROBE_MEM32 pseudo instructionsPuranjay Mohan3-2/+189
2024-03-25riscv, bpf: Fix kfunc parameters incompatibility between bpf and riscv abiPu Lehui1-0/+16
2024-03-06bpf, riscv64/cfi: Support kCFI + BPF on riscv64Puranjay Mohan4-7/+20
2024-02-01riscv, bpf: Enable inline bpf_kptr_xchg() for RV64Pu Lehui1-0/+5
2024-01-29riscv, bpf: Optimize bswap insns with Zbb supportPu Lehui2-48/+71
2024-01-29riscv, bpf: Optimize sign-extention mov insns with Zbb supportPu Lehui2-2/+25
2024-01-29riscv, bpf: Add necessary Zbb instructionsPu Lehui1-0/+32
2024-01-29riscv, bpf: Simplify sext and zext logics in branch instructionsPu Lehui1-48/+31
2024-01-29riscv, bpf: Unify 32-bit zero-extension to emit_zextwPu Lehui2-43/+43
2024-01-29riscv, bpf: Unify 32-bit sign-extension to emit_sextwPu Lehui2-5/+10
2024-01-23riscv, bpf: Fix unpredictable kernel crash about RV64 struct_opsPu Lehui1-2/+3
2023-12-06bpf: Use arch_bpf_trampoline_sizeSong Liu1-7/+0
2023-12-06bpf: Add arch_bpf_trampoline_size()Song Liu1-5/+17
2023-10-09riscv, bpf: Track both a0 (RISC-V ABI) and a5 (BPF) return valuesBjörn Töpel1-4/+9
2023-10-09riscv, bpf: Sign-extend return valuesBjörn Töpel1-2/+3
2023-09-06bpf, riscv: use prog pack allocator in the BPF JITPuranjay Mohan3-28/+141
2023-08-24riscv, bpf: Support unconditional bswap insnPu Lehui1-0/+1
2023-08-24riscv, bpf: Support signed div/mod insnsPu Lehui2-6/+40
2023-08-24riscv, bpf: Support 32-bit offset jmp insnPu Lehui1-1/+5
2023-08-24riscv, bpf: Support sign-extension mov insnsPu Lehui1-1/+13
2023-08-24riscv, bpf: Support sign-extension load insnsPu Lehui2-8/+48
2023-08-24riscv, bpf: Fix missing exception handling and redundant zext for LDX_B/H/WPu Lehui1-6/+3
2023-08-02riscv, bpf: Adapt bpf trampoline to optimized riscv ftrace frameworkPu Lehui1-70/+81
2023-07-11riscv, bpf: Fix inconsistent JIT image generationBjörn Töpel2-9/+16
2023-03-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2023-02-27riscv, bpf: Fix patch_text implicit declarationRandy Dunlap1-0/+1
2023-02-22riscv, bpf: Add kfunc support for RV64Pu Lehui1-0/+5
2023-02-17riscv, bpf: Add bpf trampoline support for RV64Pu Lehui1-0/+317
2023-02-17riscv, bpf: Add bpf_arch_text_poke support for RV64Pu Lehui2-2/+91
2023-02-17riscv, bpf: Factor out emit_call for kernel and bpf contextPu Lehui1-17/+13
2022-12-06riscv, bpf: Emit fixed-length instructions for BPF_PSEUDO_FUNCPu Lehui1-1/+28
2022-06-02bpf, riscv: Support riscv jit to provide bpf_line_infoPu Lehui2-1/+8
2022-04-11riscv, bpf: Implement more atomic operations for RV64Pu Lehui2-24/+153
2022-01-19riscv: bpf: Fix eBPF's exception tablesJisheng Zhang1-1/+1
2022-01-19Merge tag 'riscv-for-linus-5.17-mw0' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-5/+4
2022-01-05riscv: extable: add `type` and `data` fieldsJisheng Zhang1-2/+3
2022-01-05riscv: extable: make fixup_exception() return boolJisheng Zhang1-3/+3
2022-01-05riscv: bpf: move rv_bpf_fixup_exception signature to extable.hJisheng Zhang1-2/+0
2021-11-16bpf: Change value of MAX_TAIL_CALL_CNT from 32 to 33Tiezhu Yang2-8/+5
2021-11-05riscv, bpf: Fix RV32 broken build, and silence RV64 warningBjörn Töpel1-0/+2
2021-11-01Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski3-43/+164
2021-11-01riscv, bpf: Increase the maximum number of iterationsBjörn Töpel1-1/+1
2021-10-28riscv, bpf: Fix potential NULL dereferenceBjörn Töpel1-1/+2
2021-10-28riscv, bpf: Add BPF exception tablesTong Tiangen3-42/+163
2021-10-22bpf: Define bpf_jit_alloc_exec_limit for riscv JITLorenz Bauer1-0/+5
2021-07-29bpf: Introduce BPF nospec instruction for mitigating Spectre v4Daniel Borkmann2-0/+8
2021-04-26riscv: bpf: Avoid breaking W^XJisheng Zhang1-1/+2
2021-04-26riscv: bpf: Move bpf_jit_alloc_exec() and bpf_jit_free_exec() to coreJisheng Zhang2-13/+13
2021-01-14bpf: Rename BPF_XADD and prepare to encode other atomics in .immBrendan Jackman2-8/+28
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-2/+2
2020-07-21bpf, riscv: Use compressed instructions in the rv64 JITLuke Nelson1-131/+144
2020-07-21bpf, riscv: Add encodings for compressed instructionsLuke Nelson1-0/+452
2020-07-21bpf, riscv: Modify JIT ctx to support compressed instructionsLuke Nelson4-19/+44
2020-05-06bpf, riscv: Optimize BPF_JSET BPF_K using andi on RV64Luke Nelson1-8/+19
2020-05-06bpf, riscv: Optimize BPF_JMP BPF_K when imm == 0 on RV64Luke Nelson1-5/+10
2020-05-06bpf, riscv: Optimize FROM_LE using verifier_zext on RV64Luke Nelson1-6/+14
2020-05-06bpf, riscv: Enable missing verifier_zext optimizations on RV64Luke Nelson1-4/+4
2020-04-30bpf, riscv: Fix stack layout of JITed code on RV32Luke Nelson1-32/+64
2020-04-26bpf, riscv: Fix tail call count off by one in RV32 BPF JITLuke Nelson1-2/+3
2020-04-08riscv, bpf: Fix offset range checking for auipc+jalr on RV64Luke Nelson1-17/+32
2020-03-05riscv, bpf: Add RV32G eBPF JITLuke Nelson3-1/+1365
2020-03-05riscv, bpf: Factor common RISC-V JIT codeLuke Nelson4-601/+639
2019-12-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-238/+293
2019-12-19riscv, bpf: Optimize callsBjörn Töpel1-37/+64
2019-12-19riscv, bpf: Provide RISC-V specific JIT image alloc/freeBjörn Töpel1-0/+13
2019-12-19riscv, bpf: Optimize BPF tail callsBjörn Töpel1-6/+7
2019-12-19riscv, bpf: Add support for far jumps and exitsBjörn Töpel1-20/+17
2019-12-19riscv, bpf: Add support for far branching when emitting tail callBjörn Töpel1-19/+3
2019-12-19riscv, bpf: Add support for far branchingBjörn Töpel1-164/+188
2019-12-19riscv, bpf: Fix broken BPF tail callsBjörn Töpel1-2/+11
2019-12-11bpf, riscv: Limit to 33 tail callsPaul Chaignon1-2/+2
2019-07-05bpf, riscv: Enable zext optimization for more RV64G ALU opsLuke Nelson1-8/+8
2019-06-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+24
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfDavid S. Miller1-0/+24
2019-05-31bpf, riscv: clear high 32 bits for ALU32 add/sub/neg/lsh/rsh/arshLuke Nelson1-0/+18
2019-05-24riscv: bpf: eliminate zero extension code-genJiong Wang1-13/+30
2019-05-23bpf, riscv: clear target register high 32-bits for and/or/xor on ALU32Björn Töpel1-0/+6
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner1-0/+1
2019-02-05bpf, riscv: add BPF JIT for RV64GBjörn Töpel2-0/+1603