arm64: arch_timer: Allows a CPU-specific erratum to only affect a subset of CPUs
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 20 Feb 2017 18:34:48 +0000 (18:34 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 7 Apr 2017 10:22:09 +0000 (11:22 +0100)
commit6acc71ccac7187fc0ef85f10bd09c2058f21fab5
treefa55e6e16bdd8b41537ba1d27abefb2c1b2a96ee
parent8c64621bf9501902a3086a5e38135344b3161128
arm64: arch_timer: Allows a CPU-specific erratum to only affect a subset of CPUs

Instead of applying a CPU-specific workaround to all CPUs in the system,
allow it to only affect a subset of them (typical big-little case).

This is done by turning the erratum pointer into a per-CPU variable.

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