Thomas Renninger d18960494f ACPI, intel_idle: Cleanup idle= internal variables
Having four variables for the same thing:
  idle_halt, idle_nomwait, force_mwait and boot_option_idle_overrides
is rather confusing and unnecessary complex.

if idle= boot param is passed, only set up one variable:
boot_option_idle_overrides

Introduces following functional changes/fixes:
  - intel_idle driver does not register if any idle=xy
    boot param is passed.
  - processor_idle.c will also not register a cpuidle driver
    and get active if idle=halt is passed.
    Before a cpuidle driver with one (C1, halt) state got registered
    Now the default_idle function will be used which finally uses
    the same idle call to enter sleep state (safe_halt()), but
    without registering a whole cpuidle driver.

That means idle= param will always avoid cpuidle drivers to register
with one exception (same behavior as before):
idle=nomwait
may still register acpi_idle cpuidle driver, but C1 will not use
mwait, but hlt. This can be a workaround for IO based deeper sleep
states where C1 mwait causes problems.

Signed-off-by: Thomas Renninger <trenn@suse.de>
cc: x86@kernel.org
Signed-off-by: Len Brown <len.brown@intel.com>
2011-01-12 12:47:30 -05:00
..
2010-03-14 20:58:38 -04:00
2009-03-31 14:25:08 -07:00
2009-12-16 02:45:10 +00:00
2010-10-07 14:08:55 +01:00
2010-08-14 22:26:51 +02:00
2010-06-09 11:12:36 +02:00
2009-01-06 14:06:52 +01:00
2009-01-16 10:09:10 +01:00
2009-09-22 07:17:42 -07:00
2010-05-18 14:45:52 -07:00
2009-06-17 09:33:49 -07:00
2010-10-26 16:52:08 -07:00
2009-06-17 09:33:49 -07:00
2010-10-12 09:37:10 +02:00
2008-09-04 09:46:13 +01:00
2009-02-01 11:01:25 +05:30
2010-02-08 10:42:17 -08:00
2010-01-07 16:10:57 -08:00