1. 10 3月, 2010 2 次提交
  2. 08 3月, 2010 2 次提交
  3. 07 3月, 2010 1 次提交
  4. 06 3月, 2010 1 次提交
  5. 04 3月, 2010 3 次提交
  6. 03 3月, 2010 2 次提交
    • F
      x86/stacktrace: Don't dereference bad frame pointers · 29044ad1
      Frederic Weisbecker 提交于
      Callers of a stacktrace might pass bad frame pointers. Those
      are usually checked for safety in stack walking helpers before
      any dereferencing, but this is not the case when we need to go
      through one more frame pointer that backlinks the irq stack to
      the previous one, as we don't have any reliable address boudaries
      to compare this frame pointer against.
      
      This raises crashes when we record callchains for ftrace events
      with perf because we don't use the right helpers to capture
      registers there. We get wrong frame pointers as we call
      task_pt_regs() even on kernel threads, which is a wrong thing
      as it gives us the initial state of any kernel threads freshly
      created. This is even not what we want for user tasks. What we want
      is a hot snapshot of registers when the ftrace event triggers, not
      the state before a task entered the kernel.
      
      This requires more thoughts to do it correctly though.
      So first put a guardian to ensure the given frame pointer
      can be dereferenced to avoid crashes. We'll think about how to fix
      the callers in a subsequent patch.
      Signed-off-by: NFrederic Weisbecker <fweisbec@gmail.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: H. Peter Anvin <hpa@zytor.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: 2.6.33.x <stable@kernel.org>
      Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
      29044ad1
    • J
      x86, mrst: Remove X86_MRST dependency on PCI_IOAPIC · d8111cd9
      Jacob Pan 提交于
      PCI_IOAPIC is used for PCI hotplug, Moorestown does not have ACPI PCI
      hotplug, as it does not have ACPI.  This unnecessary dependency causes
      X86_MRST fail to be selected if ACPI is not selected.
      Signed-off-by: NJacob Pan <jacob.jun.pan@linux.intel.com>
      LKML-Reference: <1267550368-7435-1-git-send-email-jacob.jun.pan@linux.intel.com>
      Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
      d8111cd9
  7. 02 3月, 2010 2 次提交
  8. 01 3月, 2010 27 次提交