Lv Zheng df45db6177 ACPI / EC: Add PM operations for suspend/resume noirq stage
It is reported that on some platforms, resume speed is not fast. The cause
is: in noirq stage, EC driver is working in polling mode, and each state
machine advancement requires a context switch.

The context switch is not necessary to the EC driver's polling mode. This
patch implements PM hooks to automatically switch the driver to/from the
busy polling mode to eliminate the overhead caused by the context switch.

This finally contributes to the tuning result: acpi_pm_finish() execution
time is improved from 192ms to 6ms.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Reported-and-tested-by: Todd E Brandt <todd.e.brandt@linux.intel.com>
[ rjw: Subject ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2016-08-17 02:37:02 +02:00
..
2016-07-26 18:48:23 -07:00
2015-07-08 02:27:32 +02:00
2016-04-27 23:42:57 +02:00
2016-04-27 23:42:57 +02:00
2015-07-08 02:27:32 +02:00
2016-01-04 22:10:30 +01:00
2015-07-08 02:27:32 +02:00
2015-07-08 02:27:32 +02:00
2016-03-09 23:23:21 +01:00
2015-11-07 01:30:10 +01:00
2015-07-08 02:27:32 +02:00
2016-08-02 17:12:29 -04:00
2015-09-01 03:38:43 +02:00
2015-09-01 15:52:35 +02:00
2016-07-27 11:35:37 -07:00
2016-07-19 12:32:39 -07:00