lkml.org 
[lkml]   [2018]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch v5 09/16] x86/smt: Convert cpu_smt_control check to cpu_smt_enabled static key
On Mon, 19 Nov 2018, Thomas Gleixner wrote:

> Tim,
>
> On Fri, 16 Nov 2018, Tim Chen wrote:
> >
> > +static char *l1tf_show_smt_vulnerable(void)
> > +{
> > + if (static_branch_likely(&cpu_smt_enabled))
> > + return "vulnerable";
> > + else
> > + return "disabled";
>
> so an UP kernel will now report vulnerable.

Actually it will not do that because the UP build fails in the linker
stage.

arch/x86/Kconfig: select HOTPLUG_SMT if SMP

Thanks,

tglx

\
 
 \ /
  Last update: 2018-11-19 14:01    [W:0.071 / U:0.876 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site