linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/4] arm64 BPF JIT updates
@ 2016-06-09  4:18 Zi Shen Lim
  2016-06-09  4:18 ` [PATCH net-next v3 1/4] bpf: fix missing header inclusion Zi Shen Lim
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Zi Shen Lim @ 2016-06-09  4:18 UTC (permalink / raw)
  To: linux-arm-kernel

Updates for arm64 eBPF JIT.
The main addition here is implementation of bpf_tail_call.

#1: Fix missing header inclusion in linux/bpf.h.
#2: Add bpf_tail_call for arm64.
#3,4: Optimizations to reduce instruction count for jitted code.

Changes since v2:
 - None. Resubmit per David Miller.

Changes since v1:
 - Added patch #1 to address build error due to missing header inclusion
   in linux/bpf.h. (Thanks to suggestion and ack by Daniel Borkmann)
   Ordered it ahead of bpf_tail_call patch #2 so build error is not
   triggered.

Zi Shen Lim (4):
  bpf: fix missing header inclusion
  arm64: bpf: implement bpf_tail_call() helper
  arm64: bpf: optimize JMP_CALL
  arm64: bpf: optimize LD_ABS, LD_IND

 arch/arm64/net/bpf_jit.h      |   3 +-
 arch/arm64/net/bpf_jit_comp.c | 111 ++++++++++++++++++++++++++++++++++++------
 include/linux/bpf.h           |   1 +
 3 files changed, 99 insertions(+), 16 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-06-11  6:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-09  4:18 [PATCH net-next v3 0/4] arm64 BPF JIT updates Zi Shen Lim
2016-06-09  4:18 ` [PATCH net-next v3 1/4] bpf: fix missing header inclusion Zi Shen Lim
2016-06-09  4:18 ` [PATCH net-next v3 2/4] arm64: bpf: implement bpf_tail_call() helper Zi Shen Lim
2016-06-09  4:18 ` [PATCH net-next v3 3/4] arm64: bpf: optimize JMP_CALL Zi Shen Lim
2016-06-09  4:18 ` [PATCH net-next v3 4/4] arm64: bpf: optimize LD_ABS, LD_IND Zi Shen Lim
2016-06-11  6:12 ` [PATCH net-next v3 0/4] arm64 BPF JIT updates David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).