Skip to content
Commit 14ac652b authored by Vince Weaver's avatar Vince Weaver Committed by Stephen Warren
Browse files

ARM: bcm2835: perf_event support for Raspberry-Pi



The following patch enables performance counter support on Raspberry-Pi.

We have this working on the 2708 based rasp-pi kernels by manually putting
the device registration in the platform files.

This change does things properly in a device tree.  The boot messages look
proper, but my rasp-pi hangs somewhere in USB enabling when running a
stock 3.13-rc6 kernel so I have been unable to fully test this change.

I also understand that the rasp-pi 1176 pmu support is missing the
overflow interrupt.  I'm not sure if that's true of all 2835
implementations.  If not, then this patch will need to be changed a bit.

Signed-off-by: default avatarVince Weaver <vincent.weaver@maine.edu>
[swarren, fixed DT node sort order]
Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
parent 38dbfb59
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment