diff options
author | 2016-08-03 09:07:58 +0800 | |
---|---|---|
committer | 2016-08-17 02:37:02 +0200 | |
commit | df45db6177f8dde380d44149cca46ad800a00575 (patch) | |
tree | cb42fc57f30847b2b38b19e3790e50ff140f5592 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 4.8-rc2 (diff) | |
download | wireguard-linux-df45db6177f8dde380d44149cca46ad800a00575.tar.xz wireguard-linux-df45db6177f8dde380d44149cca46ad800a00575.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions