Re: [BUG]smt sysfs dir missing on 4.4.148 and 4.14.63

From: Thomas Gleixner
Date: Sat Aug 18 2018 - 08:50:55 EST


On Fri, 17 Aug 2018, Greg Kroah-Hartman wrote:
> On Fri, Aug 17, 2018 at 02:39:00PM +0200, Jinpu Wang wrote:
> >
> > I found the problem, CONFIG_HOTPLUG_SMT is enable due to CONFIG_SMP,
> > but I did explicitly enable CONFIG_HOTPLUG_CPU.
> >
> > That's why the smt dir is missing, and kernel panic when I boot with
> > 'nosmt' or 'l1tf=full' probably also other combination.
> >
> > With CONFIG_HOTPLUG_CPU=y, it works fine so far.
>
> So do we need a new configuration dependancy here to resolve this
> problem? Why is this not an issue in Linus's tree?

That's probably the same problem on Linus tree. Have not tested it yet
though. I'll have a look.

Thanks,

tglx