Thread (30 messages) 30 messages, 3 authors, 2015-07-13
STALE4022d

Re: [PATCH RFC v2 03/16] PM / Domains: Support IRQ safe PM domains

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2015-06-29 13:10:52
Also in: linux-arm-kernel

Sorry, I forgot a few comments...

On Sat, Jun 27, 2015 at 5:02 AM, Lina Iyer [off-list ref] wrote:
quoted hunk ↗ jump to hunk
--- a/Documentation/power/devices.txt
+++ b/Documentation/power/devices.txt
+context, may contain IRQ safe devices. Such domain may only contain only IRQ
Double "only".
+safe devices or IRQ safe sub-domains.
quoted hunk ↗ jump to hunk
@@ -532,15 +608,18 @@ static int pm_genpd_runtime_resume(struct device *dev)
        if (IS_ERR(genpd))
                return -EINVAL;

-       /* If power.irq_safe, the PM domain is never powered off. */
-       if (dev->power.irq_safe) {
+       /*
+        * As we dont power off a non IRQ safe domain, which holds a
Bogus "a" at the end.
+        * an IRQ safe device, we dont need to restore power to it.
+        */
Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help