]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ACPI: Fix regression where _PPC is not read at boot even when ignore_ppc=0
authorDarrick J. Wong <djwong@us.ibm.com>
Thu, 18 Feb 2010 18:28:20 +0000 (10:28 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 13 Aug 2010 20:20:17 +0000 (13:20 -0700)
commita234580f5c847eaa59e775469205734c5d94e846
tree637b96f2fb72f706d1e99909f195bf5a7f7202c2
parent876c10addb8c8f064dae77b13f85d756df60bcf8
ACPI: Fix regression where _PPC is not read at boot even when ignore_ppc=0

commit 455c0d71d46e86b0b7ff2c9dcfc19bc162302ee9 upstream.

Earlier, Ingo Molnar posted a patch to make it so that the kernel would avoid
reading _PPC on his broken T60.  Unfortunately, it seems that with Thomas
Renninger's patch last July to eliminate _PPC evaluations when the processor
driver loads, the kernel never actually reads _PPC at all!  This is problematic
if you happen to boot your non-T60 computer in a state where the BIOS _wants_
_PPC to be something other than zero.

So, put the _PPC evaluation back into acpi_processor_get_performance_info if
ignore_ppc isn't 1.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Acked-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/acpi/processor_perflib.c