Re: Power parents

From: Alan Stern
Date: Fri Oct 08 2004 - 09:10:36 EST


On Fri, 8 Oct 2004, Benjamin Herrenschmidt wrote:

> > I see that the power tree agrees pretty much with the device tree, but
> > there is the possibility of having a different parent pointer. However
> > the device_pm_set_parent() routine isn't called anywhere in the kernel.
> > Does that mean it can be eliminated, making the two trees identical?
>
> Currently the trees are identical yes. I may still want to "insert"
> special nodes in the Power tree though...

My reason for asking is because having special parent pointers like that,
without corresponding children pointers, makes it impossible to guarantee
that parents aren't suspended until after their children when doing a
selective suspend.

What sort of special nodes are you thinking of inserting, and how would
they affect selective suspend?

Alan Stern

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