diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-03-24 08:11:28 +0100 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-04-24 22:15:33 +0200 |
commit | 987fdfec24102a151c032c467e51c7f0d6d18af9 (patch) | |
tree | 8fc6d282abfe2f027724012a29336b913b2b5879 /arch/arm64/Kconfig | |
parent | kbuild: dwarf: use AS_VERSION instead of test_dwarf5_support.sh (diff) | |
download | linux-987fdfec24102a151c032c467e51c7f0d6d18af9.tar.xz linux-987fdfec24102a151c032c467e51c7f0d6d18af9.zip |
arm64: move --fix-cortex-a53-843419 linker test to Kconfig
Since commit 805b2e1d427a ("kbuild: include Makefile.compiler only when
compiler is needed"), "make ARCH=arm64 (modules_)install" shows a false
positive warning.
Move the ld-option test to Kconfig, so that the result can be stored in
the .config file, avoiding multiple-time evaluations in the build and
installation time.
Reported-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r-- | arch/arm64/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 5656e7aacd69..4a33428de8ac 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -521,6 +521,9 @@ config ARM64_ERRATUM_843419 If unsure, say Y. +config ARM64_LD_HAS_FIX_ERRATUM_843419 + def_bool $(ld-option,--fix-cortex-a53-843419) + config ARM64_ERRATUM_1024718 bool "Cortex-A55: 1024718: Update of DBM/AP bits without break before make might result in incorrect update" default y |