Re: [PATCH update 2x] PM: Introduce core framework for run-time PM of I/O devices (rev. 16)

From: Rafael J. Wysocki
Date: Fri Aug 14 2009 - 13:18:24 EST


On Friday 14 August 2009, Magnus Damm wrote:
> On Fri, Aug 14, 2009 at 5:56 AM, Rafael J. Wysocki<rjw@xxxxxxx> wrote:
> > From: Rafael J. Wysocki <rjw@xxxxxxx>
> > Subject: PM: Introduce core framework for run-time PM of I/O devices (rev. 16)
> >
> > Introduce a core framework for run-time power management of I/O
> > devices. Add device run-time PM fields to 'struct dev_pm_info'
> > and device run-time PM callbacks to 'struct dev_pm_ops'. Introduce
> > a run-time PM workqueue and define some device run-time PM helper
> > functions at the core level. Document all these things.
> >
> > Special thanks to Alan Stern for his help with the design and
> > multiple detailed reviews of the pereceding versions of this patch
> > and to Magnus Damm for testing feedback.
> >
> > Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>
>
> I've now tested v16 with my SuperH Mobile platform device Runtime PM
> implementation. All seems fine and my patches for patches for drivers
> such as i2c master, fbdev, v4l2 and uio behave as expected.
>
> Acked-by: Magnus Damm <damm@xxxxxxxxxx>
>
> The patch "PM: Runtime PM v15 - Platform Device Bus Support" works
> well with v16 and does not need any update.

Thanks for the ACK, but I have one more update to the patch. Namely, I've
decided to change the return value of the ->runtime_idle() callback to int
as a result of the recent discussion on the PCI runtime PM patch from Matthew.

I'll post the updated patch in a little while.

Thanks,
Rafael
--
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/