Skip to content

bpf,ftrace: bpf dispatcher function fix

Jiri Olsa bpf 3 versions – Applied

Status from this message: This series was applied to bpf/bpf-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesApplied 2/2
  2. v22 patches 4 repliesSuperseded
  3. v12 patches 8 repliesSuperseded

Changes in v3 from the cover letter

- using notrace and adding it also for all archs [Peter]

Patches in v3 All 2 applied

#Subject and filesSizeRepliesApplied
1/2ftrace: Add HAVE_DYNAMIC_FTRACE_NO_PATCHABLEinclude/asm-generic/vmlinux.lds.h kernel/trace/Kconfig tools/objtool/check.c+18 -20 repliesApplied
2/2bpf: Move bpf_dispatcher function out of ftrace locationsarch/x86/Kconfig include/linux/bpf.h+8 -03 repliesApplied

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchPeter Zijlstra (Intel)
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCHv3 bpf-next 0/2] bpf,ftrace: bpf dispatcher function fix

hi,
as discussed [1] sending fix that moves bpf dispatcher function of out ftrace locations together with Peter's HAVE_DYNAMIC_FTRACE_NO_PATCHABLE dependency change.

v3 changes:
- using notrace and adding it also for all archs [Peter]

v2 changes:
- fixing s390x CI build failure by enabling attributes only for x86_64 [Ilya Leoshkevic]

thanks,
jirka

[1] https://lore.kernel.org/bpf/[email protected]/
---
Jiri Olsa (1):
bpf: Move bpf_dispatcher function out of ftrace locations

Peter Zijlstra (Intel) (1):
ftrace: Add HAVE_DYNAMIC_FTRACE_NO_PATCHABLE

 arch/x86/Kconfig                  |  1 +
 include/asm-generic/vmlinux.lds.h | 11 ++++++++++-
 include/linux/bpf.h               |  7 +++++++
 kernel/trace/Kconfig              |  6 ++++++
 tools/objtool/check.c             |  3 ++-
 5 files changed, 26 insertions(+), 2 deletions(-)