]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: kconfig: Update and comment GCC version check for kernel BTI
authorWill Deacon <will@kernel.org>
Tue, 12 May 2020 11:45:40 +0000 (12:45 +0100)
committerWill Deacon <will@kernel.org>
Tue, 12 May 2020 12:02:31 +0000 (13:02 +0100)
commitc08d601a3cbf866dce54a603f5ad7b37c7af3737
tree9c883537059c3306ac14e784186fe97dcbc9f2cd
parent7fa9eb84fd1a7f31be75a58f00d87f1cdbb52bb0
arm64: kconfig: Update and comment GCC version check for kernel BTI

Some versions of GCC are known to suffer from a BTI code generation bug,
meaning that CONFIG_CC_HAS_BRANCH_PROT_PAC_RET_BTI cannot be solely used
to determine whether or not we can compile with kernel with BTI enabled.

Update the BTI Kconfig entry to refer to the relevant GCC bugzilla entry
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94697) and update the check
now that the fix has been merged into GCC release 10.1.

Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/Kconfig