Re: Suspend/resume with FTRACE enabled doesnât work anymore

From: Steven Rostedt
Date: Wed Jan 17 2018 - 11:26:06 EST


On Wed, 17 Jan 2018 11:19:43 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Wed, 17 Jan 2018 11:10:31 -0500
> Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
>
> > It's been fixed, and the the patch is in Linus's tree already:
> >
> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a0e3a18f4baf8e3754ac1e56f0ade924d0c0c721
>
> Although I just noticed that the revert, also reverted the required
> barriers. I'll go add them back in.
>

I take that back. Barriers are not needed, as interrupts do not need to
see the updates. And looking at the patch being reverted, I don't think
they were needed there either. The update to those bits only need to be
done for the current context to prevent recursion at that context. And
that was the case with the commit that was reverted.

-- Steve