Merge branch 'for-next/kprobes' into for-next/core
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 21 Jul 2016 17:20:41 +0000 (18:20 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 21 Jul 2016 17:20:41 +0000 (18:20 +0100)
* kprobes:
  arm64: kprobes: Add KASAN instrumentation around stack accesses
  arm64: kprobes: Cleanup jprobe_return
  arm64: kprobes: Fix overflow when saving stack
  arm64: kprobes: WARN if attempting to step with PSTATE.D=1
  kprobes: Add arm64 case in kprobe example module
  arm64: Add kernel return probes support (kretprobes)
  arm64: Add trampoline code for kretprobes
  arm64: kprobes instruction simulation support
  arm64: Treat all entry code as non-kprobe-able
  arm64: Blacklist non-kprobe-able symbol
  arm64: Kprobes with single stepping support
  arm64: add conditional instruction simulation support
  arm64: Add more test functions to insn.c
  arm64: Add HAVE_REGS_AND_STACK_ACCESS_API feature

1  2 
arch/arm64/Kconfig
arch/arm64/include/asm/ptrace.h
arch/arm64/kernel/Makefile
arch/arm64/kernel/arm64ksyms.c
arch/arm64/kernel/armv8_deprecated.c
arch/arm64/kernel/asm-offsets.c
arch/arm64/kernel/debug-monitors.c
arch/arm64/kernel/entry.S
arch/arm64/kernel/vmlinux.lds.S
arch/arm64/mm/fault.c

Simple merge
Simple merge
index 9ef8ec681e30f4a2fc851f8b8a7abe640778055b,367673e38700d6c6a86f047748d55e7c78a06b98..0b9e49a92c47e8011140a54005602b91971a4d1d
@@@ -46,10 -45,8 +45,10 @@@ arm64-obj-$(CONFIG_ARM64_ACPI_PARKING_P
  arm64-obj-$(CONFIG_PARAVIRT)          += paravirt.o
  arm64-obj-$(CONFIG_RANDOMIZE_BASE)    += kaslr.o
  arm64-obj-$(CONFIG_HIBERNATION)               += hibernate.o hibernate-asm.o
 +arm64-obj-$(CONFIG_KEXEC)             += machine_kexec.o relocate_kernel.o    \
 +                                         cpu-reset.o
  
- obj-y                                 += $(arm64-obj-y) vdso/
+ obj-y                                 += $(arm64-obj-y) vdso/ probes/
  obj-m                                 += $(arm64-obj-m)
  head-y                                        := head.o
  extra-y                                       += $(head-y) vmlinux.lds
Simple merge
Simple merge
Simple merge
index f17134d39e6bcbbd6210d67be235e9672d90a915,2fbc1b99e8fb6d42015843fd10e577e8af9c8acf..91fff48d0f574c5060525d87b1fe85185ee178ef
@@@ -165,13 -171,24 +170,15 @@@ postcore_initcall(debug_monitors_init)
   */
  static void set_regs_spsr_ss(struct pt_regs *regs)
  {
 -      unsigned long spsr;
 -
 -      spsr = regs->pstate;
 -      spsr &= ~DBG_SPSR_SS;
 -      spsr |= DBG_SPSR_SS;
 -      regs->pstate = spsr;
 +      regs->pstate |= DBG_SPSR_SS;
  }
+ NOKPROBE_SYMBOL(set_regs_spsr_ss);
  
  static void clear_regs_spsr_ss(struct pt_regs *regs)
  {
 -      unsigned long spsr;
 -
 -      spsr = regs->pstate;
 -      spsr &= ~DBG_SPSR_SS;
 -      regs->pstate = spsr;
 +      regs->pstate &= ~DBG_SPSR_SS;
  }
+ NOKPROBE_SYMBOL(clear_regs_spsr_ss);
  
  /* EL1 Single Step Handler hooks */
  static LIST_HEAD(step_hook);
Simple merge
Simple merge
Simple merge