2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 01:34:00 +08:00
linux-next/drivers/acpi/dispatcher
Alexey Starikovskiy c0d127b569 ACPICA: fix AML mutex re-entrancy
ACPI AML supports "serialized" methods which are protected
by an implicit mutex.  The mutex is re-entrant for that AML thread
to allow recursion.

However, Linux implements notify() by creating a new AML thread.
So for systems where notify() re-enters a serialized method,
deadlock results.

The fix is to use the Linux thread_id as the key to allowing
re-entrancy, not the AML thread pointer.

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

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2007-02-15 16:13:16 -05:00
..
dsfield.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
dsinit.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
dsmethod.c ACPICA: fix AML mutex re-entrancy 2007-02-15 16:13:16 -05:00
dsmthdat.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
dsobject.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
dsopcode.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
dsutils.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
dswexec.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
dswload.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
dswscope.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
dswstate.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00