Re: [PATCH v4 0/4] LoongArch bpf kptr xchg inline support

Tiezhu Yang <[email protected]> Thu, 6 Aug 2026 20:21:46 +0800
Newsgroups org.kernel.vger.linux-kselftest,dev.linux.lists.loongarch,org.kernel.vger.bpf
Message-ID <[email protected]>
On 2026/7/29 上午10:28, Chenguang Zhao wrote:
> From: Chenguang Zhao <[email protected]>
> 
> This series enables the BPF verifier to inline bpf_kptr_xchg()
> into BPF_XCHG on LoongArch64, and fixes the underlying JIT
> atomic ordering that makes such inlining safe.

The first three patches apply cleanly on top of the loongarch-next
branch of linux-loongson.git.

The following selftest passed on LoongArch:

   # ./test_progs -t kptr_xchg_inline

Acked-by: Tiezhu Yang <[email protected]>
Tested-by: Tiezhu Yang <[email protected]>

Thanks,
Tiezhu