Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1266843

[PATCH 0/2] arm64: bpf: add BPF_ST and BPF_XADD instructions support

From Yang Shi <yang.shi@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 0/2] arm64: bpf: add BPF_ST and BPF_XADD instructions support
Date 2015-11-11 00:10 +0100
Message-ID <qtqd4-36K-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Current ARM64 BPF JIT doesn't have store immediate and XADD instructions
support, and aarch64 doesn't have native instructions for them. Implement
them in instruction sequence. For detail, please refer to the commit log.

The implementation is tested by test_bpf kernel module.

The patches are applied after my BPF JIT stack fix [1].

[1] https://patches.linaro.org/56268/

Yang Shi (2):
      arm64: bpf: add 'store immediate' instruction
      arm64: bpf: add BPF XADD instruction

 arch/arm64/net/bpf_jit_comp.c | 39 ++++++++++++++++++++++++++++++++++-----
 1 file changed, 34 insertions(+), 5 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] arm64: bpf: add BPF_ST and BPF_XADD instructions support Yang Shi <yang.shi@linaro.org> - 2015-11-11 00:10 +0100
  [PATCH 1/2] arm64: bpf: add 'store immediate' instruction Yang Shi <yang.shi@linaro.org> - 2015-11-11 00:10 +0100
    Re: [PATCH 1/2] arm64: bpf: add 'store immediate' instruction Z Lim <zlim.lnx@gmail.com> - 2015-11-11 03:50 +0100
      Re: [PATCH 1/2] arm64: bpf: add 'store immediate' instruction Will Deacon <will.deacon@arm.com> - 2015-11-11 13:20 +0100
        Re: [PATCH 1/2] arm64: bpf: add 'store immediate' instruction Will Deacon <will.deacon@arm.com> - 2015-11-11 13:50 +0100
          Re: [PATCH 1/2] arm64: bpf: add 'store immediate' instruction "Shi, Yang" <yang.shi@linaro.org> - 2015-11-12 20:40 +0100
            Re: [PATCH 1/2] arm64: bpf: add 'store immediate' instruction Z Lim <zlim.lnx@gmail.com> - 2015-11-13 04:50 +0100

csiph-web