Merge branch 'topic/livepatch' into next
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 Apr 2016 10:45:32 +0000 (20:45 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 Apr 2016 10:45:32 +0000 (20:45 +1000)
Merge the support for live patching on ppc64le using mprofile-kernel.
This branch has also been merged into the livepatching tree for v4.7.

1  2 
arch/powerpc/Kconfig
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/entry_64.S
arch/powerpc/kernel/process.c
arch/powerpc/kernel/setup_64.c
include/linux/ftrace.h
kernel/livepatch/core.c
kernel/trace/ftrace.c

@@@ -159,7 -159,7 +159,8 @@@ config PP
        select ARCH_HAS_DEVMEM_IS_ALLOWED
        select HAVE_ARCH_SECCOMP_FILTER
        select ARCH_HAS_UBSAN_SANITIZE_ALL
 +      select ARCH_SUPPORTS_DEFERRED_STRUCT_PAGE_INIT
+       select HAVE_LIVEPATCH if HAVE_DYNAMIC_FTRACE_WITH_REGS
  
  config GENERIC_CSUM
        def_bool CPU_LITTLE_ENDIAN
Simple merge
Simple merge
@@@ -56,7 -55,8 +56,9 @@@
  #include <asm/firmware.h>
  #endif
  #include <asm/code-patching.h>
 +#include <asm/exec.h>
+ #include <asm/livepatch.h>
  #include <linux/kprobes.h>
  #include <linux/kdebug.h>
  
Simple merge
Simple merge
Simple merge
Simple merge