From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:42503 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750966AbbEBQzA (ORCPT ); Sat, 2 May 2015 12:55:00 -0400 Subject: Patch "ACPICA: Tables: Don't release ACPI_MTX_TABLES in acpi_tb_install_standard_table()." has been added to the 3.19-stable tree To: octavian.purdila@intel.com, gregkh@linuxfoundation.org, lv.zheng@intel.com, rafael.j.wysocki@intel.com, robert.moore@intel.com Cc: , From: Date: Sat, 02 May 2015 18:54:53 +0200 Message-ID: <1430585693129185@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled ACPICA: Tables: Don't release ACPI_MTX_TABLES in acpi_tb_install_standard_table(). to the 3.19-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: acpica-tables-don-t-release-acpi_mtx_tables-in-acpi_tb_install_standard_table.patch and it can be found in the queue-3.19 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From 77ddc2fe08329e375505bc36a3df3233fe57317b Mon Sep 17 00:00:00 2001 From: Octavian Purdila Date: Mon, 13 Apr 2015 11:49:05 +0800 Subject: ACPICA: Tables: Don't release ACPI_MTX_TABLES in acpi_tb_install_standard_table(). From: Octavian Purdila commit 77ddc2fe08329e375505bc36a3df3233fe57317b upstream. ACPICA commit c70434d4da13e65b6163c79a5aa16b40193631c7 ACPI_MTX_TABLES is acquired and released by the callers of acpi_tb_install_standard_table() so releasing it in the function itself is causing the following error in Linux kernel if the table is reloaded: ACPI Error: Mutex [0x2] is not acquired, cannot release (20141107/utmutex-321) Call Trace: [] dump_stack+0x4f/0x7b [] acpi_ut_release_mutex+0x47/0x67 [] acpi_load_table+0x73/0xcb Link: https://github.com/acpica/acpica/commit/c70434d4 Signed-off-by: Octavian Purdila Signed-off-by: Lv Zheng Signed-off-by: Bob Moore Signed-off-by: Rafael J. Wysocki Signed-off-by: Greg Kroah-Hartman --- drivers/acpi/acpica/tbinstal.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/acpi/acpica/tbinstal.c +++ b/drivers/acpi/acpica/tbinstal.c @@ -346,7 +346,6 @@ acpi_tb_install_standard_table(acpi_phys */ acpi_tb_uninstall_table(&new_table_desc); *table_index = i; - (void)acpi_ut_release_mutex(ACPI_MTX_TABLES); return_ACPI_STATUS(AE_OK); } } Patches currently in stable-queue which might be from octavian.purdila@intel.com are queue-3.19/acpica-tables-don-t-release-acpi_mtx_tables-in-acpi_tb_install_standard_table.patch