]> git.ipfire.org Git - people/arne_f/kernel.git/commit
arm64: arch_timer: Rework the set_next_event workarounds
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 27 Jan 2017 10:27:09 +0000 (10:27 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 7 Apr 2017 10:22:09 +0000 (11:22 +0100)
commit01d3e3ff26080040cb02ec4989a0da36d069f1e9
tree0a4601c57b7fd7557ec320ba7bb77de14b87a1dc
parent8328089f0aeba39173eee3fc109b5c77efd64747
arm64: arch_timer: Rework the set_next_event workarounds

The way we work around errata affecting set_next_event is not very
nice, at it imposes this workaround on errata that do not need it.

Add new workaround hooks and let the existing workarounds use them.

Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/asm/arch_timer.h
drivers/clocksource/arm_arch_timer.c