[PATCH v2 0/2] ACPI / EC: Tune suspend/resume speed using PM operations

From: Lv Zheng
Date: Fri Jul 29 2016 - 06:05:51 EST


There are 2 improvements can be done to the EC driver to make system
suspend/resume faster:
1. Automatically use busy polling mode when noirq is entered
2. Disallow event handling (SCI_EVT/_Qxx) during suspend/resume period

This patchset achieves such performance tuning on top of a recent
workaround that creates ec_query_wq.

Lv Zheng (2):
ACPI / EC: Add PM operations to tune polling mode efficiency
ACPI / EC: Add PM operations to block event handling

drivers/acpi/ec.c | 199 ++++++++++++++++++++++++++++++++++++-----------
drivers/acpi/internal.h | 3 +-
drivers/acpi/sleep.c | 4 +-
3 files changed, 158 insertions(+), 48 deletions(-)

--
1.7.10