Skip to contentSkip to conversation

extend linux pm proposal

DISCUSSION Michael Trimarchi 1 participant 2 messages Apr 3, 2009

lore
Share & tools
lore
#0 lore raw

Hi all,

I would like to exetend the pm api, adding the possibilty to remove a device to the pm_list, with
its child, so it is possible to select the devices to suspend. I take a look at the struct
and I don't find the child list pointers, but only the parent. This possiblity can be usefull in cases that the system go to suspend but the hardware needs some devices used by onother subsystem.
So adding a tree view of the dependences can give the possibility to remove from suspend list
a entire subtree.

device A < device_pm_remove call by user space remove the C and D device
|
\--------device C
|
\--------device D

Regards Michael

#1 lore raw

Hi,

Quoted 10 lines · Michael Trimarchi

Hi all,

I would like to exetend the pm api, adding the possibilty to remove a device to the pm_list, with
its child, so it is possible to select the devices to suspend. I take a look at the struct
and I don't find the child list pointers, but only the parent. This possiblity can be usefull in cases that the system go to suspend but the hardware needs some devices used by onother subsystem.

Sorry I find howto move throw the child.

Quoted 4 lines

So adding a tree view of the dependences can give the possibility to remove from suspend list
a entire subtree.

Quoted 8 lines

device A < device_pm_remove call by user space remove the C and D device
|
\--------device C
|
\--------device D

Regards Michael

Michael

Quoted 6 lines

_______________________________________________
linux-pm mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/linux-pm