Re: [PATCH v3 5/5] acpi_processor: do not mark present at boot but not onlined CPU as onlined

2014-04-14 Thread Rafael J. Wysocki
On Thursday, April 10, 2014 07:14:21 PM Igor Mammedov wrote: > acpi_processor_add() assumes that present at boot CPUs > are always onlined, it is not so if a CPU failed to become > onlined. What do you mean by that? What *exactly* is the failure scenario? > As result acpi_processor_add() will

Re: [PATCH v3 5/5] acpi_processor: do not mark present at boot but not onlined CPU as onlined

2014-04-14 Thread Rafael J. Wysocki
On Monday, April 14, 2014 11:21:47 AM Ingo Molnar wrote: > > * Igor Mammedov wrote: > > > acpi_processor_add() assumes that present at boot CPUs > > are always onlined, it is not so if a CPU failed to become > > onlined. As result acpi_processor_add() will mark such CPU > > device as onlined in

Re: [PATCH v3 5/5] acpi_processor: do not mark present at boot but not onlined CPU as onlined

2014-04-14 Thread Ingo Molnar
* Igor Mammedov wrote: > acpi_processor_add() assumes that present at boot CPUs > are always onlined, it is not so if a CPU failed to become > onlined. As result acpi_processor_add() will mark such CPU > device as onlined in sysfs and following attempts to > online/offline it using

Re: [PATCH v3 5/5] acpi_processor: do not mark present at boot but not onlined CPU as onlined

2014-04-14 Thread Rafael J. Wysocki
On Monday, April 14, 2014 11:21:47 AM Ingo Molnar wrote: * Igor Mammedov imamm...@redhat.com wrote: acpi_processor_add() assumes that present at boot CPUs are always onlined, it is not so if a CPU failed to become onlined. As result acpi_processor_add() will mark such CPU device as

Re: [PATCH v3 5/5] acpi_processor: do not mark present at boot but not onlined CPU as onlined

2014-04-14 Thread Rafael J. Wysocki
On Thursday, April 10, 2014 07:14:21 PM Igor Mammedov wrote: acpi_processor_add() assumes that present at boot CPUs are always onlined, it is not so if a CPU failed to become onlined. What do you mean by that? What *exactly* is the failure scenario? As result acpi_processor_add() will mark

Re: [PATCH v3 5/5] acpi_processor: do not mark present at boot but not onlined CPU as onlined

2014-04-14 Thread Ingo Molnar
* Igor Mammedov imamm...@redhat.com wrote: acpi_processor_add() assumes that present at boot CPUs are always onlined, it is not so if a CPU failed to become onlined. As result acpi_processor_add() will mark such CPU device as onlined in sysfs and following attempts to online/offline it

[PATCH v3 5/5] acpi_processor: do not mark present at boot but not onlined CPU as onlined

2014-04-10 Thread Igor Mammedov
acpi_processor_add() assumes that present at boot CPUs are always onlined, it is not so if a CPU failed to become onlined. As result acpi_processor_add() will mark such CPU device as onlined in sysfs and following attempts to online/offline it using /sys/device/system/cpu/cpuX/online attribute

[PATCH v3 5/5] acpi_processor: do not mark present at boot but not onlined CPU as onlined

2014-04-10 Thread Igor Mammedov
acpi_processor_add() assumes that present at boot CPUs are always onlined, it is not so if a CPU failed to become onlined. As result acpi_processor_add() will mark such CPU device as onlined in sysfs and following attempts to online/offline it using /sys/device/system/cpu/cpuX/online attribute