Re: [PATCH v1 0/2] Refine move_imm() and optimize memory load

From: Tiezhu Yang

Date: Thu Jul 30 2026 - 03:27:14 EST


On 2026/7/28 上午11:16, Tiezhu Yang wrote:
This series is based on 7.2-rc5 and the following two series:

Fix and optimize BPF tailcall for LoongArch
https://lore.kernel.org/loongarch/20260707101508.32283-1-yangtiezhu@xxxxxxxxxxx/

LoongArch: BPF: clean up for build_insn() paths
https://lore.kernel.org/loongarch/20260711100956.4351-1-yangtiezhu@xxxxxxxxxxx/

...

Tiezhu Yang (2):
LoongArch: BPF: Clean up and decouple is32 parameter from move_imm()
LoongArch: BPF: Eliminate zero-extension for memory load operations

arch/loongarch/net/bpf_jit.c | 123 ++++++++++++++++++++++-------------
arch/loongarch/net/bpf_jit.h | 7 +-
2 files changed, 79 insertions(+), 51 deletions(-)


Here is the latest loongarch-next tree:

https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git/log/?h=loongarch-next

I noticed there are several patch series from others (Chenguang Zhao,
George Guo) that need to be rebased. To avoid unnecessary conflicts,
please bypass mine for now and focus on theirs.

I will hold off and send these refactoring and optimization patches
later when the timing is better.

Thanks,
Tiezhu