Re: [PATCH bpf-next v4 0/3] bpf, mips: Add signed div/mod support

From: patchwork-bot+netdevbpf

Date: Tue Sep 22 2026 - 19:51:41 EST


Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Fri, 11 Sep 2026 17:33:37 -0400 you wrote:
> The MIPS JITs do not interpret the insn->off value that selects signed
> DIV/MOD semantics, so negative operands produce unsigned results.
>
> Factor div/mod emission into helpers, add the missing signed uasm
> operations, and decode insn->off in the div/mod emitters. On MIPS32,
> use signed 64-bit helpers for ALU64 operations.
>
> [...]

Here is the summary with links:
- [bpf-next,v4,1/3] bpf, mips: Factor out div/mod emission helpers
https://git.kernel.org/bpf/bpf-next/c/a2710072ddec
- [bpf-next,v4,2/3] MIPS: uasm: Add signed div/mod and sign-extension emitters
https://git.kernel.org/bpf/bpf-next/c/668508db5ecb
- [bpf-next,v4,3/3] bpf, mips: Add support for BPF_SDIV and BPF_SMOD
https://git.kernel.org/bpf/bpf-next/c/47c26a8570d1

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html