android_kernel_xiaomi_sm8350/drivers/acpi/executer
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
..
exconfig.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
exconvrt.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
excreate.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
exdump.c ACPICA: fix AML mutex re-entrancy 2007-02-15 16:13:16 -05:00
exfield.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
exfldio.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
exmisc.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
exmutex.c ACPICA: fix AML mutex re-entrancy 2007-02-15 16:13:16 -05:00
exnames.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
exoparg1.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
exoparg2.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
exoparg3.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
exoparg6.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
exprep.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
exregion.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
exresnte.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
exresolv.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
exresop.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
exstore.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
exstoren.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
exstorob.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
exsystem.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
exutils.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
Makefile