Skip to content

RFC ARM: pmu: provide a registration mechanism for IRQs [v2]

Will Deacon linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ARM: pmu: register IRQs at runtimearch/arm/include/asm/pmu.h arch/arm/kernel/perf_event.c arch/arm/kernel/pmu.c+86 -591 reply
1/6ARM: pmu: register IRQs at runtime+0 -00 replies
1/6ARM: pmu: register IRQs at runtimearch/arm/include/asm/pmu.h arch/arm/kernel/perf_event.c arch/arm/kernel/pmu.c+110 -771 reply
1/6ARM: pmu: register IRQs at runtime+0 -00 replies
2/6ARM: Realview: register PMU IRQs during board initialisationarch/arm/mach-realview/realview_eb.c arch/arm/mach-realview/realview_pb1176.c arch/arm/mach-realview/realview_pb11mp.c +2 more+69 -00 replies
2/6ARM: Realview: register PMU IRQs during board initialisationarch/arm/mach-realview/realview_eb.c arch/arm/mach-realview/realview_pb1176.c arch/arm/mach-realview/realview_pb11mp.c +2 more+126 -00 replies
3/6ARM: OMAP: register PMU IRQs during board initialisationarch/arm/mach-omap2/devices.c+30 -00 replies
4/6ARM: BCMRING: register PMU IRQ during board initialisationarch/arm/mach-bcmring/arch.c+13 -00 replies
5/6ARM: iop3xx: register PMU IRQs during board initialisationarch/arm/plat-iop/Makefile arch/arm/plat-iop/pmu.c+39 -00 replies
6/6ARM: pxa: register PMU IRQs during board initialisationarch/arm/mach-pxa/pxa25x.c arch/arm/mach-pxa/pxa27x.c arch/arm/mach-pxa/pxa3xx.c+41 -00 replies

Reviews trailers per patch

4 of 10 patches have a Reviewed-by or Acked-by.

PatchJamie Iles
1/6A-b
1/6A-b
1/6A-b
1/6A-b
2/6
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 0/6] ARM: pmu: provide a registration mechanism for IRQs [v2]

This is version 2 of the patch series originally posted here:

http://lists.infradead.org/pipermail/linux-arm-kernel/2010-March/011162.html

Changes from the original version include:

- Removal of const keyword from IRQs to make it easier to select the IRQs to register at runtime.
- Support for all the relevant Realview boards
- Support for OMAP2, OMAP3, BCMRING, iop and PXA platforms

The main reason for submitting this is to get some feedback on the registration code I've added to the board files because I'm not familiar with how the omap / bcmring / pxa / iop trees are structured.

All feedback welcome [including the results of any testing for the platforms I've mentioned].

Cc Russell King - ARM Linux <[email protected]>
Cc Jamie Iles <[email protected]>
Cc Tony Lindgren <[email protected]>
Cc Leo Chen <[email protected]>
Cc Lennert Buytenhek <[email protected]>
Cc Eric Miao <[email protected]>

Will Deacon (6):
ARM: pmu: register IRQs at runtime
ARM: Realview: register PMU IRQs during board initialisation
ARM: OMAP: register PMU IRQs during board initialisation
ARM: BCMRING: register PMU IRQ during board initialisation
ARM: iop3xx: register PMU IRQs during board initialisation
ARM: pxa: register PMU IRQs during board initialisation

 arch/arm/include/asm/pmu.h               |   36 ++++++++---
 arch/arm/kernel/perf_event.c             |    6 +-
 arch/arm/kernel/pmu.c                    |  103 ++++++++++++++++-------------
 arch/arm/mach-bcmring/arch.c             |   13 ++++
 arch/arm/mach-omap2/devices.c            |   30 +++++++++
 arch/arm/mach-pxa/pxa25x.c               |   14 ++++
 arch/arm/mach-pxa/pxa27x.c               |   13 ++++
 arch/arm/mach-pxa/pxa3xx.c               |   14 ++++
 arch/arm/mach-realview/realview_eb.c     |   15 ++++
 arch/arm/mach-realview/realview_pb1176.c |   12 ++++
 arch/arm/mach-realview/realview_pb11mp.c |   15 ++++
 arch/arm/mach-realview/realview_pba8.c   |   12 ++++
 arch/arm/mach-realview/realview_pbx.c    |   15 ++++
 arch/arm/plat-iop/Makefile               |    2 +
 arch/arm/plat-iop/pmu.c                  |   37 +++++++++++
 15 files changed, 278 insertions(+), 59 deletions(-)
 create mode 100644 arch/arm/plat-iop/pmu.c