All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergey Matyukevich <geomatsi@gmail.com>
To: linux-snps-arc@lists.infradead.org
Cc: Vineet Gupta <vgupta@kernel.org>,
	Vladimir Isaev <isaev@synopsys.com>,
	Sergey Matyukevich <geomatsi@gmail.com>
Subject: [PATCH v2 0/4] ARC: add missing bits for better BPF support
Date: Thu, 14 Apr 2022 11:17:20 +0300	[thread overview]
Message-ID: <20220414081724.3177956-1-geomatsi@gmail.com> (raw)

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

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(-)

-- 
2.35.1


_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

             reply	other threads:[~2022-04-14  8:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-14  8:17 Sergey Matyukevich [this message]
2022-04-14  8:17 ` [PATCH v2 1/4] ARC: enable HAVE_REGS_AND_STACK_ACCESS_API feature Sergey Matyukevich
2022-04-14  8:17 ` [PATCH v2 2/4] ARC: entry: fix syscall_trace_exit argument Sergey Matyukevich
2022-04-18 19:14   ` Vineet Gupta
2022-04-14  8:17 ` [PATCH v2 3/4] ARC: implement syscall tracepoints Sergey Matyukevich
2022-04-14  8:17 ` [PATCH v2 4/4] ARC: disasm: handle ARCv2 case in kprobe get/set functions Sergey Matyukevich
2022-04-18 19:10 ` [PATCH v2 0/4] ARC: add missing bits for better BPF support Vineet Gupta

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=20220414081724.3177956-1-geomatsi@gmail.com \
    --to=geomatsi@gmail.com \
    --cc=isaev@synopsys.com \
    --cc=linux-snps-arc@lists.infradead.org \
    --cc=vgupta@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.