lkml.org 
[lkml]   [2020]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] x86/fpu: Allow clearcpuid= to clear several bits
> 
> I did wonder about that. However, cmdline_find_option() is specifically documented as
>
> * Find a non-boolean option (i.e. option=argument). In accordance with
> * standard Linux practice, if this option is repeated, this returns the
> * last instance on the command line.

Okay so would need a special version that uses the first and an option
to pass the cmdline string.

>
> And since that appeared in 2017 I decided to stick with the new-fangled interface :) This is a little-used feature; I'm not sure it's worth the effort of parsing the command line for the old style. What do you think?

I'm not sure it's that little used. We use it quite a bit for testing
and workarounds, and it might be that some of those are deployed.

-Andi

\
 
 \ /
  Last update: 2020-04-23 03:42    [W:0.053 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site