Re: [PATCH bpf-next 1/3] bpf, riscv: add BPF JIT for RV64G

2019-02-04 Thread Björn Töpel
Den mån 4 feb. 2019 kl 21:06 skrev Daniel Borkmann : > > On 02/03/2019 12:51 PM, bjorn.to...@gmail.com wrote: > > From: Björn Töpel > > > > This commit adds BPF JIT for RV64G. > > > > The JIT is a two-pass JIT, and has a dynamic prolog/epilogue (similar > > to the MIPS64 BPF JIT) instead of static

Re: [PATCH bpf-next 1/3] bpf, riscv: add BPF JIT for RV64G

2019-02-04 Thread Daniel Borkmann
On 02/03/2019 12:51 PM, bjorn.to...@gmail.com wrote: > From: Björn Töpel > > This commit adds BPF JIT for RV64G. > > The JIT is a two-pass JIT, and has a dynamic prolog/epilogue (similar > to the MIPS64 BPF JIT) instead of static ones (e.g. x86_64). > > At the moment the RISC-V Linux port does

Re: [PATCH bpf-next 1/3] bpf, riscv: add BPF JIT for RV64G

2019-02-03 Thread David Miller
From: bjorn.to...@gmail.com Date: Sun, 3 Feb 2019 12:51:29 +0100 > From: Björn Töpel > > This commit adds BPF JIT for RV64G. > > The JIT is a two-pass JIT, and has a dynamic prolog/epilogue (similar > to the MIPS64 BPF JIT) instead of static ones (e.g. x86_64). > > At the moment the RISC-V Li

[PATCH bpf-next 1/3] bpf, riscv: add BPF JIT for RV64G

2019-02-03 Thread bjorn . topel
From: Björn Töpel This commit adds BPF JIT for RV64G. The JIT is a two-pass JIT, and has a dynamic prolog/epilogue (similar to the MIPS64 BPF JIT) instead of static ones (e.g. x86_64). At the moment the RISC-V Linux port does not support HAVE_KPROBES, which means that CONFIG_BPF_EVENTS is not s