]> git.baikalelectronics.ru Git - kernel.git/commit
alpha: implement HW performance events on the EV67 and later CPUs
authorMichael Cree <mcree@orcon.net.nz>
Tue, 10 Aug 2010 00:20:08 +0000 (17:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Aug 2010 03:45:04 +0000 (20:45 -0700)
commitc900325ac9355b023cfa25d9217f41876c916c1e
treee2483309110e2e285330e7fd2e5f50eb25dced25
parentf4df257cebbd6263acf1402d8ba2710885e49c71
alpha: implement HW performance events on the EV67 and later CPUs

This implements hardware performance events for the EV67 and later CPUs
within the Linux performance events subsystem.  Only using the performance
monitoring unit in HP/Compaq's so called "Aggregrate mode" is supported.

The code has been implemented in a manner that makes extension to other
older Alpha CPUs relatively straightforward should some mug wish to
indulge themselves.

Signed-off-by: Michael Cree <mcree@orcon.net.nz>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Matt Turner <mattst88@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Jay Estabrook <jay.estabrook@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/alpha/include/asm/perf_event.h
arch/alpha/kernel/Makefile
arch/alpha/kernel/irq_alpha.c
arch/alpha/kernel/perf_event.c [new file with mode: 0644]
arch/alpha/kernel/time.c