Skip to content

Commit d302830

Browse files
Lv Zhengrafaeljw
authored andcommitted
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>
1 parent 39a2a2a commit d302830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/acpi/ec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ static unsigned int ec_storm_threshold __read_mostly = 8;
146146
module_param(ec_storm_threshold, uint, 0644);
147147
MODULE_PARM_DESC(ec_storm_threshold, "Maxim false GPE numbers not considered as GPE storm");
148148

149-
static bool ec_freeze_events __read_mostly = false;
149+
static bool ec_freeze_events __read_mostly = true;
150150
module_param(ec_freeze_events, bool, 0644);
151151
MODULE_PARM_DESC(ec_freeze_events, "Disabling event handling during suspend/resume");
152152

0 commit comments

Comments
 (0)