]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9f666dcaa637e56b4bef3890d99df8fdccedcfac
treefbd32bf6a064e74f2bcf6311b216850111951ce1
parentdbdb5d55103acf102941f13ea3a6ebadf997f855
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