diff options
author | Lv Zheng <lv.zheng@intel.com> | 2016-08-03 16:01:50 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-08-31 00:32:11 +0200 |
commit | d30283057ecdf8c543ae757ae34db3d7fd2d7732 (patch) | |
tree | c3613f2e69266cf82080aa0bc70c4f08b4eebb64 /drivers/acpi/ec.c | |
parent | 39a2a2aa3e9e5538984e9130c92a6c889ad86435 (diff) | |
download | linux-stable-d30283057ecdf8c543ae757ae34db3d7fd2d7732.tar.gz linux-stable-d30283057ecdf8c543ae757ae34db3d7fd2d7732.tar.bz2 linux-stable-d30283057ecdf8c543ae757ae34db3d7fd2d7732.zip |
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>
Diffstat (limited to 'drivers/acpi/ec.c')
-rw-r--r-- | drivers/acpi/ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 2bec709eb4e5..1925589ecf66 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c @@ -146,7 +146,7 @@ static unsigned int ec_storm_threshold __read_mostly = 8; module_param(ec_storm_threshold, uint, 0644); MODULE_PARM_DESC(ec_storm_threshold, "Maxim false GPE numbers not considered as GPE storm"); -static bool ec_freeze_events __read_mostly = false; +static bool ec_freeze_events __read_mostly = true; module_param(ec_freeze_events, bool, 0644); MODULE_PARM_DESC(ec_freeze_events, "Disabling event handling during suspend/resume"); |