On Mon, Mar 14, 2022 at 12:03:35AM -0500, Mario Limonciello wrote: > Currenty the latest thing run during a suspend to idle attempt is > the LPS0 `prepare_late` callback and the earliest thing is the > `resume_early` callback. > > There is a desire for the `amd-pmc` driver to suspend later in the > suspend process (ideally the very last thing), so create a callback > that it or any other driver can hook into to do this. I'm wondering if this can be solved with much less code by either using device links (a device link to amd-pmc from everything that needs to be suspended before it), or with a notifier chain? Thanks, Lukas