linux/arch/arm/include/asm/hardware
Mark Rutland b828f96021 ARM: 8611/1: l2x0: add PMU support
The L2C-220 (AKA L220) and L2C-310 (AKA PL310) cache controllers feature
a Performance Monitoring Unit (PMU), which can be useful for tuning
and/or debugging. This hardware is always present and the relevant
registers are accessible to non-secure accesses. Thus, no special
firmware interface is necessary.

This patch adds support for the PMU, plugging into the usual perf
infrastructure. The overflow interrupt is not always available (e.g. on
RealView PBX A9 it is not wired up at all), and the hardware counters
saturate, so the driver does not make use of this. Instead, the driver
periodically polls and reset counters as required to avoid losing
events due to saturation.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Pawel Moll <pawel.moll@arm.com>
Tested-by: Kim Phillips <kim.phillips@arm.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2016-09-06 15:51:09 +01:00
..
cache-feroceon-l2.h ARM: MM: Add DT binding for Feroceon L2 cache 2014-02-22 20:43:49 +00:00
cache-l2x0.h ARM: 8611/1: l2x0: add PMU support 2016-09-06 15:51:09 +01:00
cache-tauros2.h ARM: cache: add extra feature enable for tauros2 2012-08-16 16:16:27 +08:00
cache-uniphier.h ARM: uniphier: add outer cache support 2015-10-27 09:20:50 +09:00
cp14.h coresight-etm: add CoreSight ETM/PTM driver 2014-11-07 15:19:33 -08:00
dec21285.h
entry-macro-iomd.S ARM: remove disable_fiq and arch_ret_to_user macros 2012-02-21 17:05:18 -06:00
icst.h
ioc.h
iomd.h
iop3xx-adma.h dmaengine: remove DMA unmap from drivers 2013-11-14 11:04:38 -08:00
iop3xx.h ARM: plat-iop: instantiate GPIO from platform device 2013-09-20 23:04:50 +02:00
iop_adma.h dmaengine: remove DMA unmap from drivers 2013-11-14 11:04:38 -08:00
it8152.h genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
locomo.h
memc.h
sa1111.h ARM: sa1111: move USB interface register definitions to ohci-sa1111.c 2012-03-24 11:30:12 +00:00
scoop.h
ssp.h