ACPI / EC: Enable event freeze mode to improve event handling for suspend process
authorLv Zheng <lv.zheng@intel.com>
Wed, 3 Aug 2016 08:01:50 +0000 (16:01 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 30 Aug 2016 22:32:11 +0000 (00:32 +0200)
commitd30283057ecdf8c543ae757ae34db3d7fd2d7732
treec3613f2e69266cf82080aa0bc70c4f08b4eebb64
parent39a2a2aa3e9e5538984e9130c92a6c889ad86435
ACPI / EC: Enable event freeze mode to improve event handling for suspend process

This patch enables the event freeze mode, flushing the EC event handling in
.suspend() callback. This feature is experimental, if it is bisected out to
be the cause of the real issues, please report the issues to the kernel
bugzilla for further root causing and improvement.

This mode eliminates useless _Qxx handling during the power saving
operations, thus can help to tune the power saving operations faster. Tests
show that this mode can efficiently block flooding _Qxx during the suspend
process and tune the speed of the suspend faster.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Tested-by: Todd E Brandt <todd.e.brandt@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/ec.c