sh: Abstracted SH-4A UBC support on hw-breakpoint core.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 5 Jan 2010 10:06:45 +0000 (19:06 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 5 Jan 2010 10:06:45 +0000 (19:06 +0900)
commit4352fc1b12fae4c753a063a2f162ddf9277af774
tree686ca79f2e1c4dbe65e51cac2b14a8234069b0a0
parentc4761815ab49feca904776dec464046bc7138d3a
sh: Abstracted SH-4A UBC support on hw-breakpoint core.

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: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/hw_breakpoint.h
arch/sh/include/asm/processor_32.h
arch/sh/kernel/cpu/sh4a/Makefile
arch/sh/kernel/cpu/sh4a/ubc.c [new file with mode: 0644]
arch/sh/kernel/hw_breakpoint.c
This page took 0.045991 seconds and 5 git commands to generate.