bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] LoongArch: Fix BPF trampoline related issues
@ 2025-08-21  9:10 Hengqi Chen
  2025-08-21  9:10 ` [PATCH 1/3] LoongArch: BPF: Remove duplicated flags check Hengqi Chen
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Hengqi Chen @ 2025-08-21  9:10 UTC (permalink / raw)
  To: chenhuacai, yangtiezhu, jianghaoran, duanchenghao, ast, daniel,
	andrii, martin.lau, vincent.mc.li
  Cc: bpf, loongarch, Hengqi Chen

The following two selftest cases triggers oops on LoongArch:

    $ ./test_progs -a ns_bpf_qdisc -a tracing_struct

This small series tries to fix/workaround these issues.
See individual commit for details.

While at it, remove a duplicated flags check in __arch_prepare_bpf_trampoline().

Hengqi Chen (3):
  LoongArch: BPF: Remove duplicated flags check
  LoongArch: BPF: Sign extend struct ops return values properly
  LoongArch: BPF: No support of struct argument in trampoline programs

 arch/loongarch/net/bpf_jit.c | 54 +++++++++++++++++++++++++++++-------
 1 file changed, 44 insertions(+), 10 deletions(-)

--
2.43.5

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

end of thread, other threads:[~2025-08-25  2:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-21  9:10 [PATCH 0/3] LoongArch: Fix BPF trampoline related issues Hengqi Chen
2025-08-21  9:10 ` [PATCH 1/3] LoongArch: BPF: Remove duplicated flags check Hengqi Chen
2025-08-21 13:48   ` Tiezhu Yang
2025-08-21  9:10 ` [PATCH 2/3] LoongArch: BPF: Sign extend struct ops return values properly Hengqi Chen
2025-08-21 13:52   ` Tiezhu Yang
2025-08-21  9:10 ` [PATCH 3/3] LoongArch: BPF: No support of struct argument in trampoline programs Hengqi Chen
2025-08-21 13:57   ` Tiezhu Yang
2025-08-25  2:11 ` [PATCH 0/3] LoongArch: Fix BPF trampoline related issues Vincent Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).