Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPICA: Dispatcher: Update thread ID for recursive method calls

ACPICA commit 7a3bd2d962f221809f25ddb826c9e551b916eb25

Set the mutex owner thread ID.
Original patch from: Prarit Bhargava <prarit@redhat.com>

Link: https://bugzilla.kernel.org/show_bug.cgi?id=115121
Link: https://github.com/acpica/acpica/commit/7a3bd2d9
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Tested-by: Andy Lutomirski <luto@kernel.org> # On a Dell XPS 13 9350
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Prarit Bhargava and committed by
Rafael J. Wysocki
93d68841 04974df8

+3
+3
drivers/acpi/acpica/dsmethod.c
··· 428 428 obj_desc->method.mutex->mutex. 429 429 original_sync_level = 430 430 obj_desc->method.mutex->mutex.sync_level; 431 + 432 + obj_desc->method.mutex->mutex.thread_id = 433 + acpi_os_get_thread_id(); 431 434 } 432 435 } 433 436