BPF List
 help / color / mirror / Atom feed
* [PATCH v1 0/4] LoongArch: BPF: Support instructions array, indirect jumps and calls
@ 2026-11-23  4:39 Tiezhu Yang
  2026-11-23  4:39 ` [PATCH v1 1/4] LoongArch: BPF: Optimize BPF_CALL control flow Tiezhu Yang
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Tiezhu Yang @ 2026-11-23  4:39 UTC (permalink / raw)
  To: Huacai Chen, Hengqi Chen; +Cc: loongarch, bpf, linux-kernel

This series was created on top of the following unmerged patches,
though there is no actual dependency and git am applies cleanly
without them:

LoongArch: BPF: Fix the offset of stptr.w and stptr.d stores
https://lore.kernel.org/loongarch/20261118071444.10258-1-dongtai.guo@linux.dev/

LoongArch: BPF: Optimize doubleword loads with ld.d and ldptr.d
https://lore.kernel.org/loongarch/20261118081201.10498-1-yangtiezhu@loongson.cn/

Tested with the series of BPF selftests, here are the test results:

$ sudo ./test_progs -t bpf_insn_array | tail -1
Summary: 1/20 PASSED, 0 SKIPPED, 0/0 FAILED

$ sudo ./test_progs-cpuv4 -t gotox | tail -1
Summary: 2/14 PASSED, 0 SKIPPED, 0/0 FAILED

$ sudo ./test_progs -t callx | tail -1
Summary: 6/89 PASSED, 6 SKIPPED, 0/0 FAILED

Tiezhu Yang (4):
  LoongArch: BPF: Optimize BPF_CALL control flow
  LoongArch: BPF: Add support for instructions array
  LoongArch: BPF: Add support for indirect jumps
  LoongArch: BPF: Add support for indirect calls

 arch/loongarch/net/bpf_jit.c | 30 ++++++++++++++++++++++++++++--
 1 file changed, 28 insertions(+), 2 deletions(-)

-- 
2.42.0


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

end of thread, other threads:[~2026-11-23  5:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23  4:39 [PATCH v1 0/4] LoongArch: BPF: Support instructions array, indirect jumps and calls Tiezhu Yang
2026-11-23  4:39 ` [PATCH v1 1/4] LoongArch: BPF: Optimize BPF_CALL control flow Tiezhu Yang
2026-11-23  4:42   ` sashiko-bot
2026-11-23  5:00     ` Tiezhu Yang
2026-11-23  4:39 ` [PATCH v1 2/4] LoongArch: BPF: Add support for instructions array Tiezhu Yang
2026-11-23  4:39 ` [PATCH v1 3/4] LoongArch: BPF: Add support for indirect jumps Tiezhu Yang
2026-11-23  4:39 ` [PATCH v1 4/4] LoongArch: BPF: Add support for indirect calls Tiezhu Yang

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