arm64: arch_timer: Allow erratum matching with ACPI OEM information
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 21 Feb 2017 14:37:30 +0000 (14:37 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 7 Apr 2017 10:22:10 +0000 (11:22 +0100)
commit5a38bcac1f2f0bd0d24700690e36a277ffd0396d
tree3e7d1f3b3acf85b176276612940b76111104fdbd
parentfa8d815fac96e7c9247783d5a1f8fa4685b3c543
arm64: arch_timer: Allow erratum matching with ACPI OEM information

Just as we're able to identify a broken platform using some DT
information, let's enable a way to spot the offenders with ACPI.

The difference is that we can only match on some OEM info instead
of implementation-specific properties. So in order to avoid the
insane multiplication of errata structures, we allow an array
of OEM descriptions to be attached to an erratum structure.

Acked-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: dann frazier <dann.frazier@canonical.com>
Tested-by: Hanjun Guo <hanjun.guo@linaro.org>
Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/asm/arch_timer.h
drivers/clocksource/arm_arch_timer.c