]> www.infradead.org Git - users/dwmw2/linux.git/commit
riscv, bpf: Unify 32-bit zero-extension to emit_zextw
authorPu Lehui <pulehui@huawei.com>
Mon, 15 Jan 2024 13:12:31 +0000 (13:12 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 29 Jan 2024 15:25:33 +0000 (16:25 +0100)
commit914c7a5ff18a225f7df254ae3433574f3d47b711
treee4dc7d61f7d90f4121042426892ee4f7a3ab1c0c
parente33758f7493c9ad8cf6960bcf7c70f5761f3acfb
riscv, bpf: Unify 32-bit zero-extension to emit_zextw

For code unification, add emit_zextw wrapper to unify all the 32-bit
zero-extension operations.

Signed-off-by: Pu Lehui <pulehui@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Tested-by: Björn Töpel <bjorn@rivosinc.com>
Acked-by: Björn Töpel <bjorn@kernel.org>
Link: https://lore.kernel.org/bpf/20240115131235.2914289-3-pulehui@huaweicloud.com
arch/riscv/net/bpf_jit.h
arch/riscv/net/bpf_jit_comp64.c