Patch "ACPICA: Tables: Fix an issue that FACS initialization is performed twice" has been added to the 3.10-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
ACPICA: Tables: Fix an issue that FACS initialization is performed twice
to the 3.10-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-fix-an-issue-that-facs-initialization-is-performed-twice.patch
and it can be found in the queue-3.10 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
c04be18448355441a0c424362df65b6422e27bdaMon Sep 17 00:00:00 2001
From: Lv Zheng <[email protected]>
Date: Wed, 1 Jul 2015 14:43:26 +0800
Subject: ACPICA: Tables: Fix an issue that FACS initialization is performed twice
From: Lv Zheng <[email protected]>
commit c04be18448355441a0c424362df65b6422e27bda upstream.
ACPICA commit 90f5332a15e9d9ba83831ca700b2b9f708274658
This patch adds a new FACS initialization flag for acpi_tb_initialize(). acpi_enable_subsystem() might be invoked several times in OS bootup process, and we don't want FACS initialization to be invoked twice. Lv Zheng.
--- drivers/acpi/acpica/utxfinit.c | 10 ++++++---- include/acpi/actypes.h | 1 + 2 files changed, 7 insertions(+), 4 deletions(-)
drivers/acpi/acpica/utxfinit.c +6 -4
@@ -165,10 +165,12 @@ acpi_status acpi_enable_subsystem(u32 fl* Obtain a permanent mapping for the FACS. This is required for the * Global Lock and the Firmware Waking Vector */ - status =acpi_tb_initialize_facs (); -if (ACPI_FAILURE (status)) { -ACPI_WARNING ((AE_INFO ,"Could not map the FACS table" )); -return_ACPI_STATUS (status); +if (!(flags &ACPI_NO_FACS_INIT )) { + status =acpi_tb_initialize_facs (); +if (ACPI_FAILURE (status)) { +ACPI_WARNING ((AE_INFO ,"Could not map the FACS table" )); +return_ACPI_STATUS (status); + } }#endif /* !ACPI_REDUCED_HARDWARE */
include/acpi/actypes.h +1 -0
@@ -511,6 +511,7 @@ typedef u64 acpi_integer;#define ACPI_NO_ACPI_ENABLE 0x10#define ACPI_NO_DEVICE_INIT 0x20#define ACPI_NO_OBJECT_INIT 0x40 +#define ACPI_NO_FACS_INIT 0x80/* * Initialization state
Patches currently in stable-queue which might be from [email protected] are
queue-3.10/acpica-tables-fix-an-issue-that-facs-initialization-is-performed-twice.patch