linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/5] Add support to enable ARM PMU for EXYNOS
@ 2012-10-08  2:17 Chanho Park
  2012-10-08  2:17 ` [PATCH v4 1/5] ARM: EXYNOS: Add set_irq_affinity function for combiner_irq Chanho Park
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Chanho Park @ 2012-10-08  2:17 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 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            |  100 ++++++++++++++++++++++++++----
 arch/arm/mach-exynos/include/mach/irqs.h |   12 +++-
 arch/arm/plat-samsung/devs.c             |    2 +-
 5 files changed, 111 insertions(+), 15 deletions(-)

-- 
1.7.9.5

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

end of thread, other threads:[~2012-10-24  2:20 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-08  2:17 [PATCH v4 0/5] Add support to enable ARM PMU for EXYNOS Chanho Park
2012-10-08  2:17 ` [PATCH v4 1/5] ARM: EXYNOS: Add set_irq_affinity function for combiner_irq Chanho Park
2012-10-23 13:45   ` Kukjin Kim
2012-10-08  2:17 ` [PATCH v4 2/5] ARM: EXYNOS: Correct combined IRQs for exynos4 Chanho Park
2012-10-23 13:58   ` Kukjin Kim
2012-10-24  2:20     ` Chanho Park
2012-10-08  2:17 ` [PATCH v4 3/5] ARM: EXYNOS: Enable PMUs " Chanho Park
2012-10-23 14:01   ` Kukjin Kim
2012-10-08  2:17 ` [PATCH v4 4/5] ARM: EXYNOS: Add arm-pmu DT binding for exynos5250 Chanho Park
2012-10-23 14:01   ` Kukjin Kim
2012-10-08  2:17 ` [PATCH v4 5/5] ARM: EXYNOS: Add arm-pmu DT binding for exynos421x Chanho Park
2012-10-23 14:02   ` Kukjin Kim

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).