On 10/26/23 05:01, James Bottomley wrote:
Heh, well, I was going to say we should still point to the doc, but I simply can't find it, so the above is perhaps the best we can do, thanks!
I think this should be documented in the Documentation/power directory. After having taken another look at that directory, I see that there is only detailed documentation and no overview documentation. Maybe I overlooked something but I couldn't find an explanation of the system suspend/resume nor of the runtime power management concepts in that directory. My understanding is that system suspend/resume is about system-wide power state changes (hibernation and suspend-to-RAM) and also that runtime power management is about changing the power state of a single device or bus if no activity has happened within a certain time. Bart.