lkml.org 
[lkml]   [2018]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] x86/paravirt: Remove 'noreplace-paravirt' cmdline option
From
Date
On 31/01/18 05:13, Josh Poimboeuf wrote:
> The 'noreplace-paravirt' option disables paravirt patching, leaving the
> original pv indirect calls in place.
>
> That's highly incompatible with retpolines, unless we want to uglify
> paravirt even further and convert the paravirt calls to retpolines.
>
> As far as I can tell, the option doesn't seem to be useful for much
> other than introducing surprising corner cases and making the kernel
> vulnerable to Spectre v2. It was probably a debug option from the early
> paravirt days. So just remove it.
>
> Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>

Reviewed-by: Juergen Gross <jgross@suse.com>


Juergen

\
 
 \ /
  Last update: 2018-01-31 06:59    [W:0.062 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site