Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[PATCH 00/07] pm: remove late/early platform driver pm callbacks V2

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


magnus.damm at gmail

Jun 24, 2009, 2:23 AM

Post #1 of 7 (132 views)
Permalink
[PATCH 00/07] pm: remove late/early platform driver pm callbacks V2

pm: remove late/early platform driver pm callbacks V2

[PATCH 01/07] arm: rework omap suspend_late()/resume_early()
[PATCH 02/07] dma: rework dw_dmac suspend_late()/resume_early()
[PATCH 03/07] dma: rework txx9dmac suspend_late()/resume_early()
[PATCH 04/07] i2c: rework i2c-pxa suspend_late()/resume_early()
[PATCH 05/07] i2c: rework i2c-s3c2410 suspend_late()/resume() V2
[PATCH 06/07] usb: rework musb suspend()/resume_early()
[PATCH 07/07] pm: remove platform device suspend_late()/resume_early() V2

These patches simply remove ->suspend_late() and ->resume_early()
from struct platform_driver. Drivers are converted to dev_pm_ops
with CONFIG_SUSPEND in mind. Untested.

All patches except [02/07] are known to compile.

Signed-off-by: Magnus Damm <damm[at]igel.co.jp>
---

Changes since V1:
- resolved conflicts in [05/07], rediffed [07/07]
- include lkml, linux-usb and akpm

arch/arm/plat-omap/debug-leds.c | 11 +++++++----
arch/arm/plat-omap/gpio.c | 14 ++++++++++----
drivers/base/platform.c | 36 ------------------------------------
drivers/dma/dw_dmac.c | 15 ++++++++++-----
drivers/dma/txx9dmac.c | 15 ++++++++++-----
drivers/i2c/busses/i2c-pxa.c | 25 +++++++++++++++++--------
drivers/i2c/busses/i2c-s3c2410.c | 25 ++++++++++++++++---------
drivers/usb/musb/musb_core.c | 18 ++++++++++++------
include/linux/platform_device.h | 2 --
9 files changed, 82 insertions(+), 79 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo[at]vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


rjw at sisk

Jun 24, 2009, 11:48 AM

Post #2 of 7 (122 views)
Permalink
Re: [PATCH 00/07] pm: remove late/early platform driver pm callbacks V2 [In reply to]

On Wednesday 24 June 2009, Magnus Damm wrote:
> pm: remove late/early platform driver pm callbacks V2
>
> [PATCH 01/07] arm: rework omap suspend_late()/resume_early()
> [PATCH 02/07] dma: rework dw_dmac suspend_late()/resume_early()
> [PATCH 03/07] dma: rework txx9dmac suspend_late()/resume_early()
> [PATCH 04/07] i2c: rework i2c-pxa suspend_late()/resume_early()
> [PATCH 05/07] i2c: rework i2c-s3c2410 suspend_late()/resume() V2
> [PATCH 06/07] usb: rework musb suspend()/resume_early()
> [PATCH 07/07] pm: remove platform device suspend_late()/resume_early() V2
>
> These patches simply remove ->suspend_late() and ->resume_early()
> from struct platform_driver. Drivers are converted to dev_pm_ops
> with CONFIG_SUSPEND in mind. Untested.
>
> All patches except [02/07] are known to compile.
>
> Signed-off-by: Magnus Damm <damm[at]igel.co.jp>

If no one objects, I'd like to take this series into the suspend-2.6 tree as
2.6.32 material. Greg?

Pavel, is your ACK for the entire series?

Best,
Rafael

> ---
>
> Changes since V1:
> - resolved conflicts in [05/07], rediffed [07/07]
> - include lkml, linux-usb and akpm
>
> arch/arm/plat-omap/debug-leds.c | 11 +++++++----
> arch/arm/plat-omap/gpio.c | 14 ++++++++++----
> drivers/base/platform.c | 36 ------------------------------------
> drivers/dma/dw_dmac.c | 15 ++++++++++-----
> drivers/dma/txx9dmac.c | 15 ++++++++++-----
> drivers/i2c/busses/i2c-pxa.c | 25 +++++++++++++++++--------
> drivers/i2c/busses/i2c-s3c2410.c | 25 ++++++++++++++++---------
> drivers/usb/musb/musb_core.c | 18 ++++++++++++------
> include/linux/platform_device.h | 2 --
> 9 files changed, 82 insertions(+), 79 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo[at]vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


pavel at ucw

Jun 24, 2009, 11:56 AM

Post #3 of 7 (122 views)
Permalink
Re: [PATCH 00/07] pm: remove late/early platform driver pm callbacks V2 [In reply to]

On Wed 2009-06-24 20:48:39, Rafael J. Wysocki wrote:
> On Wednesday 24 June 2009, Magnus Damm wrote:
> > pm: remove late/early platform driver pm callbacks V2
> >
> > [PATCH 01/07] arm: rework omap suspend_late()/resume_early()
> > [PATCH 02/07] dma: rework dw_dmac suspend_late()/resume_early()
> > [PATCH 03/07] dma: rework txx9dmac suspend_late()/resume_early()
> > [PATCH 04/07] i2c: rework i2c-pxa suspend_late()/resume_early()
> > [PATCH 05/07] i2c: rework i2c-s3c2410 suspend_late()/resume() V2
> > [PATCH 06/07] usb: rework musb suspend()/resume_early()
> > [PATCH 07/07] pm: remove platform device suspend_late()/resume_early() V2
> >
> > These patches simply remove ->suspend_late() and ->resume_early()
> > from struct platform_driver. Drivers are converted to dev_pm_ops
> > with CONFIG_SUSPEND in mind. Untested.
> >
> > All patches except [02/07] are known to compile.
> >
> > Signed-off-by: Magnus Damm <damm[at]igel.co.jp>
>
> If no one objects, I'd like to take this series into the suspend-2.6 tree as
> 2.6.32 material. Greg?
>
> Pavel, is your ACK for the entire series?

Well, I don't really understand stuff like dw_dmac.c, but it looks
basically okay to me. I guess ACK might be okay.

> > arch/arm/plat-omap/debug-leds.c | 11 +++++++----
> > arch/arm/plat-omap/gpio.c | 14 ++++++++++----
> > drivers/base/platform.c | 36 ------------------------------------
> > drivers/dma/dw_dmac.c | 15 ++++++++++-----
> > drivers/dma/txx9dmac.c | 15 ++++++++++-----
> > drivers/i2c/busses/i2c-pxa.c | 25 +++++++++++++++++--------
> > drivers/i2c/busses/i2c-s3c2410.c | 25 ++++++++++++++++---------
> > drivers/usb/musb/musb_core.c | 18 ++++++++++++------
> > include/linux/platform_device.h | 2 --
> > 9 files changed, 82 insertions(+), 79 deletions(-)

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo[at]vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


gregkh at suse

Jun 24, 2009, 1:33 PM

Post #4 of 7 (118 views)
Permalink
Re: [PATCH 00/07] pm: remove late/early platform driver pm callbacks V2 [In reply to]

On Wed, Jun 24, 2009 at 08:48:39PM +0200, Rafael J. Wysocki wrote:
> On Wednesday 24 June 2009, Magnus Damm wrote:
> > pm: remove late/early platform driver pm callbacks V2
> >
> > [PATCH 01/07] arm: rework omap suspend_late()/resume_early()
> > [PATCH 02/07] dma: rework dw_dmac suspend_late()/resume_early()
> > [PATCH 03/07] dma: rework txx9dmac suspend_late()/resume_early()
> > [PATCH 04/07] i2c: rework i2c-pxa suspend_late()/resume_early()
> > [PATCH 05/07] i2c: rework i2c-s3c2410 suspend_late()/resume() V2
> > [PATCH 06/07] usb: rework musb suspend()/resume_early()
> > [PATCH 07/07] pm: remove platform device suspend_late()/resume_early() V2
> >
> > These patches simply remove ->suspend_late() and ->resume_early()
> > from struct platform_driver. Drivers are converted to dev_pm_ops
> > with CONFIG_SUSPEND in mind. Untested.
> >
> > All patches except [02/07] are known to compile.
> >
> > Signed-off-by: Magnus Damm <damm[at]igel.co.jp>
>
> If no one objects, I'd like to take this series into the suspend-2.6 tree as
> 2.6.32 material. Greg?

Looks good to me, feel free to add an:
Acked-by: Greg Kroah-Hartman <gregkh[at]suse.de>
to the whole series.

thanks,

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


rjw at sisk

Jul 4, 2009, 4:45 PM

Post #5 of 7 (97 views)
Permalink
Re: [PATCH 00/07] pm: remove late/early platform driver pm callbacks V2 [In reply to]

On Wednesday 24 June 2009, Magnus Damm wrote:
> pm: remove late/early platform driver pm callbacks V2
>
> [PATCH 01/07] arm: rework omap suspend_late()/resume_early()
> [PATCH 02/07] dma: rework dw_dmac suspend_late()/resume_early()
> [PATCH 03/07] dma: rework txx9dmac suspend_late()/resume_early()
> [PATCH 04/07] i2c: rework i2c-pxa suspend_late()/resume_early()
> [PATCH 05/07] i2c: rework i2c-s3c2410 suspend_late()/resume() V2
> [PATCH 06/07] usb: rework musb suspend()/resume_early()
> [PATCH 07/07] pm: remove platform device suspend_late()/resume_early() V2
>
> These patches simply remove ->suspend_late() and ->resume_early()
> from struct platform_driver. Drivers are converted to dev_pm_ops
> with CONFIG_SUSPEND in mind. Untested.
>
> All patches except [02/07] are known to compile.
>
> Signed-off-by: Magnus Damm <damm[at]igel.co.jp>
> ---
>
> Changes since V1:
> - resolved conflicts in [05/07], rediffed [07/07]
> - include lkml, linux-usb and akpm
>
> arch/arm/plat-omap/debug-leds.c | 11 +++++++----
> arch/arm/plat-omap/gpio.c | 14 ++++++++++----
> drivers/base/platform.c | 36 ------------------------------------
> drivers/dma/dw_dmac.c | 15 ++++++++++-----
> drivers/dma/txx9dmac.c | 15 ++++++++++-----
> drivers/i2c/busses/i2c-pxa.c | 25 +++++++++++++++++--------
> drivers/i2c/busses/i2c-s3c2410.c | 25 ++++++++++++++++---------
> drivers/usb/musb/musb_core.c | 18 ++++++++++++------
> include/linux/platform_device.h | 2 --
> 9 files changed, 82 insertions(+), 79 deletions(-)

The series is now in the linux-next branch of the suspend-2.6 tree. I'll move
it into the for-linus branch, which is not rebased, if the patches are not
reported to cause any problems in the next few days.

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


dan.j.williams at intel

Sep 8, 2009, 6:25 PM

Post #6 of 7 (48 views)
Permalink
Re: [PATCH 00/07] pm: remove late/early platform driver pm callbacks V2 [In reply to]

2009/7/4 Rafael J. Wysocki <rjw[at]sisk.pl>:
> On Wednesday 24 June 2009, Magnus Damm wrote:
>> pm: remove late/early platform driver pm callbacks V2
>>
>> [PATCH 01/07] arm: rework omap suspend_late()/resume_early()
>> [PATCH 02/07] dma: rework dw_dmac suspend_late()/resume_early()
>> [PATCH 03/07] dma: rework txx9dmac suspend_late()/resume_early()
>> [PATCH 04/07] i2c: rework i2c-pxa suspend_late()/resume_early()
>> [PATCH 05/07] i2c: rework i2c-s3c2410 suspend_late()/resume() V2
>> [PATCH 06/07] usb: rework musb suspend()/resume_early()
>> [PATCH 07/07] pm: remove platform device suspend_late()/resume_early() V2
>>
>> These patches simply remove ->suspend_late() and ->resume_early()
>> from struct platform_driver. Drivers are converted to dev_pm_ops
>> with CONFIG_SUSPEND in mind. Untested.
>>
>> All patches except [02/07] are known to compile.
>>
>> Signed-off-by: Magnus Damm <damm[at]igel.co.jp>
[..]
>
> The series is now in the linux-next branch of the suspend-2.6 tree.  I'll move
> it into the for-linus branch, which is not rebased, if the patches are not
> reported to cause any problems in the next few days.
>

Hi,

My linux-next test builds for drivers/dma/ caught a missed conversion
of the at_hdmac driver. Please check the attached fix (compile tested
only) and include it in this series.

Thanks and regards,
Dan
Attachments: at-hdmac-rework-suspend.patch (2.07 KB)


rjw at sisk

Sep 9, 2009, 3:09 PM

Post #7 of 7 (46 views)
Permalink
Re: [PATCH 00/07] pm: remove late/early platform driver pm callbacks V2 [In reply to]

On Wednesday 09 September 2009, Dan Williams wrote:
> 2009/7/4 Rafael J. Wysocki <rjw[at]sisk.pl>:
> > On Wednesday 24 June 2009, Magnus Damm wrote:
> >> pm: remove late/early platform driver pm callbacks V2
> >>
> >> [PATCH 01/07] arm: rework omap suspend_late()/resume_early()
> >> [PATCH 02/07] dma: rework dw_dmac suspend_late()/resume_early()
> >> [PATCH 03/07] dma: rework txx9dmac suspend_late()/resume_early()
> >> [PATCH 04/07] i2c: rework i2c-pxa suspend_late()/resume_early()
> >> [PATCH 05/07] i2c: rework i2c-s3c2410 suspend_late()/resume() V2
> >> [PATCH 06/07] usb: rework musb suspend()/resume_early()
> >> [PATCH 07/07] pm: remove platform device suspend_late()/resume_early() V2
> >>
> >> These patches simply remove ->suspend_late() and ->resume_early()
> >> from struct platform_driver. Drivers are converted to dev_pm_ops
> >> with CONFIG_SUSPEND in mind. Untested.
> >>
> >> All patches except [02/07] are known to compile.
> >>
> >> Signed-off-by: Magnus Damm <damm[at]igel.co.jp>
> [..]
> >
> > The series is now in the linux-next branch of the suspend-2.6 tree. I'll move
> > it into the for-linus branch, which is not rebased, if the patches are not
> > reported to cause any problems in the next few days.
> >
>
> Hi,
>
> My linux-next test builds for drivers/dma/ caught a missed conversion
> of the at_hdmac driver. Please check the attached fix (compile tested
> only) and include it in this series.

Applied to suspend-2.6/linux-next, thanks.

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

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.