Skip to content

Refactor patch text interfaces and mechanism

Zong Li linux-riscv lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3riscv: Remove the 'riscv_' prefix of function namearch/riscv/include/asm/patch.h arch/riscv/kernel/ftrace.c arch/riscv/kernel/patch.c+14 -140 replies
2/3riscv: Use NOKPROBE_SYMBOL() instead of __krpobes annotationarch/riscv/kernel/patch.c+14 -70 replies
3/3riscv: Use text_mutex instead of patch_lockarch/riscv/kernel/ftrace.c arch/riscv/kernel/patch.c+20 -60 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMasami HiramatsuPalmer Dabbelt
1/3R-b R-b
2/3R-b R-b
3/3R-b R-b

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

Read the v1 thread

Cover letter [PATCH 0/3] Refactor patch text interfaces and mechanism

This patch set contains the difference from the newest strict memory permission. These changes are suggested by Masami Hiramatsu, including deprecating old style of kprobe annotation, lock protection and so on.

Zong Li (3):
riscv: Remove the 'riscv_' prefix of function name
riscv: Use NOKPROBE_SYMBOL() instead of __krpobes annotation
riscv: Use text_mutex instead of patch_lock

 arch/riscv/include/asm/patch.h |  4 +--
 arch/riscv/kernel/ftrace.c     | 15 ++++++++++-
 arch/riscv/kernel/patch.c      | 46 ++++++++++++++++++++--------------
 3 files changed, 43 insertions(+), 22 deletions(-)
Signature · 1 line
2.26.1