linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/5] Add support to enable ARM PMU for EXYNOS
@ 2012-10-24  5:34 Chanho Park
  2012-10-24  5:34 ` [PATCH v5 1/5] ARM: EXYNOS: Add set_irq_affinity function for combiner_irq Chanho Park
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Chanho Park @ 2012-10-24  5:34 UTC (permalink / raw)
  To: linux-arm-kernel

This patchset fixes irq numbers of ARM Performance Monitoring unit and enable
it for Perf(Performance Counter) on the exynos 4 and 5. The exynos4 and 5 have 2
more cpu cores which has its own pmu.

The exynos uses combiner-irq type for arm-pmu. Especially, the exynos4412 has 4
extra combined irq groups. So, we need to change a max combiner number and to
retreive it according to each soc types.

To enable perf, we need also to implement a set_irq_affinity function for the
combiner-irq. After applying this patch, we can use the perf for the exynos
machine.

Changes from v4:
 - Use max_combiner_nr() in combiner_cascade_irq
 - Add EXYNOS4412_MAX_COMBINER_NR to clarify a meaning
 - Change combiner_extra_irq to exynos4x12_combiner_extra_irq

Changes from v3:
 - Define max_combiner_nr according to soc types
 - Add armpmu dt binding for exynos4210
 - Clean up soc types comparison from v2

Changes from v2:
 - Convert to dt binding of exynos5250

Changes from v1:
 - Split arm-pmu init of exynos from plat-samsung
 - Correct combined irqs of exynos4412
 - Use soc_is_xxx function instead of CONFIG_XXX to identify dynamically

Chanho Park (5):
  ARM: EXYNOS: Add set_irq_affinity function for combiner_irq
  ARM: EXYNOS: Correct combined IRQs for exynos4
  ARM: EXYNOS: Enable PMUs for exynos4
  ARM: EXYNOS: Add arm-pmu DT binding for exynos5250
  ARM: EXYNOS: Add arm-pmu DT binding for exynos421x

 arch/arm/boot/dts/exynos4210.dtsi        |    6 ++
 arch/arm/boot/dts/exynos5250.dtsi        |    6 ++
 arch/arm/mach-exynos/common.c            |  108 +++++++++++++++++++++++++-----
 arch/arm/mach-exynos/include/mach/irqs.h |   13 +++-
 arch/arm/plat-samsung/devs.c             |    2 +-
 5 files changed, 113 insertions(+), 22 deletions(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-10-26  9:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-24  5:34 [PATCH v5 0/5] Add support to enable ARM PMU for EXYNOS Chanho Park
2012-10-24  5:34 ` [PATCH v5 1/5] ARM: EXYNOS: Add set_irq_affinity function for combiner_irq Chanho Park
2012-10-24  5:34 ` [PATCH v5 2/5] ARM: EXYNOS: Correct combined IRQs for exynos4 Chanho Park
2012-10-24  5:34 ` [PATCH v5 3/5] ARM: EXYNOS: Enable PMUs " Chanho Park
2012-10-24 17:14   ` Olof Johansson
2012-10-25  1:41     ` Chanho Park
2012-10-25 14:41       ` Will Deacon
2012-10-26  4:05         ` Chanho Park
2012-10-26  9:36           ` Will Deacon
2012-10-24  5:34 ` [PATCH v5 4/5] ARM: EXYNOS: Add arm-pmu DT binding for exynos5250 Chanho Park
2012-10-24  5:34 ` [PATCH v5 5/5] ARM: EXYNOS: Add arm-pmu DT binding for exynos421x Chanho Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).