mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 0/5] Support trampoline for LoongArch
@ 2025-06-11  3:59 Chenghao Duan
  2025-06-11  3:59 ` [PATCH v1 1/5] LoongArch: Support fixmap Chenghao Duan
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Chenghao Duan @ 2025-06-11  3:59 UTC (permalink / raw)
  To: ast, daniel, andrii, martin.lau, eddyz87, song, yonghong.song,
	john.fastabend, kpsingh, sdf, haoluo, jolsa, yangtiezhu,
	hengqi.chen, chenhuacai, kernel, linux-kernel
  Cc: guodongtai, duanchenghao, youling.tang, jianghaoran

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-06-12 12:32 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-11  3:59 [PATCH v1 0/5] Support trampoline for LoongArch Chenghao Duan
2025-06-11  3:59 ` [PATCH v1 1/5] LoongArch: Support fixmap Chenghao Duan
2025-06-11  3:59 ` [PATCH v1 2/5] LoongArch: BPF: The operation commands needed to add a trampoline Chenghao Duan
2025-06-11  5:36   ` [PATCH v1 0/5] Support trampoline for LoongArch Chenghao Duan
2025-06-11  5:36     ` [PATCH v1 1/5] LoongArch: Support fixmap Chenghao Duan
2025-06-11  5:36     ` [PATCH v1 2/5] LoongArch: BPF: The operation commands needed to add a trampoline Chenghao Duan
2025-06-12 12:32       ` Hengqi Chen
2025-06-11  5:36     ` [PATCH v1 3/5] LoongArch: BPF: Add bpf_arch_text_poke support for Loongarch Chenghao Duan
2025-06-11 20:56       ` kernel test robot
2025-06-11  5:36     ` [PATCH v1 4/5] LoongArch: BPF: Add bpf trampoline " Chenghao Duan
2025-06-11  5:36     ` [PATCH v1 5/5] LoongArch: BPF: Update the code to rename validate_code to validate_ctx Chenghao Duan
2025-06-11  3:59 ` [PATCH v1 3/5] LoongArch: BPF: Add bpf_arch_text_poke support for Loongarch Chenghao Duan
2025-06-11  3:59 ` [PATCH v1 4/5] LoongArch: BPF: Add bpf trampoline " Chenghao Duan
2025-06-11  3:59 ` [PATCH v1 5/5] LoongArch: BPF: Update the code to rename validate_code to validate_ctx Chenghao Duan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®