Re: [PATCH v6 0/4] enable early printing of hashed pointers

From: Anna-Maria Gleixner
Date: Wed Jun 06 2018 - 09:08:39 EST


On Tue, 5 Jun 2018, Anna-Maria Gleixner wrote:

> On Thu, 31 May 2018, Steven Rostedt wrote:
>
> > On Mon, 28 May 2018 11:46:38 +1000
> > "Tobin C. Harding" <me@xxxxxxxx> wrote:
> >
> > > Steve,
> >
> > Hi Tobin,
> >
> > Sorry for the late reply, I'm currently at a conference and have had
> > little time to read email.
> >
> > >
> > > Could you please take a quick squiz at the final 2 patches if you get a
> > > chance. I assumed we are in preemptible context during early_init based
> > > on your code (and code comment) and called static_branch_disable()
> > > directly if hw RNG returned keying material. It's a pretty simple
> > > change but I'd love to get someone else to check I've not noob'ed it.
> >
> > I can take a look, and perhaps do some tests. But it was Anna-Maria
> > that originally triggered the issue. She's on Cc, perhaps she can try
> > this and see if it works.
>
> I'll test it today - sorry for the delay.
>

I tested it with command line option enabled. This works early enough
because it works right after early_trace_init().

Thanks,

Anna-Maria