+53
−14
Loading
mainline inclusion from mainline-v5.19-rc1 commit 30c90f67 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I9FGRE Reference: https://github.com/torvalds/linux/commit/30c90f6757a7 -------------------------------- This patch introduces ldr/str with immediate offset support to simplify the JIT implementation of BPF LDX/STX instructions on arm64. Although arm64 ldr/str immediate is available in pre-index, post-index and unsigned offset forms, the unsigned offset form is sufficient for BPF, so this patch only adds this type. Signed-off-by:Xu Kuohai <xukuohai@huawei.com> Signed-off-by:
Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20220321152852.2334294-2-xukuohai@huawei.com Conflicts: arch/arm64/lib/insn.c Signed-off-by:
Pu Lehui <pulehui@huawei.com>