Implement livepatch on PPC32 and more
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest13 patches 27 repliesIn review
- v15 patches 21 repliesSuperseded
Changes in v2 from the cover letter
- Fix problem with strict modules RWX
- Convert powerpc to CONFIG_DYNAMIC_FTRACE_WITH_ARGS
- Convert function graph tracing to C
- Refactor PPC32 versus PPC64
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | livepatch: Fix build failure on 32 bits processorskernel/ | +2 | 2 replies | |
| 2/13 | tracing: Fix selftest config check for function graph start up testkernel/ | +2 | 5 replies | |
| 3/13 | powerpc/module_32: Fix livepatching for RO modulesarch/ | +30 | 1 reply | |
| 4/13 | powerpc/ftrace: Add support for livepatch to PPC32arch/ arch/ arch/ +1 more | +12 | 1 reply | |
| 5/13 | powerpc/ftrace: Don't save again LR in ftrace_regs_caller() on PPC32arch/ | +0 | 0 replies | |
| 6/13 | powerpc/ftrace: Simplify PPC32's return_to_handler()arch/ | +6 | 0 replies | |
| 7/13 | powerpc/ftrace: Prepare PPC32's ftrace_caller() for CONFIG_DYNAMIC_FTRACE_WITH_ARGSarch/ arch/ | +26 | 0 replies | |
| 8/13 | powerpc/ftrace: Prepare PPC64's ftrace_caller() for CONFIG_DYNAMIC_FTRACE_WITH_ARGSarch/ | +19 | 1 reply | |
| 9/13 | powerpc/ftrace: Implement CONFIG_DYNAMIC_FTRACE_WITH_ARGSarch/ arch/ arch/ | +19 | 12 replies | |
| 10/13 | powerpc/ftrace: Refactor ftrace_{en/dis}able_ftrace_graph_callerarch/ | +9 | 0 replies | |
| 11/13 | powerpc/ftrace: directly call of function graph tracer by ftrace callerarch/ arch/ arch/ +1 more | +20 | 2 replies | |
| 12/13 | powerpc/ftrace: Prepare ftrace_64_mprofile.S for reuse by PPC32arch/ | +51 | 2 replies | |
| 13/13 | powerpc/ftrace: Remove ftrace_32.Sarch/ arch/ arch/ +1 more | +17 | 1 reply |
Reviews trailers per patch
2 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Petr Mladek | Miroslav Benes | Joe Lawrence |
|---|---|---|---|
| 1/13 | A-b | A-b | A-b |
| 2/13 | |||
| 3/13 | A-b | ||
| 4/13 | |||
| 5/13 | |||
| 6/13 | |||
| 7/13 | |||
| 8/13 | |||
| 9/13 | |||
| 10/13 | |||
| 11/13 | |||
| 12/13 | |||
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 00/13] Implement livepatch on PPC32 and more
This series implements livepatch on PPC32 and implements CONFIG_DYNAMIC_FTRACE_WITH_ARGS to simplify ftracing.
v2:
- Fix problem with strict modules RWX
- Convert powerpc to CONFIG_DYNAMIC_FTRACE_WITH_ARGS
- Convert function graph tracing to C
- Refactor PPC32 versus PPC64
Christophe Leroy (13):
livepatch: Fix build failure on 32 bits processors
tracing: Fix selftest config check for function graph start up test powerpc/module_32: Fix livepatching for RO modules powerpc/ftrace: Add support for livepatch to PPC32 powerpc/ftrace: Don't save again LR in ftrace_regs_caller() on PPC32 powerpc/ftrace: Simplify PPC32's return_to_handler() powerpc/ftrace: Prepare PPC32's ftrace_caller() for
CONFIG_DYNAMIC_FTRACE_WITH_ARGS
powerpc/ftrace: Prepare PPC64's ftrace_caller() for
CONFIG_DYNAMIC_FTRACE_WITH_ARGS
powerpc/ftrace: Implement CONFIG_DYNAMIC_FTRACE_WITH_ARGS powerpc/ftrace: Refactor ftrace_{en/dis}able_ftrace_graph_caller powerpc/ftrace: directly call of function graph tracer by ftrace
caller
powerpc/ftrace: Prepare ftrace_64_mprofile.S for reuse by PPC32 powerpc/ftrace: Remove ftrace_32.S
arch/powerpc/Kconfig | 7 +-
arch/powerpc/include/asm/ftrace.h | 62 +++---
arch/powerpc/include/asm/livepatch.h | 12 +-
arch/powerpc/include/asm/thread_info.h | 2 +-
arch/powerpc/kernel/asm-offsets.c | 2 +-
arch/powerpc/kernel/module_32.c | 44 +++--
arch/powerpc/kernel/trace/Makefile | 7 +-
arch/powerpc/kernel/trace/ftrace.c | 32 +--
arch/powerpc/kernel/trace/ftrace_32.S | 187 ------------------
.../trace/{ftrace_64.S => ftrace_low.S} | 14 ++
...ftrace_64_mprofile.S => ftrace_mprofile.S} | 158 +++++++--------
kernel/livepatch/core.c | 4 +-
kernel/trace/trace_selftest.c | 6 +-
13 files changed, 178 insertions(+), 359 deletions(-)
delete mode 100644 arch/powerpc/kernel/trace/ftrace_32.S
rename arch/powerpc/kernel/trace/{ftrace_64.S => ftrace_low.S} (85%)
rename arch/powerpc/kernel/trace/{ftrace_64_mprofile.S => ftrace_mprofile.S} (75%)Signature · 1 line
2.33.1