[PATCH] arm64: Don't insert a BTI instruction at inner labels
Will Deacon
will at kernel.org
Wed Jun 24 09:54:51 EDT 2020
On Wed, 24 Jun 2020 13:22:54 +0200, Jean-Philippe Brucker wrote:
> Some ftrace features are broken since commit 714a8d02ca4d ("arm64: asm:
> Override SYM_FUNC_START when building the kernel with BTI"). For example
> the function_graph tracer:
>
> $ echo function_graph > /sys/kernel/debug/tracing/current_tracer
> [ 36.107016] WARNING: CPU: 0 PID: 115 at kernel/trace/ftrace.c:2691 ftrace_modify_all_code+0xc8/0x14c
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: Don't insert a BTI instruction at inner labels
https://git.kernel.org/arm64/c/2d21889f8b5c
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list