Re: [PATCH] cpu/hotplug: Create SMT sysfs interface for all arches

2019-03-26 Thread Thomas Gleixner
On Tue, 26 Mar 2019, Josh Poimboeuf wrote: > On Tue, Mar 26, 2019 at 02:53:04PM +0100, Thomas Gleixner wrote: > > > Makes sense. I like #3. I can post another version. > > > > Yes, please. > > Something like so (on top of the original patch)? > > diff --git a/Documentation/ABI/testing/sysfs-de

Re: [PATCH] cpu/hotplug: Create SMT sysfs interface for all arches

2019-03-26 Thread Josh Poimboeuf
On Tue, Mar 26, 2019 at 02:53:04PM +0100, Thomas Gleixner wrote: > On Tue, 26 Mar 2019, Josh Poimboeuf wrote: > > On Sun, Mar 24, 2019 at 09:13:18PM +0100, Thomas Gleixner wrote: > > > Second thoughts. I'm not really convinced that changing the meaning of > > > notsupported and in fact overloading

Re: [PATCH] cpu/hotplug: Create SMT sysfs interface for all arches

2019-03-26 Thread Thomas Gleixner
On Tue, 26 Mar 2019, Josh Poimboeuf wrote: > On Sun, Mar 24, 2019 at 09:13:18PM +0100, Thomas Gleixner wrote: > > Second thoughts. I'm not really convinced that changing the meaning of > > notsupported and in fact overloading it, is the right thing to do. > > notsupported means now: > > > > CPU

Re: [PATCH] cpu/hotplug: Create SMT sysfs interface for all arches

2019-03-26 Thread Josh Poimboeuf
On Sun, Mar 24, 2019 at 09:13:18PM +0100, Thomas Gleixner wrote: > On Fri, 1 Mar 2019, Josh Poimboeuf wrote: > > Make the /sys/devices/system/cpu/smt/* files available on all arches, so > > user space has a consistent way to detect whether SMT is enabled. > > > > The 'control' file now shows 'nots

Re: [PATCH] cpu/hotplug: Create SMT sysfs interface for all arches

2019-03-24 Thread Thomas Gleixner
On Fri, 1 Mar 2019, Josh Poimboeuf wrote: > Make the /sys/devices/system/cpu/smt/* files available on all arches, so > user space has a consistent way to detect whether SMT is enabled. > > The 'control' file now shows 'notsupported' for architectures which > don't yet have CONFIG_HOTPLUG_SMT. I'm

Re: [PATCH] cpu/hotplug: Create SMT sysfs interface for all arches

2019-03-06 Thread Thomas Gleixner
Josh, On Fri, 1 Mar 2019, Josh Poimboeuf wrote: > Make the /sys/devices/system/cpu/smt/* files available on all arches, so > user space has a consistent way to detect whether SMT is enabled. > > The 'control' file now shows 'notsupported' for architectures which > don't yet have CONFIG_HOTPLUG_SM

[PATCH] cpu/hotplug: Create SMT sysfs interface for all arches

2019-03-01 Thread Josh Poimboeuf
Make the /sys/devices/system/cpu/smt/* files available on all arches, so user space has a consistent way to detect whether SMT is enabled. The 'control' file now shows 'notsupported' for architectures which don't yet have CONFIG_HOTPLUG_SMT. Signed-off-by: Josh Poimboeuf --- .../ABI/testing/sys