kernel_optimize_test/drivers/acpi
Rafael J. Wysocki bf325f9538 ACPI / PM: Register power resource devices as soon as they are needed
Depending on the organization of the ACPI namespace, power resource
device objects may generally be scanned after the "regular" device
objects that they are referred from through _PRn.  This, in turn, may
cause acpi_bus_get_power_flags() to attempt to access them through
acpi_bus_init_power() before they are registered (and initialized by
acpi_power_driver).  [This is not a theoretical issue, it actually
happens for one PnP device on my testbed HP nx6325.]

To fix this problem, make acpi_bus_get_power_flags() attempt to
register power resource devices as soon as they have been found in
the _PRn output for any other devices.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
2011-01-12 04:48:45 -05:00
..
acpica ACPI / ACPICA: Disable GPEs during initialization 2010-12-26 17:02:55 -05:00
apei ACPI/HEST: adjust section selection 2010-12-11 02:01:48 -05:00
ac.c ACPI ac: update AC status upon sysfs query 2010-12-09 15:33:08 -05:00
acpi_memhotplug.c
acpi_pad.c
atomicio.c
battery.c Revert "ACPI battery: update status upon sysfs query" 2010-12-24 21:43:16 -05:00
blacklist.c
bus.c ACPI / PM: Register acpi_power_driver early 2011-01-12 04:48:45 -05:00
button.c
cm_sbs.c
container.c
debugfs.c
dock.c
ec_sys.c
ec.c ACPI: EC: Add another dmi match entry for MSI hardware 2010-12-09 17:08:46 -05:00
event.c
fan.c
glue.c
hed.c
internal.h ACPI / PM: Add function for device power state initialization 2011-01-12 04:48:44 -05:00
Kconfig
Makefile
numa.c
osl.c Merge branches 'bugzilla-15418', 'bugzilla-21722', 'bugzilla-22932', 'misc-2.6.37' and 'osi-regression' into release 2010-12-11 02:02:02 -05:00
pci_bind.c
pci_irq.c
pci_link.c
pci_root.c
pci_slot.c
power_meter.c
power.c ACPI / PM: Introduce function for refcounting device power resources 2011-01-12 04:48:44 -05:00
proc.c
processor_core.c
processor_driver.c
processor_idle.c
processor_perflib.c
processor_thermal.c ACPI thermal: remove two unused functions 2010-12-11 02:01:47 -05:00
processor_throttling.c
reboot.c
sbs.c
sbshc.c
sbshc.h
scan.c ACPI / PM: Register power resource devices as soon as they are needed 2011-01-12 04:48:45 -05:00
sleep.c Merge branch 'bugzilla-23002' into release 2010-12-13 22:40:54 -05:00
sleep.h
sysfs.c
tables.c
thermal.c
utils.c
video_detect.c
video.c
wakeup.c