]> git.ipfire.org Git - people/arne_f/kernel.git/commit
arm64: cpu_errata: Allow an erratum to be match for all revisions of a core
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 1 Feb 2017 14:38:46 +0000 (14:38 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 7 Apr 2017 10:22:08 +0000 (11:22 +0100)
commit06f1494f837da8997d670a1ba87add7963b08922
tree8ac9b302e3ba5cf72012e87cfd28b5165a3dedcd
parent199fd2bff4040985fbd7853cc39b7245fcf54bb9
arm64: cpu_errata: Allow an erratum to be match for all revisions of a core

Some minor erratum may not be fixed in further revisions of a core,
leading to a situation where the workaround needs to be updated each
time an updated core is released.

Introduce a MIDR_ALL_VERSIONS match helper that will work for all
versions of that MIDR, once and for all.

Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kernel/cpu_errata.c