]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: EXYNOS: Enable PMUs for exynos4
authorChanho Park <chanho61.park@samsung.com>
Wed, 12 Dec 2012 05:03:54 +0000 (14:03 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 8 Apr 2013 16:47:45 +0000 (01:47 +0900)
commitf9df3bc867d814a004a08f2b9afdec3ad5d8b93a
tree0375888c8af59f71e71bcfd007c2482735e8b022
parentc6f7efccfb9822fa5c3ea7b7c0dbd34ca12dcb9c
ARM: EXYNOS: Enable PMUs for exynos4

This patch defines irq numbers of ARM performance monitoring unit for exynos4.
Firs of all, we need to fix IRQ_PMU correctly and to split pmu initialization
of exynos from plat-samsung for easily defining it.

The number of CPU cores and PMU irq numbers are vary according to soc types.
So, we need to identify each soc type using soc_is_xxx function and to define
the pmu irqs dynamically. For example, the exynos4412 has 4 cpu cores and pmus.

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/common.c
arch/arm/mach-exynos/include/mach/irqs.h
arch/arm/plat-samsung/devs.c