Hi, as I was using non-standard CC list, I didn't use my usual pull request script, and as a result forgot to CC live-patching@ on this one. Apologizes for that, resending at least this way so that it hits ML archive. -- Jiri Kosina SUSE Labs ---------- Forwarded message ---------- Date: Tue, 17 May 2016 23:08:01 +0200 (CEST) From: Jiri Kosina <jikos@xxxxxxxxxx> To: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> Cc: linux-kernel@xxxxxxxxxxxxxxx, Michael Ellerman <mpe@xxxxxxxxxxxxxx>, Torsten Duwe <duwe@xxxxxxx> Subject: [GIT PULL] livepatching for 4.7 Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/livepatching.git for-linus to receive the following livepatching updates for 4.7 merge window: - removal of our own implementation of architecture-specific relocation code and leveraging existing code in the module loader to perform arch-dependent work, from Jessica Yu. The relevant patches have been acked by Rusty (for module.c) and Heiko (for s390). - live patching support for ppc64le, which is a joint work of Michael Ellerman and Torsten Duwe. This is coming from topic branch that is share between livepatching.git and ppc tree. - addition of livepatching documentation from Petr Mladek ---------------------------------------------------------------- Jessica Yu (5): Elf: add livepatch-specific Elf constants module: preserve Elf information for livepatch modules module: s390: keep mod_arch_specific for livepatch modules livepatch: reuse module loader code to write relocations Documentation: livepatch: outline Elf format and requirements for patch modules Jiri Kosina (2): livepatch: robustify klp_register_patch() API error checking Merge branch 'topic/livepatch' of git://git.kernel.org/.../powerpc/linux into for-4.7/livepatching-ppc64le Michael Ellerman (5): ftrace: Make ftrace_location_range() global livepatch: Allow architectures to specify an alternate ftrace location powerpc/livepatch: Add livepatch header powerpc/livepatch: Add livepatch stack to struct thread_info powerpc/livepatch: Add live patching support on ppc64le Miroslav Benes (1): livepatch: make object/func-walking helpers more robust Petr Mladek (1): livepatch: Add some basic livepatch documentation Documentation/livepatch/livepatch.txt | 394 ++++++++++++++++++++++ Documentation/livepatch/module-elf-format.txt | 311 +++++++++++++++++ MAINTAINERS | 1 + arch/powerpc/Kconfig | 22 ++ arch/powerpc/Makefile | 15 + arch/powerpc/include/asm/code-patching.h | 21 ++ arch/powerpc/include/asm/ftrace.h | 5 + arch/powerpc/include/asm/livepatch.h | 62 ++++ arch/powerpc/include/asm/module.h | 12 +- arch/powerpc/include/asm/sections.h | 12 + arch/powerpc/include/asm/thread_info.h | 4 +- arch/powerpc/kernel/Makefile | 12 +- arch/powerpc/kernel/asm-offsets.c | 4 + arch/powerpc/kernel/entry_64.S | 263 ++++++++++++++- arch/powerpc/kernel/ftrace.c | 132 ++++++-- arch/powerpc/kernel/irq.c | 3 + arch/powerpc/kernel/module.c | 5 + arch/powerpc/kernel/module_32.c | 20 +- arch/powerpc/kernel/module_64.c | 214 ++++++++---- arch/powerpc/kernel/paca.c | 11 +- arch/powerpc/kernel/process.c | 6 +- arch/powerpc/kernel/setup_64.c | 17 +- arch/powerpc/lib/Makefile | 4 +- arch/powerpc/platforms/powermac/Makefile | 2 +- arch/powerpc/scripts/gcc-check-mprofile-kernel.sh | 23 ++ arch/s390/include/asm/livepatch.h | 7 - arch/s390/kernel/module.c | 6 +- arch/x86/include/asm/livepatch.h | 2 - arch/x86/kernel/Makefile | 1 - arch/x86/kernel/livepatch.c | 70 ---- include/linux/ftrace.h | 1 + include/linux/livepatch.h | 26 +- include/linux/module.h | 25 ++ include/uapi/linux/elf.h | 10 +- kernel/livepatch/core.c | 191 +++++++---- kernel/module.c | 125 ++++++- kernel/trace/ftrace.c | 14 +- samples/livepatch/livepatch-sample.c | 1 + 38 files changed, 1746 insertions(+), 308 deletions(-) create mode 100644 Documentation/livepatch/livepatch.txt create mode 100644 Documentation/livepatch/module-elf-format.txt create mode 100644 arch/powerpc/include/asm/livepatch.h create mode 100755 arch/powerpc/scripts/gcc-check-mprofile-kernel.sh delete mode 100644 arch/x86/kernel/livepatch.c -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe live-patching" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html