ACPI / EC: Fix an issue caused by the serialized _Qxx evaluations
authorLv Zheng <lv.zheng@intel.com>
Wed, 12 Aug 2015 03:12:02 +0000 (11:12 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 25 Aug 2015 01:19:32 +0000 (03:19 +0200)
commit02b771b64b73226052d6e731a0987db3b47281e9
tree586b46102d49c69206d448e07429859f0a7fd5c2
parentc13dcf9f2d6f5f06ef1bf79ec456df614c5e058b
ACPI / EC: Fix an issue caused by the serialized _Qxx evaluations

It is proven that Windows evaluates _Qxx handlers in a parallel way. This
patch follows this fact, splits _Qxx evaluations from the NOTIFY queue to
form a separate queue, so that _Qxx evaluations can be queued up on
different CPUs rather than being queued up on a CPU0 bound queue.
Event handling related callbacks are also renamed and sorted in this patch.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=94411
Reported-and-tested-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/ec.c