Re: [PATCH v2] arm64: Restrict ARM64_BTI_KERNEL to clang 12.0.0 and newer
From: Will Deacon
Date: Tue Jul 13 2021 - 14:09:05 EST
On Mon, 12 Jul 2021 14:46:37 -0700, Nathan Chancellor wrote:
> Commit 97fed779f2a6 ("arm64: bti: Provide Kconfig for kernel mode BTI")
> disabled CONFIG_ARM64_BTI_KERNEL when CONFIG_GCOV_KERNEL was enabled and
> compiling with clang because of warnings that were seen with
> allmodconfig because LLVM was not emitting PAC/BTI instructions for
> compiler generated functions:
>
> warning: some functions compiled with BTI and some compiled without BTI
> warning: not setting BTI in feature flags
>
> [...]
Thanks Nathan for turning this around so quickly. The new commit message
is much better.
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: Restrict ARM64_BTI_KERNEL to clang 12.0.0 and newer
https://git.kernel.org/arm64/c/8cdd23c23c3d
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev