lkml.org 
[lkml]   [2016]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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

\
 
 \ /
  Last update: 2016-05-17 23:21    [W:0.022 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site