linux/drivers/acpi
Rafael J. Wysocki b9a5e5e18f ACPI / init: Fix the ordering of acpi_reserve_resources()
Since acpi_reserve_resources() is defined as a device_initcall(),
there's no guarantee that it will be executed in the right order
with respect to the rest of the ACPI initialization code.  On some
systems this leads to breakage if, for example, the address range
that should be reserved for the ACPI fixed registers is given to
the PCI host bridge instead if the race is won by the wrong code
path.

Fix this by turning acpi_reserve_resources() into a void function
and calling it directly from within the ACPI initialization sequence.

Reported-and-tested-by: George McCollister <george.mccollister@gmail.com>
Link: http://marc.info/?t=143092384600002&r=1&w=2
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2015-05-07 21:19:39 +02:00
..
acpica ACPICA: Store GPE register enable masks upfront 2015-04-15 04:00:27 +02:00
apei
pmic
ac.c
acpi_apd.c
acpi_cmos_rtc.c
acpi_extlog.c
acpi_ipmi.c
acpi_lpat.c
acpi_lpss.c
acpi_memhotplug.c
acpi_pad.c
acpi_platform.c
acpi_pnp.c
acpi_processor.c
battery.c Power management and ACPI updates for v4.1-rc1 2015-04-14 20:21:54 -07:00
battery.h
bgrt.c
blacklist.c
bus.c
button.c
cm_sbs.c
container.c
custom_method.c
debugfs.c
device_pm.c
dock.c
ec.c ACPI / EC: fix NULL pointer dereference in acpi_ec_remove_query_handler() 2015-04-22 04:12:35 +02:00
ec_sys.c
event.c
fan.c
glue.c
gsi.c
hed.c
int340x_thermal.c
internal.h
ioapic.c
Kconfig
Makefile
numa.c
nvs.c
osl.c ACPI / init: Fix the ordering of acpi_reserve_resources() 2015-05-07 21:19:39 +02:00
pci_irq.c
pci_link.c
pci_root.c
pci_slot.c
power.c
proc.c
processor_core.c
processor_driver.c
processor_idle.c
processor_pdc.c
processor_perflib.c
processor_thermal.c
processor_throttling.c
property.c
reboot.c
resource.c
sbs.c ACPI / SBS: Enable battery manager when present 2015-04-29 00:04:29 +02:00
sbshc.c
sbshc.h
scan.c ACPI / scan: Add a scan handler for PRP0001 2015-04-24 02:18:01 +02:00
sleep.c
sleep.h
sysfs.c
tables.c
thermal.c
utils.c
video.c
video_detect.c
wakeup.c