Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1393967

[PATCH 08/15] ACPICA: Dispatcher: Update thread ID for recursive method calls

From Lv Zheng <lv.zheng@intel.com>
Newsgroups linux.kernel
Subject [PATCH 08/15] ACPICA: Dispatcher: Update thread ID for recursive method calls
Date 2016-05-04 07:50 +0200
Message-ID <ruXRa-6ki-29@gated-at.bofh.it> (permalink)
References <ruXR7-6ki-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Prarit Bhargava <prarit@redhat.com>

ACPICA commit 7a3bd2d962f221809f25ddb826c9e551b916eb25

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

Link: https://github.com/acpica/acpica/commit/7a3bd2d9
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
---
 drivers/acpi/acpica/dsmethod.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/acpi/acpica/dsmethod.c b/drivers/acpi/acpica/dsmethod.c
index ddfec05..47c7b52 100644
--- a/drivers/acpi/acpica/dsmethod.c
+++ b/drivers/acpi/acpica/dsmethod.c
@@ -428,6 +428,9 @@ acpi_ds_begin_method_execution(struct acpi_namespace_node *method_node,
 				obj_desc->method.mutex->mutex.
 				    original_sync_level =
 				    obj_desc->method.mutex->mutex.sync_level;
+
+				obj_desc->method.mutex->mutex.thread_id =
+				    acpi_os_get_thread_id();
 			}
 		}
 
-- 
1.7.10

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/15] ACPICA: 20160422 Release Lv Zheng <lv.zheng@intel.com> - 2016-05-04 07:50 +0200
  [PATCH 07/15] ACPICA: Renamed some #defined flag constants for clarity Lv Zheng <lv.zheng@intel.com> - 2016-05-04 07:50 +0200
  [PATCH 08/15] ACPICA: Dispatcher: Update thread ID for recursive method calls Lv Zheng <lv.zheng@intel.com> - 2016-05-04 07:50 +0200
    Re: [PATCH 08/15] ACPICA: Dispatcher: Update thread ID for recursive  method calls Prarit Bhargava <prarit@redhat.com> - 2016-05-04 17:20 +0200
      Re: [PATCH 08/15] ACPICA: Dispatcher: Update thread ID for recursive  method calls "Rafael J. Wysocki" <rafael@kernel.org> - 2016-05-04 21:30 +0200
        RE: [PATCH 08/15] ACPICA: Dispatcher: Update thread ID for recursive  method calls <Mario_Limonciello@Dell.com> - 2016-05-04 22:40 +0200
          Re: [PATCH 08/15] ACPICA: Dispatcher: Update thread ID for recursive  method calls "Rafael J. Wysocki" <rafael@kernel.org> - 2016-05-04 22:50 +0200
  [PATCH 05/15] ACPICA: ACPI 6.0: Update _BIX support for new package element Lv Zheng <lv.zheng@intel.com> - 2016-05-04 07:50 +0200
  [PATCH 09/15] ACPICA: Utilities: Add ACPI_IS_ALIGNED() macro Lv Zheng <lv.zheng@intel.com> - 2016-05-04 07:50 +0200
  [PATCH 01/15] ACPICA: Linuxize: reduce divergences for 20160422 release Lv Zheng <lv.zheng@intel.com> - 2016-05-04 07:50 +0200
    Re: [PATCH 01/15] ACPICA: Linuxize: reduce divergences for 20160422 release "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-05-04 23:40 +0200
      Re: [PATCH 01/15] ACPICA: Linuxize: reduce divergences for 20160422 release "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-05-04 23:40 +0200
        RE: [PATCH 01/15] ACPICA: Linuxize: reduce divergences for 20160422  release "Zheng, Lv" <lv.zheng@intel.com> - 2016-05-05 04:20 +0200
      RE: [PATCH 01/15] ACPICA: Linuxize: reduce divergences for 20160422  release "Zheng, Lv" <lv.zheng@intel.com> - 2016-05-05 04:20 +0200
  [PATCH 10/15] ACPICA: Hardware: Add optimized access bit width support Lv Zheng <lv.zheng@intel.com> - 2016-05-04 07:50 +0200
  [PATCH 15/15] ACPICA: Update version to 20160422 Lv Zheng <lv.zheng@intel.com> - 2016-05-04 08:00 +0200
  [PATCH 06/15] ACPICA: ACPI 6.0, tools/iasl: Add support for new resource descriptors Lv Zheng <lv.zheng@intel.com> - 2016-05-04 08:00 +0200
  [PATCH v2 10/13] ACPICA: ACPI 2.0, Hardware: Add access_width/bit_offset support in acpi_hw_read() Lv Zheng <lv.zheng@intel.com> - 2016-05-05 07:00 +0200
  [PATCH v2 04/13] ACPICA: ACPI 6.0: Update _BIX support for new package element Lv Zheng <lv.zheng@intel.com> - 2016-05-05 07:00 +0200
  [PATCH v2 07/13] ACPICA: Utilities: Add ACPI_IS_ALIGNED() macro Lv Zheng <lv.zheng@intel.com> - 2016-05-05 07:00 +0200
  [PATCH v2 02/13] ACPICA: Refactor evaluate_object to reduce nesting Lv Zheng <lv.zheng@intel.com> - 2016-05-05 07:00 +0200
  [PATCH v2 06/13] ACPICA: Renamed some #defined flag constants for clarity Lv Zheng <lv.zheng@intel.com> - 2016-05-05 07:00 +0200
  [PATCH v2 09/13] ACPICA: Executer: Introduce a set of macros to handle bit width mask generation Lv Zheng <lv.zheng@intel.com> - 2016-05-05 07:00 +0200
  [PATCH v2 00/13] ACPICA: 20160422 Release Lv Zheng <lv.zheng@intel.com> - 2016-05-05 07:00 +0200
    [PATCH v2 05/13] ACPICA: ACPI 6.0, tools/iasl: Add support for new resource descriptors Lv Zheng <lv.zheng@intel.com> - 2016-05-05 07:00 +0200
    [PATCH v2 08/13] ACPICA: Hardware: Add optimized access bit width support Lv Zheng <lv.zheng@intel.com> - 2016-05-05 07:00 +0200
    [PATCH v2 03/13] ACPICA: ACPI 6.1: Support for new PCCT subtable Lv Zheng <lv.zheng@intel.com> - 2016-05-05 07:10 +0200
    [PATCH v2 13/13] ACPICA: Update version to 20160422 Lv Zheng <lv.zheng@intel.com> - 2016-05-05 07:10 +0200
    [PATCH v2 11/13] ACPICA: ACPI 2.0, Hardware: Add access_width/bit_offset support for acpi_hw_write() Lv Zheng <lv.zheng@intel.com> - 2016-05-05 07:10 +0200
    [PATCH v2 12/13] ACPICA: Move all ASCII utilities to a common file Lv Zheng <lv.zheng@intel.com> - 2016-05-05 07:10 +0200
    Re: [PATCH v2 00/13] ACPICA: 20160422 Release "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-05-06 01:50 +0200

csiph-web