]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PM / sleep: Add flags to indicate platform firmware involvement
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 6 Oct 2015 22:49:34 +0000 (00:49 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Oct 2015 00:17:33 +0000 (02:17 +0200)
commitef25ba0476015908ef5960f9faac149ddf34ede0
tree00f955d56fc042f68954edaffd456dfe4ce26ad4
parentc2df86ea924a8548f54ce90e46fdd6c9495119b2
PM / sleep: Add flags to indicate platform firmware involvement

There are quite a few cases in which device drivers, bus types or
even the PM core itself may benefit from knowing whether or not
the platform firmware will be involved in the upcoming system power
transition (during system suspend) or whether or not it was involved
in it (during system resume).

For this reason, introduce global system suspend flags that can be
used by the platform code to expose that information for the benefit
of the other parts of the kernel and make the ACPI core set them
as appropriate.

Users of the new flags will be added later.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/sleep.c
include/linux/suspend.h
kernel/power/suspend.c