[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <572A10CE.20106@redhat.com>
Date: Wed, 04 May 2016 11:10:06 -0400
From: Prarit Bhargava <prarit@...hat.com>
To: Lv Zheng <lv.zheng@...el.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
Len Brown <len.brown@...el.com>
CC: Lv Zheng <zetalog@...il.com>, linux-kernel@...r.kernel.org,
linux-acpi@...r.kernel.org, Bob Moore <robert.moore@...el.com>,
Mario_Limonciello@...l.com, stable <stable@...r.kernel.org>
Subject: Re: [PATCH 08/15] ACPICA: Dispatcher: Update thread ID for recursive
method calls
On 05/04/2016 01:48 AM, Lv Zheng wrote:
> From: Prarit Bhargava <prarit@...hat.com>
>
> ACPICA commit 7a3bd2d962f221809f25ddb826c9e551b916eb25
>
> Set the mutex owner thread ID.
> Original patch from: Prarit Bhargava <prarit@...hat.com>
>
> Link: https://github.com/acpica/acpica/commit/7a3bd2d9
> Signed-off-by: Prarit Bhargava <prarit@...hat.com>
> Signed-off-by: Bob Moore <robert.moore@...el.com>
> Signed-off-by: Lv Zheng <lv.zheng@...el.com>
cc'ing Mario @ Dell and stable.
P.
> ---
> 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();
> }
> }
>
>
Powered by blists - more mailing lists