Re: [PATCH 1/3] Revert "x86/ftrace: Use alternative RET encoding"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 16, 2022 at 05:26:56AM -0300, Thadeu Lima de Souza Cascardo wrote:
> This reverts commit 3af2ebf798c52b20de827b9dfec13472ab4a7964.
> 
> This temporarily reverts the backport of upstream commit
> 1f001e9da6bbf482311e45e48f53c2bd2179e59c. It was not correct to copy the
> ftrace stub as it would contain a relative jump to the return thunk which
> would not apply to the context where it was being copied to, leading to
> ftrace support to be broken.
> 
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@xxxxxxxxxxxxx>
> ---
>  arch/x86/kernel/ftrace.c | 7 ++-----
>  1 file changed, 2 insertions(+), 5 deletions(-)

What stable tree(s) is this to be for?

Context is everything :)

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux