alistair23-linux/include/clocksource
Julien Thierry ec5c8e429d arm_arch_timer: Expose event stream status
The arch timer configuration for a CPU might get reset after suspending
said CPU.

In order to reliably use the event stream in the kernel (e.g. for delays),
we keep track of the state where we can safely consider the event stream as
properly configured. After writing to cntkctl, we issue an ISB to ensure
that subsequent delay loops can rely on the event stream being enabled.

Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2017-10-13 18:55:05 +01:00
..
arm_arch_timer.h arm_arch_timer: Expose event stream status 2017-10-13 18:55:05 +01:00
metag_generic.h metag: Time keeping 2013-03-02 20:09:22 +00:00
pxa.h ARM: sa11x0/pxa: acquire timer rate from the clock rate 2016-10-18 09:12:36 +02:00
samsung_pwm.h pwm: Add new pwm-samsung driver 2013-08-12 21:53:22 +02:00
timer-sp804.h clocksource/drivers/sp804: Convert init function to return error 2016-06-28 10:19:30 +02:00