linux/include/acpi
Zhang Rui 19cd847ab2 ACPI: fix hotplug race
The hotplug notification handler and drivers' notification handler all
run in one workqueue.  Before hotplug removes an acpi device, the
device driver's notification handler is already be recorded to run just
after global notification handler.  After hotplug notification handler
runs, acpica will notice a NULL notification handler and crash.

So now we run run hotplug in another workqueue and wait
for all acpi notication handlers finish.
This was found in battery hotplug, but actually all
hotplug can be affected.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-09-23 23:12:38 -04:00
..
platform ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acconfig.h ACPICA: Update version to 20080609 2008-07-16 23:27:04 +02:00
acdebug.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acdisasm.h ACPICA: Update disassembler for DMAR table changes 2008-07-16 23:27:04 +02:00
acdispat.h ACPICA: Eliminate acpi_native_uint type v2 2008-07-16 23:27:03 +02:00
acevents.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acexcep.h ACPICA: Fix possible negative array index in acpi_ut_validate_exception 2008-07-16 23:27:03 +02:00
acglobal.h ACPICA: Eliminate acpi_native_uint type v2 2008-07-16 23:27:03 +02:00
achware.h ACPI: Enhance /sys/firmware/interrupts to allow enable/disable/clear from user-space 2008-07-16 23:27:04 +02:00
acinterp.h ACPICA: Cleanup debug operand dump mechanism 2008-07-16 23:27:04 +02:00
aclocal.h ACPICA: Add const qualifier for appropriate string constants 2008-07-16 23:27:04 +02:00
acmacros.h ACPICA: Cleanup debug operand dump mechanism 2008-07-16 23:27:04 +02:00
acnames.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acnamesp.h ACPICA: Additional error checking for pathname utilities 2008-08-15 02:12:16 +02:00
acobject.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acopcode.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acoutput.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acparser.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acpi_bus.h ACPI: introduce notifier change to avoid duplicates 2008-09-23 23:04:43 -04:00
acpi_drivers.h ACPI: Introduce acpi_device_sleep_wake function 2008-07-07 16:25:57 -07:00
acpi_numa.h ACPI: misc cleanups 2008-02-07 03:33:23 -05:00
acpi.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acpiosxf.h ACPI: fix hotplug race 2008-09-23 23:12:38 -04:00
acpixf.h ACPI: Enhance /sys/firmware/interrupts to allow enable/disable/clear from user-space 2008-07-16 23:27:04 +02:00
acresrc.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acstruct.h ACPICA: Eliminate acpi_native_uint type v2 2008-07-16 23:27:03 +02:00
actables.h ACPICA: Eliminate acpi_native_uint type v2 2008-07-16 23:27:03 +02:00
actbl1.h ACPICA: Update disassembler for DMAR table changes 2008-07-16 23:27:04 +02:00
actbl.h PCI: disable ASPM per ACPI FADT setting 2008-07-28 14:56:09 -07:00
actypes.h ACPICA: Eliminate acpi_native_uint type v2 2008-07-16 23:27:03 +02:00
acutils.h ACPICA: Add const qualifier for appropriate string constants 2008-07-16 23:27:04 +02:00
amlcode.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
amlresrc.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
container.h [ACPI] Lindent all ACPI files 2005-08-05 00:45:14 -04:00
pdc_intel.h ACPI: Processor native C-states using MWAIT 2006-10-14 00:35:39 -04:00
processor.h ACPI: change processors from array to per_cpu variable 2008-07-16 23:27:01 +02:00
reboot.h Add the ability to reset the machine using the RESET_REG in ACPI's FADT table. 2008-07-16 23:27:08 +02:00