Re: [PATCH v1 0/5] Implement livepatch on PPC32

From
Miroslav Benes <mbenes@suse.cz>
Date
2021-11-01 14:51:09
Also in
linuxppc-dev, lkml
Reply to
Christophe Leroy, 2021-10-28
Hi,

On Thu, 28 Oct 2021, Christophe Leroy wrote:
This series implements livepatch on PPC32.

This is largely copied from what's done on PPC64.

Christophe Leroy (5):
  livepatch: Fix build failure on 32 bits processors
  powerpc/ftrace: No need to read LR from stack in _mcount()
  powerpc/ftrace: Add module_trampoline_target() for PPC32
  powerpc/ftrace: Activate HAVE_DYNAMIC_FTRACE_WITH_REGS on PPC32
  powerpc/ftrace: Add support for livepatch to PPC32

 arch/powerpc/Kconfig                  |   2 +-
 arch/powerpc/include/asm/livepatch.h  |   4 +-
 arch/powerpc/kernel/module_32.c       |  33 +++++
 arch/powerpc/kernel/trace/ftrace.c    |  53 +++-----
 arch/powerpc/kernel/trace/ftrace_32.S | 187 ++++++++++++++++++++++++--
 kernel/livepatch/core.c               |   4 +-
 6 files changed, 230 insertions(+), 53 deletions(-)
thanks for the patch set!

I wondered whether the reliability of stack traces also applies to PPC32. 
This was obviously resolved by accdd093f260 ("powerpc: Activate 
HAVE_RELIABLE_STACKTRACE for all").

Did the patch set pass the selftests in 
tools/testing/selftests/livepatch/ ?

Regards

Miroslav
Thread (27 messages) 27 messages, 7 authors, last reply 2021-12-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help