1. 11 9月, 2009 3 次提交
    • M
      kprobes/x86-32: Move irq-exit functions to kprobes section · a00e817f
      Masami Hiramatsu 提交于
      Move irq-exit functions to .kprobes.text section to protect against
      kprobes recursion.
      
      When I ran kprobe stress test on x86-32, I found below symbols
      cause unrecoverable recursive probing:
      
      	ret_from_exception
      	ret_from_intr
      	check_userspace
      	restore_all
      	restore_all_notrace
      	restore_nocheck
      	irq_return
      
      And also, I found some interrupt/exception entry points that
      cause similar problems.
      
      This patch moves those symbols (including their container functions)
      to .kprobes.text section to prevent any kprobes probing.
      Signed-off-by: NMasami Hiramatsu <mhiramat@redhat.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
      Cc: Jim Keniston <jkenisto@us.ibm.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      LKML-Reference: <20090908164755.24050.81182.stgit@dhcp-100-2-132.bos.redhat.com>
      Signed-off-by: NFrederic Weisbecker <fweisbec@gmail.com>
      a00e817f
    • M
      x86: Add MMX support for instruction decoder · f12b4f54
      Masami Hiramatsu 提交于
      Add MMX/SSE instructions to x86 opcode maps, since some of those
      instructions are used in the kernel.
      
      This also fixes failures in the x86 instruction decoder seftest.
      Signed-off-by: NMasami Hiramatsu <mhiramat@redhat.com>
      Cc: Jim Keniston <jkenisto@us.ibm.com>
      Cc: H. Peter Anvin <hpa@zytor.com>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      LKML-Reference: <20090908163246.23516.78835.stgit@dhcp-100-2-132.bos.redhat.com>
      Signed-off-by: NFrederic Weisbecker <fweisbec@gmail.com>
      f12b4f54
    • F
      Merge commit 'tracing/core' into tracing/kprobes · 8f8ffe24
      Frederic Weisbecker 提交于
      Conflicts:
      	kernel/trace/trace_export.c
      	kernel/trace/trace_kprobe.c
      
      Merge reason: This topic branch lacks an important
      build fix in tracing/core:
      
      	0dd7b747:
      	tracing: Fix double CPP substitution in TRACE_EVENT_FN
      
      that prevents from multiple tracepoint headers inclusion crashes.
      Signed-off-by: NFrederic Weisbecker <fweisbec@gmail.com>
      8f8ffe24
  2. 06 9月, 2009 29 次提交
  3. 05 9月, 2009 8 次提交