Re: [linux-pm] [PATCH] acpi: intel_idle : break dependency between modules

2012-06-28 Thread Srivatsa S. Bhat
On 06/28/2012 01:04 PM, Thomas Renninger wrote: > On Wednesday, June 27, 2012 06:16:33 PM Srivatsa S. Bhat wrote: >> On 06/27/2012 02:37 PM, Daniel Lezcano wrote: >>> When the system is booted with some cpus offline, the idle >>> driver is not initialized. When a cpu is set online, the >>> acpi cod

Re: [linux-pm] [PATCH] acpi: intel_idle : break dependency between modules

2012-06-28 Thread Thomas Renninger
On Wednesday, June 27, 2012 06:16:33 PM Srivatsa S. Bhat wrote: > On 06/27/2012 02:37 PM, Daniel Lezcano wrote: > > When the system is booted with some cpus offline, the idle > > driver is not initialized. When a cpu is set online, the > > acpi code call the intel idle init function. Unfortunately

Re: [PATCH] acpi: intel_idle : break dependency between modules

2012-06-28 Thread Daniel Lezcano
On 06/27/2012 03:06 PM, Thomas Renninger wrote: > Hi, > > I agree that such a dependency between 2 modules is not > nice. But your patch will have bad side-effects (see comments > embedded below). > > On Wednesday, June 27, 2012 11:07:48 AM Daniel Lezcano wrote: >> When the system is booted with

Re: [PATCH] acpi: intel_idle : break dependency between modules

2012-06-27 Thread Thomas Renninger
Hi, I agree that such a dependency between 2 modules is not nice. But your patch will have bad side-effects (see comments embedded below). On Wednesday, June 27, 2012 11:07:48 AM Daniel Lezcano wrote: > When the system is booted with some cpus offline, the idle > driver is not initialized. When a

Re: [linux-pm] [PATCH] acpi: intel_idle : break dependency between modules

2012-06-27 Thread Srivatsa S. Bhat
On 06/27/2012 02:37 PM, Daniel Lezcano wrote: > When the system is booted with some cpus offline, the idle > driver is not initialized. When a cpu is set online, the > acpi code call the intel idle init function. Unfortunately > this code introduce a dependency between intel_idle and acpi. > > Thi

[PATCH] acpi: intel_idle : break dependency between modules

2012-06-27 Thread Daniel Lezcano
When the system is booted with some cpus offline, the idle driver is not initialized. When a cpu is set online, the acpi code call the intel idle init function. Unfortunately this code introduce a dependency between intel_idle and acpi. This patch is intended to remove this dependency by using the