]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
PM / core: Split dpm_suspend_noirq() and dpm_resume_noirq()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 21 Jul 2017 00:09:22 +0000 (02:09 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 24 Jul 2017 21:53:45 +0000 (23:53 +0200)
commit786f41fb6b008ea4341355b99083a38853a5311d
treeb78ef4e35d24c11826d76963983a1f434de4e7e8
parent8e6bcd9f7eac47104ce6c5d82c554c9b244b38e1
PM / core: Split dpm_suspend_noirq() and dpm_resume_noirq()

Put the device interrupts disabling and enabling as well as
cpuidle_pause() and cpuidle_resume() called during the "noirq"
stages of system suspend into separate functions to allow the
core suspend-to-idle code to be optimized (later).

The only functional difference this makes is that debug facilities
and diagnostic tools will not include the above operations into the
"noirq" device suspend/resume duration measurements.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/main.c
include/linux/pm.h