Re: possible_cpus broken in linux-next

2013-05-29 Thread Rafael J. Wysocki
On Wednesday, May 29, 2013 03:14:12 PM Dave Hansen wrote: > On 05/29/2013 12:02 PM, Rafael J. Wysocki wrote: > >>> diff --git a/drivers/base/cpu.c b/drivers/base/cpu.c > >>> index 130ba0b..b9f0eec 100644 > >>> --- a/drivers/base/cpu.c > >>> +++ b/drivers/base/cpu.c > >>> @@ -281,6 +281,7 @@ int __c

Re: possible_cpus broken in linux-next

2013-05-29 Thread Dave Hansen
On 05/29/2013 12:02 PM, Rafael J. Wysocki wrote: >>> diff --git a/drivers/base/cpu.c b/drivers/base/cpu.c >>> index 130ba0b..b9f0eec 100644 >>> --- a/drivers/base/cpu.c >>> +++ b/drivers/base/cpu.c >>> @@ -281,6 +281,7 @@ int __cpuinit register_cpu(struct cpu *cpu, int num) >>> cpu->dev.bus =

Re: possible_cpus broken in linux-next

2013-05-29 Thread Rafael J. Wysocki
On 5/29/2013 8:50 PM, Toshi Kani wrote: On Wed, 2013-05-29 at 12:35 -0600, Toshi Kani wrote: On Wed, 2013-05-29 at 10:10 -0700, Dave Hansen wrote: : Thanks for the report. The following patch fixes the problem. -Toshi From: Toshi Kani Subject: [PATCH] ACPI: Fix sysfs cpu/online of o

Re: possible_cpus broken in linux-next

2013-05-29 Thread Toshi Kani
On Wed, 2013-05-29 at 12:35 -0600, Toshi Kani wrote: > On Wed, 2013-05-29 at 10:10 -0700, Dave Hansen wrote: : > Thanks for the report. The following patch fixes the problem. > -Toshi > > > From: Toshi Kani > Subject: [PATCH] ACPI: Fix sysfs cpu/online of offlined cpus Typo. The subject

Re: possible_cpus broken in linux-next

2013-05-29 Thread Toshi Kani
On Wed, 2013-05-29 at 10:10 -0700, Dave Hansen wrote: > If I boot with: maxcpus=2 possible_cpus=4, I get > > # grep . /sys/devices/system/cpu/cpu[0-9]*/online' > /sys/devices/system/cpu/cpu1/online:1 > /sys/devices/system/cpu/cpu2/online:1 > /sys/devices/system/cpu/cpu3/onl

possible_cpus broken in linux-next

2013-05-29 Thread Dave Hansen
If I boot with: maxcpus=2 possible_cpus=4, I get # grep . /sys/devices/system/cpu/cpu[0-9]*/online' /sys/devices/system/cpu/cpu1/online:1 /sys/devices/system/cpu/cpu2/online:1 /sys/devices/system/cpu/cpu3/online:1 on bad kernels, and this on working ones: