lkml.org 
[lkml]   [2018]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG]smt sysfs dir missing on 4.4.148 and 4.14.63
On Mon, 20 Aug 2018, Jinpu Wang wrote:
> On Mon, Aug 20, 2018 at 3:02 PM Thomas Gleixner <tglx@linutronix.de> wrote:
> > That works, but we might as well force 'select HOTPLUG_CPU if SMP' so the
> > L1TF mitigations are functional. Sigh....
> >
> > Thanks,
> >
> > tglx
> right, sth like?
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index b0312f8..5852948 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -188,7 +188,8 @@ config X86
> select HAVE_SYSCALL_TRACEPOINTS
> select HAVE_UNSTABLE_SCHED_CLOCK
> select HAVE_USER_RETURN_NOTIFIER
> - select HOTPLUG_SMT if SMP
> + select HOTPLUG_CPU if SMP
> + select HOTPLUG_SMT if SMP && HOTPLUG_CPU

The && HOTPLUG is pretty pointless now.

\
 
 \ /
  Last update: 2018-08-20 16:48    [W:0.072 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site