[PATCH v1 0/5] Support trampoline for LoongArch

Chenghao Duan posted 5 patches 4 months ago
There is a newer version of this series
arch/loongarch/include/asm/fixmap.h |   2 +
arch/loongarch/include/asm/inst.h   |  19 ++
arch/loongarch/kernel/inst.c        |  85 +++++
arch/loongarch/kernel/setup.c       |   1 +
arch/loongarch/mm/init.c            | 111 ++++++-
arch/loongarch/net/bpf_jit.c        | 497 +++++++++++++++++++++++++++-
arch/loongarch/net/bpf_jit.h        |   6 +
7 files changed, 714 insertions(+), 7 deletions(-)
[PATCH v1 0/5] Support trampoline for LoongArch
Posted by Chenghao Duan 4 months ago
v1: Support trampoline for LoongArch. The following feature tests
have been completed:
1. fentry
2. fexit
3. fmod_ret

TODO: The support for the struct_ops feature will be provided in
subsequent patches.

Chenghao Duan (4):
  LoongArch: BPF: The operation commands needed to add a trampoline
  LoongArch: BPF: Add bpf_arch_text_poke support for Loongarch
  LoongArch: BPF: Add bpf trampoline support for Loongarch
  LoongArch: BPF: Update the code to rename validate_code to
    validate_ctx.

George Guo (1):
  LoongArch: Support fixmap

 arch/loongarch/include/asm/fixmap.h |   2 +
 arch/loongarch/include/asm/inst.h   |  19 ++
 arch/loongarch/kernel/inst.c        |  85 +++++
 arch/loongarch/kernel/setup.c       |   1 +
 arch/loongarch/mm/init.c            | 111 ++++++-
 arch/loongarch/net/bpf_jit.c        | 497 +++++++++++++++++++++++++++-
 arch/loongarch/net/bpf_jit.h        |   6 +
 7 files changed, 714 insertions(+), 7 deletions(-)

Signed-off-by: Chenghao Duan <duanchenghao@kylinos.cn>

-- 
2.25.1