• Rafael J. Wysocki's avatar
    PM / sleep: Add flags to indicate platform firmware involvement · ef25ba04
    Rafael J. Wysocki authored
    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: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    ef25ba04
suspend.c 13.3 KB