diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-04-01 16:09:26 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-04-01 16:09:26 -0400 |
commit | 08476907abf25315acb4c9a72a0e78bf61456696 (patch) | |
tree | 2f1c0f34771029458813c3015ef9b02b7333dfde /drivers/acpi/osl.c | |
parent | 0ecfe310f4517d7505599be738158087c165be7c (diff) | |
parent | 08e1d7c0290aaef6bc6d68be8df753ffec02a6ae (diff) |
Merge branch 'acpica'
* acpica:
ACPICA: Enable auto-serialization as a default kernel behavior.
ACPICA: Ignore sync_level for methods that have been auto-serialized.
ACPICA: Add additional named objects for the auto-serialize method scan.
ACPICA: Add auto-serialization support for ill-behaved control methods.
ACPICA: Remove global option to serialize all control methods.
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r-- | drivers/acpi/osl.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 27f84af4e337..f7fd72ac69cf 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -1537,17 +1537,21 @@ static int __init osi_setup(char *str) | |||
1537 | 1537 | ||
1538 | __setup("acpi_osi=", osi_setup); | 1538 | __setup("acpi_osi=", osi_setup); |
1539 | 1539 | ||
1540 | /* enable serialization to combat AE_ALREADY_EXISTS errors */ | 1540 | /* |
1541 | static int __init acpi_serialize_setup(char *str) | 1541 | * Disable the auto-serialization of named objects creation methods. |
1542 | * | ||
1543 | * This feature is enabled by default. It marks the AML control methods | ||
1544 | * that contain the opcodes to create named objects as "Serialized". | ||
1545 | */ | ||
1546 | static int __init acpi_no_auto_serialize_setup(char *str) | ||
1542 | { | 1547 | { |
1543 | printk(KERN_INFO PREFIX "serialize enabled\n"); | 1548 | acpi_gbl_auto_serialize_methods = FALSE; |
1544 | 1549 | pr_info("ACPI: auto-serialization disabled\n"); | |
1545 | acpi_gbl_all_methods_serialized = TRUE; | ||
1546 | 1550 | ||
1547 | return 1; | 1551 | return 1; |
1548 | } | 1552 | } |
1549 | 1553 | ||
1550 | __setup("acpi_serialize", acpi_serialize_setup); | 1554 | __setup("acpi_no_auto_serialize", acpi_no_auto_serialize_setup); |
1551 | 1555 | ||
1552 | /* Check of resource interference between native drivers and ACPI | 1556 | /* Check of resource interference between native drivers and ACPI |
1553 | * OperationRegions (SystemIO and System Memory only). | 1557 | * OperationRegions (SystemIO and System Memory only). |