mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
ACPICA: Add auto-serialization support for ill-behaved control methods.
This change adds support to automatically mark a control method as "serialized" if the method creates any named objects. This will positively prevent the method from being entered by more than one thread and thus preventing a possible abort when an attempt is made to create an object twice. Implemented by parsing all non-serialize control methods at table load time. This feature is disabled by default and this patch also adds a new Linux kernel parameter "acpi_auto_serialize" to allow this feature to be turned on for a specific boot. References: https://bugzilla.kernel.org/show_bug.cgi?id=52191 Signed-off-by: Bob Moore <[email protected]> Signed-off-by: Lv Zheng <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
e2b8ddcc6b
commit
22b5afce6a
13 changed files with 252 additions and 25 deletions
|
|
@ -229,6 +229,14 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
|
|||
use by PCI
|
||||
Format: <irq>,<irq>...
|
||||
|
||||
acpi_auto_serialize [HW,ACPI]
|
||||
Enable auto-serialization of AML methods
|
||||
AML control methods that contain the opcodes to create
|
||||
named objects will be marked as "Serialized" by the
|
||||
auto-serialization feature.
|
||||
This feature is disabled by default.
|
||||
This option allows to turn on the feature.
|
||||
|
||||
acpi_no_auto_ssdt [HW,ACPI] Disable automatic loading of SSDT
|
||||
|
||||
acpica_no_return_repair [HW, ACPI]
|
||||
|
|
|
|||
Loading…
Reference in a new issue