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

2018-08-20 Thread Jinpu Wang
On Mon, Aug 20, 2018 at 4:47 PM Thomas Gleixner wrote: > > On Mon, 20 Aug 2018, Jinpu Wang wrote: > > On Mon, Aug 20, 2018 at 3:02 PM Thomas Gleixner wrote: > > > That works, but we might as well force 'select HOTPLUG_CPU if SMP' so the > > > L1TF mitigations are functional. Sigh > > > > > >

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

2018-08-20 Thread Thomas Gleixner
On Mon, 20 Aug 2018, Jinpu Wang wrote: > On Mon, Aug 20, 2018 at 3:02 PM Thomas Gleixner 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/x8

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

2018-08-20 Thread Jinpu Wang
On Mon, Aug 20, 2018 at 3:02 PM Thomas Gleixner wrote: > > On Mon, 20 Aug 2018, Jinpu Wang wrote: > > > On Sat, Aug 18, 2018 at 2:50 PM Thomas Gleixner wrote: > > > > > > On Fri, 17 Aug 2018, Greg Kroah-Hartman wrote: > > > > On Fri, Aug 17, 2018 at 02:39:00PM +0200, Jinpu Wang wrote: > > > > > >

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

2018-08-20 Thread Thomas Gleixner
On Mon, 20 Aug 2018, Jinpu Wang wrote: > On Sat, Aug 18, 2018 at 2:50 PM Thomas Gleixner wrote: > > > > 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_

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

2018-08-20 Thread Jinpu Wang
On Sat, Aug 18, 2018 at 2:50 PM Thomas Gleixner wrote: > > 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_HOTPLU

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

2018-08-18 Thread Thomas Gleixner
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

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

2018-08-17 Thread Greg Kroah-Hartman
On Fri, Aug 17, 2018 at 02:39:00PM +0200, Jinpu Wang wrote: > On Thu, Aug 16, 2018 at 6:48 PM Jinpu Wang > wrote: > > > > On Thu, Aug 16, 2018 at 6:39 PM Greg Kroah-Hartman > > wrote: > > > > > > On Thu, Aug 16, 2018 at 06:28:59PM +0200, Jinpu Wang wrote: > > > > On Thu, Aug 16, 2018 at 5:51 PM

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

2018-08-17 Thread Jinpu Wang
On Thu, Aug 16, 2018 at 6:48 PM Jinpu Wang wrote: > > On Thu, Aug 16, 2018 at 6:39 PM Greg Kroah-Hartman > wrote: > > > > On Thu, Aug 16, 2018 at 06:28:59PM +0200, Jinpu Wang wrote: > > > On Thu, Aug 16, 2018 at 5:51 PM Greg Kroah-Hartman > > > wrote: > > > > > > > > On Thu, Aug 16, 2018 at 05:4

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

2018-08-16 Thread Jinpu Wang
On Thu, Aug 16, 2018 at 6:39 PM Greg Kroah-Hartman wrote: > > On Thu, Aug 16, 2018 at 06:28:59PM +0200, Jinpu Wang wrote: > > On Thu, Aug 16, 2018 at 5:51 PM Greg Kroah-Hartman > > wrote: > > > > > > On Thu, Aug 16, 2018 at 05:43:23PM +0200, Jinpu Wang wrote: > > > > Hi Greg, hi Thomas, > > > > >

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

2018-08-16 Thread Greg Kroah-Hartman
On Thu, Aug 16, 2018 at 06:28:59PM +0200, Jinpu Wang wrote: > On Thu, Aug 16, 2018 at 5:51 PM Greg Kroah-Hartman > wrote: > > > > On Thu, Aug 16, 2018 at 05:43:23PM +0200, Jinpu Wang wrote: > > > Hi Greg, hi Thomas, > > > > > > I noticed /sys/devices/system/cpu/smt dir is missing on 4.4.148 and >