linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] arm64 live patching
@ 2016-06-27 15:15 Torsten Duwe
  2016-06-27 15:17 ` [PATCH v2 1/2] arm64: implement FTRACE_WITH_REGS Torsten Duwe
  2016-06-27 15:17 ` [PATCH v2 2/2] arm64: implement live patching Torsten Duwe
  0 siblings, 2 replies; 23+ messages in thread
From: Torsten Duwe @ 2016-06-27 15:15 UTC (permalink / raw)
  To: linux-arm-kernel

So here is a slightly updated FTRACE_WITH_REGS plus live patching.
Reminder: make sure you have a prolog-pad gcc, and this in your
top level Makefile:

ifdef CONFIG_LIVEPATCH
KBUILD_CFLAGS	+= $(call cc-option,-fno-ipa-ra)
endif

Tested with v4.7-rc3 + gcc-6.1

Changes since v1:
  * instead of a comment "should be CC_USING_PROLOG_PAD":
    do it. CC_FLAGS_FTRACE holds it now, and the IPA
    disabler has become a separate issue (see above).

Torsten Duwe (2):
  arm64: implement FTRACE_WITH_REGS
  arm64: implement live patching

 arch/arm64/Kconfig                 |   4 ++
 arch/arm64/Makefile                |   4 ++
 arch/arm64/include/asm/ftrace.h    |   8 +++
 arch/arm64/include/asm/livepatch.h |  37 ++++++++++++++
 arch/arm64/kernel/Makefile         |   6 +--
 arch/arm64/kernel/entry-ftrace.S   | 102 +++++++++++++++++++++++++++++++++++++
 arch/arm64/kernel/ftrace.c         |  43 ++++++++++++++--
 include/asm-generic/vmlinux.lds.h  |   2 +-
 include/linux/compiler.h           |   4 ++
 9 files changed, 203 insertions(+), 7 deletions(-)
 create mode 100644 arch/arm64/include/asm/livepatch.h

-- 
2.6.6

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2016-08-17  9:38 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-27 15:15 [PATCH v2 0/2] arm64 live patching Torsten Duwe
2016-06-27 15:17 ` [PATCH v2 1/2] arm64: implement FTRACE_WITH_REGS Torsten Duwe
2016-07-01 12:53   ` Josh Poimboeuf
2016-07-04  9:18     ` Torsten Duwe
2016-07-03  5:17   ` kbuild test robot
2016-07-08 14:58   ` Petr Mladek
2016-07-08 15:07     ` Torsten Duwe
2016-07-08 15:24       ` Petr Mladek
2016-07-08 15:48         ` Josh Poimboeuf
2016-07-08 15:57           ` Steven Rostedt
2016-07-08 20:24             ` Torsten Duwe
2016-07-08 21:08               ` Steven Rostedt
2016-07-09  9:06                 ` Torsten Duwe
2016-07-15 18:36                   ` Steven Rostedt
2016-07-08 15:49         ` Steven Rostedt
2016-06-27 15:17 ` [PATCH v2 2/2] arm64: implement live patching Torsten Duwe
2016-07-11 14:03   ` Miroslav Benes
2016-07-11 21:58     ` Jessica Yu
2016-07-12  9:47       ` Miroslav Benes
2016-07-13  0:11         ` [PATCH] arm64: take SHN_LIVEPATCH syms into account when calculating plt_max_entries Jessica Yu
2016-08-17  9:38           ` Miroslav Benes
2016-08-11 16:46     ` [PATCH v2 2/2] arm64: implement live patching Torsten Duwe
2016-07-15 16:03   ` Paul Gortmaker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).