lkml.org 
[lkml]   [2013]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: x86-32: Early microcode loading stumbles over disabled DYNAMIC_FTRACE
On Sat, 31 Aug 2013 07:07:37 +0200
Borislav Petkov <bp@alien8.de> wrote:

> On Fri, Aug 30, 2013 at 08:17:41PM -0400, Steven Rostedt wrote:
> > On Fri, 30 Aug 2013 13:48:55 -0700
> > "H. Peter Anvin" <hpa@zytor.com> wrote:
> >
> > > >> You *could* bail out of the calling address is < PAGE_OFFSET.
> > >
> > > Anyway... can we add this to the static tracing code? It is two
> > > instructions and is only needed on x86-32. For performance, use dynamic.
> >
> > Sure, do you want to add it ?
>
> Another, simpler option could be to make static tracing depend on
> !MICROCODE until the first has been removed.
>

Might be trickier than you think. Static tracing is the default.
Dynamic tracing is the extension. By making static tracing depend
on !MICROCODE, you basically made function tracing depend on !MICROCODE.

I guess you could make MICROCODE select DYNAMIC_FTRACE, but that could
get messy.

-- Steve


\
 
 \ /
  Last update: 2013-08-31 08:21    [W:0.126 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site