All of lore.kernel.org
 help / color / mirror / Atom feed
* API for querying the resume cause [2]
@ 2015-11-03 21:29 Yan Pashkovsky
  2015-11-03 21:44 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Yan Pashkovsky @ 2015-11-03 21:29 UTC (permalink / raw)
  To: linux-pm

Hi everyone!

I was writing you on 21 of August 
(http://marc.info/?t=144007145600001&r=1&w=2)  about API for querying 
the resume cause. I was looking at the releases of linux kernel and 
discovered this:

"Finally, the PM core gets a new mechanism that can be used by
device drivers to distinguish between suspend-to-RAM (based on
platform firmware support) and suspend-to-idle (or other variants
of system suspend the platform firmware is not involved in) and
possibly optimize their device suspend/resume handling accordingly"
         http://lkml.iu.edu/hypermail/linux/kernel/1511.0/01164.html

Is it what we were discussing? If yes - that's fine, I'll contact 
systemd team. If no - is this API exists in someone's todo list or smth 
like this? Are there any plans for this?

Kind regards,
Yan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: API for querying the resume cause [2]
  2015-11-03 21:29 API for querying the resume cause [2] Yan Pashkovsky
@ 2015-11-03 21:44 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2015-11-03 21:44 UTC (permalink / raw)
  To: Yan Pashkovsky; +Cc: linux-pm@vger.kernel.org

Hi,

On Tue, Nov 3, 2015 at 10:29 PM, Yan Pashkovsky <yanpaso@gmail.com> wrote:
> Hi everyone!
>
> I was writing you on 21 of August
> (http://marc.info/?t=144007145600001&r=1&w=2)  about API for querying the
> resume cause. I was looking at the releases of linux kernel and discovered
> this:
>
> "Finally, the PM core gets a new mechanism that can be used by
> device drivers to distinguish between suspend-to-RAM (based on
> platform firmware support) and suspend-to-idle (or other variants
> of system suspend the platform firmware is not involved in) and
> possibly optimize their device suspend/resume handling accordingly"
>         http://lkml.iu.edu/hypermail/linux/kernel/1511.0/01164.html
>
> Is it what we were discussing? If yes - that's fine, I'll contact systemd
> team. If no - is this API exists in someone's todo list or smth like this?
> Are there any plans for this?

This is (a small) part of an API that may be used for this purpose
(and is there in someone's to-do list), but it's targeted at
debugging.

Thanks,
Rafael

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-03 21:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-03 21:29 API for querying the resume cause [2] Yan Pashkovsky
2015-11-03 21:44 ` Rafael J. Wysocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.