android_kernel_xiaomi_sm8350/drivers/acpi/utilities
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
..
Makefile [ACPI] ACPICA 20051102 2005-12-10 00:26:05 -05:00
utalloc.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
utcache.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
utcopy.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
utdebug.c ACPICA: fix gcc build warnings 2007-02-02 23:08:40 -05:00
utdelete.c ACPICA: fix AML mutex re-entrancy 2007-02-15 16:13:16 -05:00
uteval.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
utglobal.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
utinit.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
utmath.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
utmisc.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
utmutex.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
utobject.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
utresrc.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
utstate.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
utxface.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00