]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/kernel: enable A53 erratum #8434319 handling at runtime
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 6 Mar 2018 17:15:35 +0000 (17:15 +0000)
committerWill Deacon <will.deacon@arm.com>
Fri, 9 Mar 2018 13:23:09 +0000 (13:23 +0000)
commitac27e7b3246e105da75f1de55f6247896c9fb162
treeeb7562df51b97cc6e33b494c9d744744f6dd4a89
parente49627f3e9477d50f0e39cb402688318803bd9be
arm64/kernel: enable A53 erratum #8434319 handling at runtime

Omit patching of ADRP instruction at module load time if the current
CPUs are not susceptible to the erratum.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
[will: Drop duplicate initialisation of .def_scope field]
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/cpucaps.h
arch/arm64/kernel/cpu_errata.c
arch/arm64/kernel/module-plts.c
arch/arm64/kernel/module.c