From: Denis Kirjanov <kda@linux-powerpc.org>
To: netdev@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
Subject: bpf: Enable BPF JIT on ppc32
Date: Tue, 17 Feb 2015 10:04:37 +0300 [thread overview]
Message-ID: <1424156683-2682-1-git-send-email-kda@linux-powerpc.org> (raw)
This patch series enables BPF JIT on ppc32. There are relatevily
few chnages in the code to make it work.
All test_bpf tests passed both on 7447a and P2041-based machines.
Changelog:
v1 - > v2: Reordered Kconfig patch in the series
Denis Kirjanov (6):
ppc: bpf: add required compatibility macros for jit
ppc: bpf: add reqired opcodes for ppc32
ppc: bpf: update jit to use compatibility macros
ppc: bpf: rename bpf_jit_64.S to bpf_jit_asm.S
ppc: bpf: Add SKF_AD_CPU for ppc32
ppc: Kconfig: Enable BPF JIT on ppc32
arch/powerpc/include/asm/asm-compat.h | 4 +
arch/powerpc/include/asm/ppc-opcode.h | 2 +
arch/powerpc/net/Makefile | 2 +-
arch/powerpc/net/bpf_jit.h | 64 +++++++++-
arch/powerpc/net/bpf_jit_64.S | 229 ----------------------------------
arch/powerpc/net/bpf_jit_asm.S | 229 ++++++++++++++++++++++++++++++++++
arch/powerpc/net/bpf_jit_comp.c | 46 +++----
7 files changed, 317 insertions(+), 259 deletions(-)
next reply other threads:[~2015-02-17 7:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-17 7:04 Denis Kirjanov [this message]
2015-02-17 7:04 ` [PATCH net-next v2 1/6] ppc: bpf: add required compatibility macros for jit Denis Kirjanov
2015-02-17 7:04 ` [PATCH net-next v2 2/6] ppc: bpf: add reqired opcodes for ppc32 Denis Kirjanov
2015-02-17 7:04 ` [PATCH net-next v2 3/6] ppc: bpf: update jit to use compatibility macros Denis Kirjanov
2015-02-17 7:04 ` [PATCH net-next v2 4/6] ppc: bpf: rename bpf_jit_64.S to bpf_jit_asm.S Denis Kirjanov
2015-02-17 7:04 ` [PATCH net-next v2 5/6] ppc: bpf: Add SKF_AD_CPU for ppc32 Denis Kirjanov
2015-02-17 7:04 ` [PATCH net-next v2 6/6] ppc: Kconfig: Enable BPF JIT on ppc32 Denis Kirjanov
2015-02-19 20:56 ` bpf: " David Miller
2015-02-19 21:07 ` Denis Kirjanov
2015-02-19 21:26 ` Michael Ellerman
2015-02-19 21:35 ` Denis Kirjanov
2015-02-20 20:20 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1424156683-2682-1-git-send-email-kda@linux-powerpc.org \
--to=kda@linux-powerpc.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).