[PATCH] arm64: ftrace: fix module PLTs with mcount
Catalin Marinas
catalin.marinas at arm.com
Thu Sep 29 10:54:21 PDT 2022
On Thu, 29 Sep 2022 14:45:25 +0100, Mark Rutland wrote:
> Li Huafei reports that mcount-based ftrace with module PLTs was broken
> by commit:
>
> a6253579977e4c6f ("arm64: ftrace: consistently handle PLTs.")
>
> When a module PLTs are used and a module is loaded sufficiently far away
> from the kernel, we'll create PLTs for any branches which are
> out-of-range. These are separate from the special ftrace trampoline
> PLTs, which the module PLT code doesn't directly manipulate.
>
> [...]
Applied to arm64 (for-next/ftrace), thanks!
[1/1] arm64: ftrace: fix module PLTs with mcount
https://git.kernel.org/arm64/c/8cfb08575c6d
--
Catalin
More information about the linux-arm-kernel
mailing list