OSDN Git Service

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)
commitca79acca273630935f2cfdfdf3fc7425ff51ce1c
treeeb7562df51b97cc6e33b494c9d744744f6dd4a89
parente8002e02abf052c07bb87b867789034bc79aac10
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