On 4/14/22 01:17, Sergey Matyukevich wrote:
Hi Vineet and all, Here is the second revision of the patch series implementing the following two features for ARC: - HAVE_REGS_AND_STACK_ACCESS_API - HAVE_SYSCALL_TRACEPOINTS Adding these features enables more BPF programs for ARC kernels, including KPROBE, TRACEPOINT, PERF_EVENT program types. Regards, Sergey
Applied ! Thx, -Vineet
v1 -> v2: - drop path with uapi for BPF_PROG_TYPE_PERF_EVENT program type: send it via bpf mailing list - add patch with ARCv2 changes for kprobe disasm Sergey Matyukevich (4): ARC: enable HAVE_REGS_AND_STACK_ACCESS_API feature ARC: entry: fix syscall_trace_exit argument ARC: implement syscall tracepoints ARC: disasm: handle ARCv2 case in kprobe get/set functions arch/arc/Kconfig | 2 + arch/arc/include/asm/ptrace.h | 27 ++++++ arch/arc/include/asm/syscall.h | 2 + arch/arc/include/asm/thread_info.h | 5 +- arch/arc/kernel/disasm.c | 64 ++++++++++++- arch/arc/kernel/entry.S | 13 +-- arch/arc/kernel/ptrace.c | 140 ++++++++++++++++++++++++++++- 7 files changed, 241 insertions(+), 12 deletions(-)
_______________________________________________ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc