Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1281400 > unrolled thread

Re: [PATCH v3] PM / sleep: prohibit devices probing during suspend/hibernation

Started by"Rafael J. Wysocki" <rjw@rjwysocki.net>
First post2015-12-02 02:50 +0100
Last post2015-12-02 02:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v3] PM / sleep: prohibit devices probing during suspend/hibernation "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-12-02 02:50 +0100

#1281400 — Re: [PATCH v3] PM / sleep: prohibit devices probing during suspend/hibernation

From"Rafael J. Wysocki" <rjw@rjwysocki.net>
Date2015-12-02 02:50 +0100
SubjectRe: [PATCH v3] PM / sleep: prohibit devices probing during suspend/hibernation
Message-ID<qB4Iq-BW-11@gated-at.bofh.it>
On Tuesday, November 10, 2015 11:42:34 AM Grygorii Strashko wrote:
> It is unsafe [1] if probing of devices will happen during suspend or
> hibernation and system behavior will be unpredictable in this case.
> So, let's prohibit device's probing in dpm_prepare() and defer their
> probing instead. The normal behavior will be restored in
> dpm_complete().
> 
> This patch introduces new DD core APIs:
>  device_block_probing()
>    It will disable probing of devices and defer their probes instead.
>  device_unblock_probing()
>    It will restore normal behavior and trigger re-probing of deferred
>    devices.
> 
> [1] https://lkml.org/lkml/2015/9/11/554
> Cc: Alan Stern <stern@rowland.harvard.edu>
> Cc: Rafael J. Wysocki <rjw@rjwysocki.net>
> Cc: Thierry Reding <thierry.reding@gmail.com>
> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>

Patch queued up for v4.5, thanks!

Rafael

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web