]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / EC: Use busy polling mode when GPE is not enabled
authorLv Zheng <lv.zheng@intel.com>
Fri, 20 Jan 2017 08:42:48 +0000 (16:42 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 30 Jan 2017 11:12:52 +0000 (12:12 +0100)
commit891edfe6adfda8df69c993af95c11c9f11315567
treefd6a1a2545ada67bb777a9663947e340212abb9a
parentaf071b862470edbf7f8a65d7dc86c0f4da440176
ACPI / EC: Use busy polling mode when GPE is not enabled

When GPE is not enabled, it is not efficient to use the wait polling mode
as it introduces an unexpected scheduler delay.
So before the GPE handler is installed, this patch uses busy polling mode
for all EC(s) and the logic can be applied to non boot EC(s) during the
suspend/resume process.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=191561
Tested-by: Jakobus Schurz <jakobus.schurz@gmail.com>
Tested-by: Chen Yu <yu.c.chen@intel.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
drivers/acpi/internal.h