arm64: errata: Calling enable functions for CPU errata too
authorAndre Przywara <andre.przywara@arm.com>
Tue, 28 Jun 2016 17:07:30 +0000 (18:07 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 1 Jul 2016 10:30:28 +0000 (11:30 +0100)
commit8e2318521bf5837dae093413f81292b59d49d030
treefbd32bf6a064e74f2bcf6311b216850111951ce1
parent823066d9edcdfe4cedb06216c2b1f91efaf68a87
arm64: errata: Calling enable functions for CPU errata too

Currently we call the (optional) enable function for CPU _features_
only. As CPU _errata_ descriptions share the same data structure and
having an enable function is useful for errata as well (for instance
to set bits in SCTLR), lets call it when enumerating erratas too.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cpufeature.h
arch/arm64/kernel/cpu_errata.c
arch/arm64/kernel/cpufeature.c