1. 13 Jan, 2015 5 commits
  2. 09 Jan, 2015 3 commits
    • Wang Nan's avatar
      ARM: kprobes: introduces checker · 83803d97
      Wang Nan authored
      This patch introdces 'checker' to decoding phase, and calls checkers
      when instruction decoding. This allows further decoding for specific
      instructions.  This patch introduces a stub call of checkers in kprobe
      arch_prepare_kprobe() as an example and for further expansion.
      Signed-off-by: default avatarWang Nan <wangnan0@huawei.com>
      Reviewed-by: default avatarJon Medhurst <tixy@linaro.org>
      Reviewed-by: default avatarMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
      Signed-off-by: default avatarJon Medhurst <tixy@linaro.org>
      83803d97
    • Jon Medhurst's avatar
      ARM: probes: Use correct action types for MOVW, SEV and WFI · 832607e7
      Jon Medhurst authored
      This doesn't correct any bugs when probing these instructions but makes
      MOVW slightly faster and makes everything more symmetric with the Thumb
      instruction cases.
      
      We can also remove the now redundant PROBES_EMULATE_NONE and
      PROBES_SIMULATE_NOP actions.
      Signed-off-by: default avatarJon Medhurst <tixy@linaro.org>
      832607e7
    • Wang Nan's avatar
      ARM: probes: move all probe code to dedicate directory · fca08f32
      Wang Nan authored
      In discussion on LKML (https://lkml.org/lkml/2014/11/28/158), Russell
      King suggests to move all probe related code to arch/arm/probes. This
      patch does the work. Due to dependency on 'arch/arm/kernel/patch.h', this
      patch also moves patch.h to 'arch/arm/include/asm/patch.h', and related
      '#include' directives are also midified to '#include <asm/patch.h>'.
      
      Following is an overview of this patch:
      
       ./arch/arm/kernel/               ./arch/arm/probes/
       |-- Makefile                     |-- Makefile
       |-- probes-arm.c          ==>    |-- decode-arm.c
       |-- probes-arm.h          ==>    |-- decode-arm.h
       |-- probes-thumb.c        ==>    |-- decode-thumb.c
       |-- probes-thumb.h        ==>    |-- decode-thumb.h
       |-- probes.c              ==>    |-- decode.c
       |-- probes.h              ==>    |-- decode.h
       |                                |-- kprobes
       |                                |   |-- Makefile
       |-- kprobes-arm.c         ==>    |   |-- actions-arm.c
       |-- kprobes-common.c      ==>    |   |-- actions-common.c
       |-- kprobes-thumb.c       ==>    |   |-- actions-thumb.c
       |-- kprobes.c             ==>    |   |-- core.c
       |-- kprobes.h             ==>    |   |-- core.h
       |-- kprobes-test-arm.c    ==>    |   |-- test-arm.c
       |-- kprobes-test.c        ==>    |   |-- test-core.c
       |-- kprobes-test.h        ==>    |   |-- test-core.h
       |-- kprobes-test-thumb.c  ==>    |   `-- test-thumb.c
       |                                `-- uprobes
       |                                    |-- Makefile
       |-- uprobes-arm.c         ==>        |-- actions-arm.c
       |-- uprobes.c             ==>        |-- core.c
       |-- uprobes.h             ==>        `-- core.h
       |
       `-- patch.h               ==>    arch/arm/include/asm/patch.h
      Signed-off-by: default avatarWang Nan <wangnan0@huawei.com>
      Acked-by: default avatarMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
      Signed-off-by: default avatarJon Medhurst <tixy@linaro.org>
      fca08f32
  3. 06 Jan, 2015 1 commit
  4. 05 Jan, 2015 3 commits
  5. 04 Jan, 2015 4 commits
  6. 02 Jan, 2015 3 commits
  7. 31 Dec, 2014 10 commits
  8. 30 Dec, 2014 11 commits