ACPICA: Ignore sync_level for methods that have been auto-serialized.
authorBob Moore <robert.moore@intel.com>
Mon, 24 Mar 2014 06:49:13 +0000 (14:49 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 26 Mar 2014 15:25:59 +0000 (16:25 +0100)
commitd18255795bf98b3f25dbc5334b8a615943c3dcca
tree8911d93a80fb03e95cb0d6eee793b085af09152b
parent21bd7e610ef75ef26387ed4667801080b5b7220a
ACPICA: Ignore sync_level for methods that have been auto-serialized.

Cannot use a sync_level for methods that have been serialized at load-time
or runtime because this may interfere with any existing use of sync_levels
within the ASL code. So, we simply ignore the sync_level for these methods,
thus preserving any existing sync_level priorities. Note, the use of
sync_levels is actually rather rare within BIOS ASL code.

References: http://www.spinics.net/lists/linux-acpi/msg49496.html
Reported-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Reported-by: Sabrina Dubroka <sd@queasysnail.net>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/acobject.h
drivers/acpi/acpica/dsmethod.c