]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: errata: Pass --fix-cortex-a53-843419 to ld if workaround enabled
authorWill Deacon <will.deacon@arm.com>
Mon, 22 Aug 2016 10:58:36 +0000 (11:58 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 26 Aug 2016 10:33:22 +0000 (11:33 +0100)
commitf116255f50819ba139dc72e7ce59228fd7490421
treeab5298c631fa96353509174ea1fe883bf0a66310
parent24e053e67acc415fe61823ea8c1fc756259928d5
arm64: errata: Pass --fix-cortex-a53-843419 to ld if workaround enabled

Cortex-A53 erratum 843419 is worked around by the linker, although it is
a configure-time option to GCC as to whether ld is actually asked to
apply the workaround or not.

This patch ensures that we pass --fix-cortex-a53-843419 to the linker
when both CONFIG_ARM64_ERRATUM_843419=y and the linker supports the
option.

Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Kconfig
arch/arm64/Makefile