ARM: arch_timer: add support to configure and enable event stream
authorSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Tue, 13 Aug 2013 13:30:32 +0000 (14:30 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 5 May 2014 23:10:03 +0000 (16:10 -0700)
commit59969c6b7526a44ad61e2433aadb701082736f25
treea9bc78b19f74c655a8bee100b9adb4a69bbfe16a
parent80b29156ac0ea6c16a5d6ee052610467b3140a64
ARM: arch_timer: add support to configure and enable event stream

This patch adds support for configuring the event stream frequency
and enabling it.

It also adds the hwcaps definitions to the user to detect this event
stream feature.

Cc: Russell King <linux@arm.linux.org.uk>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
(cherry picked from commit e9faebc66ec74f1ab7f267d683b45e80faa69763)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Conflicts:
arch/arm/include/asm/arch_timer.h
arch/arm/include/uapi/asm/hwcap.h
arch/arm/kernel/setup.c
arch/arm/include/asm/arch_timer.h
arch/arm/include/uapi/asm/hwcap.h
arch/arm/kernel/setup.c