[off-list] [PATCH 0/7 bpf-next v2] ARC: Add eBPF JIT support

Shahab Vahedi list+bpf at vahedi.org
Tue Apr 30 08:09:30 PDT 2024


From: Shahab Vahedi <shahab at synopsys.com>

[off-list]

Hi Björn,

First and foremost, I apologise that it took me a long time
to rework what we have discussed about the first version
of "ARC: Add eBPF JIT support" patch.

In order to make the second review easier for you, since you
already have reviewed PATCH v1 [1], I share with you the
additional changes in series format, in the hope that it will
save you some time and refresh your memory better on the things
discussed [3].

I have to iterate that these changes are identical to the
submitted v2 patch [2]:

v1 + this series = v2

If you have any feedback, please kindly reply to v2 patch
in the mailing list [2].

Thank you and have a great time,
Shahab

[1] [PATCH bpf-next v1] ARC: Add eBPF JIT support
https://lore.kernel.org/bpf/20240213131946.32068-1-list+bpf@vahedi.org/

[2] [PATCH bpf-next v2] ARC: Add eBPF JIT support
https://lore.kernel.org/bpf/20240430145604.38592-1-list+bpf@vahedi.org/

[3] Discussion on what should be improved
https://lore.kernel.org/bpf/6e4cf7cc-6a2e-4396-b0d5-01ff10d6923a@vahedi.org/


Shahab Vahedi (7):
  v2: Turn "emit" from global into a context var
  v2: Turn "zext_thyself" from global into a context var
  v2: Use memset() in jit_ctx_init()
  v2: MAINTAINERS: Add "BPF JIT for ARC" entry
  v2: Fix typos
  v2: Fix most of the "Checks" from "checkpatch.pl"
  v2: Check "bpf_jit_binary_lock_ro()" return value

 MAINTAINERS                  |   6 +
 arch/arc/net/bpf_jit.h       | 147 +++++-----
 arch/arc/net/bpf_jit_arcv2.c | 528 ++++++++++++++++++-----------------
 arch/arc/net/bpf_jit_core.c  | 214 +++++++-------
 4 files changed, 454 insertions(+), 441 deletions(-)

-- 
2.35.8




More information about the linux-snps-arc mailing list