1. 01 3月, 2010 1 次提交
  2. 05 1月, 2010 1 次提交
    • P
      sh: Abstracted SH-4A UBC support on hw-breakpoint core. · 4352fc1b
      Paul Mundt 提交于
      This is the next big chunk of hw_breakpoint support. This decouples
      the SH-4A support from the core and moves it out in to its own stub,
      following many of the conventions established with the perf events
      layering.
      
      In addition to extending SH-4A support to encapsulate the remainder
      of the UBC channels, clock framework support for handling the UBC
      interface clock is added as well, allowing for dynamic clock gating.
      
      This also fixes up a regression introduced by the SIGTRAP handling that
      broke the ksym_tracer, to the extent that the current support works well
      with all of the ksym_tracer/ptrace/kgdb. The kprobes singlestep code will
      follow in turn.
      
      With this in place, the remaining UBC variants (SH-2A and SH-4) can now
      be trivially plugged in.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      4352fc1b
  3. 28 12月, 2009 1 次提交
  4. 22 12月, 2009 1 次提交
    • P
      sh: Don't NOTIFY_STOP for non-UBC breakpoint traps. · b74ab703
      Paul Mundt 提交于
      Presently the hw_breakpoint code is the primary notifier dispatch for
      breakpoint traps, although it's only UBC traps that are of particular
      interest there. This patches in a check to allow non-UBC generated
      breakpoints to pass through down the remainder of the notifier chain,
      giving things like kgdb a chance at getting notified.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      b74ab703
  5. 21 12月, 2009 1 次提交
  6. 08 12月, 2009 1 次提交
    • P
      sh: hw-breakpoints: Add preliminary support for SH-4A UBC. · 09a07294
      Paul Mundt 提交于
      This adds preliminary support for the SH-4A UBC to the hw-breakpoints API.
      Presently only a single channel is implemented, and the ptrace interface
      still needs to be converted. This is the first step to cleaning up the
      long-standing UBC mess, making the UBC more generally accessible, and
      finally making it SMP safe.
      
      An additional abstraction will be layered on top of this as with the perf
      events code to permit the various CPU families to wire up support for
      their own specific UBCs, as many variations exist.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      09a07294