[ACPI] Avoid BIOS inflicted crashes by evaluating _PDC only once
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Sun, 23 Oct 2005 20:31:00 +0000 (16:31 -0400)
committerLen Brown <len.brown@intel.com>
Thu, 1 Dec 2005 06:30:35 +0000 (01:30 -0500)
commit05131ecc99ea9da7f45ba3058fe8a2c1d0ceeab8
treedec76975406874cf677d6391302f42a6da55ac38
parentd2149b542382bfc206cb28485108f6470c979566
[ACPI] Avoid BIOS inflicted crashes by evaluating _PDC only once

Linux invokes the AML _PDC method (Processor Driver Capabilities)
to tell the BIOS what features it can handle.  While the ACPI
spec says nothing about the OS invoking _PDC multiple times,
doing so with changing bits seems to hopelessly confuse the BIOS
on multiple platforms up to and including crashing the system.

Factor out the _PDC invocation so Linux invokes it only once.

http://bugzilla.kernel.org/show_bug.cgi?id=5483

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
16 files changed:
arch/i386/kernel/acpi/Makefile
arch/i386/kernel/acpi/cstate.c
arch/i386/kernel/acpi/processor.c [new file with mode: 0644]
arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
arch/ia64/kernel/cpufreq/Makefile
arch/ia64/kernel/cpufreq/acpi-cpufreq.c
arch/ia64/kernel/cpufreq/acpi-processor.c [new file with mode: 0644]
arch/x86_64/kernel/acpi/Makefile
arch/x86_64/kernel/acpi/processor.c [new file with mode: 0644]
drivers/acpi/processor_core.c
drivers/acpi/processor_idle.c
drivers/acpi/processor_perflib.c
include/acpi/pdc_intel.h
include/acpi/processor.h
include/asm-i386/acpi.h