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 11:18:52AM +0200, Greg KH wrote:
> 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

Yeah, I was just thinking that I missed it, and whether I would be able to
respond to my own message before you did.  :-)

This series is targed at 5.15. I will look at 5.10 next.

Thanks.
Cascardo.



[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