Skip to content

Remove sysdev suspend/resume and shutdown operations

Rafael J. Wysocki linux-arm-kernel linux-omap linux-pm linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14PM: Fix error code paths executed after failing syscore_suspend()kernel/power/hibernate.c kernel/power/suspend.c+12 -30 replies
1/14PM: Fix error code paths executed after failing syscore_suspend()kernel/power/hibernate.c kernel/power/suspend.c+12 -30 replies
2/14PM: Add missing syscore_suspend() and syscore_resume() callsarch/x86/kernel/apm_32.c drivers/xen/manage.c kernel/kexec.c+20 -12 replies
2/14PM: Add missing syscore_suspend() and syscore_resume() callsarch/x86/kernel/apm_32.c drivers/xen/manage.c kernel/kexec.c+20 -10 replies
3/14ARM: Use struct syscore_ops instead of sysdevs for PM in common codearch/arm/common/vic.c arch/arm/include/asm/mach/time.h arch/arm/kernel/leds.c +2 more+58 -940 replies
3/14ARM: Use struct syscore_ops instead of sysdevs for PM in common codearch/arm/common/vic.c arch/arm/include/asm/mach/time.h arch/arm/kernel/leds.c +2 more+58 -940 replies
4/14ARM / OMAP: Use struct syscore_ops for "core" power managementarch/arm/plat-omap/gpio.c+9 -260 replies
4/14ARM / OMAP: Use struct syscore_ops for "core" power managementarch/arm/plat-omap/gpio.c+9 -260 replies
5/14ARM / Integrator: Use struct syscore_ops for core PMarch/arm/mach-integrator/integrator_ap.c+9 -170 replies
5/14ARM / Integrator: Use struct syscore_ops for core PMarch/arm/mach-integrator/integrator_ap.c+9 -170 replies
6/14ARM / SA1100: Use struct syscore_ops for "core" power managementarch/arm/mach-sa1100/irq.c+6 -130 replies
6/14ARM / SA1100: Use struct syscore_ops for "core" power managementarch/arm/mach-sa1100/irq.c+6 -130 replies
7/14ARM / PXA: Use struct syscore_ops for "core" power managementarch/arm/mach-pxa/balloon3.c arch/arm/mach-pxa/clock-pxa2xx.c arch/arm/mach-pxa/clock-pxa3xx.c +28 more+110 -3070 replies
7/14ARM / PXA: Use struct syscore_ops for "core" power managementarch/arm/mach-pxa/balloon3.c arch/arm/mach-pxa/clock-pxa2xx.c arch/arm/mach-pxa/clock-pxa3xx.c +28 more+110 -3070 replies
8/14ARM / Samsung: Use struct syscore_ops for "core" power managementarch/arm/mach-exynos4/pm.c arch/arm/mach-s3c2410/irq.c arch/arm/mach-s3c2410/mach-bast.c +21 more+203 -2282 replies
8/14ARM / Samsung: Use struct syscore_ops for "core" power managementarch/arm/mach-exynos4/pm.c arch/arm/mach-s3c2410/irq.c arch/arm/mach-s3c2410/mach-bast.c +21 more+203 -2280 replies
8/14ARM / Samsung: Use struct syscore_ops for "core" power managementarch/arm/mach-exynos4/pm.c arch/arm/mach-s3c2410/irq.c arch/arm/mach-s3c2410/mach-bast.c +21 more+203 -2280 replies
9/14PM / Blackfin: Use struct syscore_ops instead of sysdevs for PMarch/blackfin/kernel/nmi.c+9 -214 replies
9/14PM / Blackfin: Use struct syscore_ops instead of sysdevs for PMarch/blackfin/kernel/nmi.c+9 -210 replies
10/14PM / MIPS: Use struct syscore_ops instead of sysdevs for PMarch/mips/alchemy/common/dbdma.c arch/mips/alchemy/common/irq.c arch/mips/jz4740/gpio.c +1 more+80 -1526 replies
10/14PM / MIPS: Use struct syscore_ops instead of sysdevs for PMarch/mips/alchemy/common/dbdma.c arch/mips/alchemy/common/irq.c arch/mips/jz4740/gpio.c +1 more+80 -1520 replies
11/14PM / AVR32: Use struct syscore_ops instead of sysdevs for PMarch/avr32/mach-at32ap/intc.c+12 -264 replies
11/14PM / AVR32: Use struct syscore_ops instead of sysdevs for PMarch/avr32/mach-at32ap/intc.c+12 -260 replies
12/14PM / UNICORE32: Use struct syscore_ops instead of sysdevs for PMarch/unicore32/kernel/irq.c+8 -152 replies
12/14PM / UNICORE32: Use struct syscore_ops instead of sysdevs for PMarch/unicore32/kernel/irq.c+8 -150 replies
13/14PM / PowerPC: Use struct syscore_ops instead of sysdevs for PMarch/powerpc/include/asm/mpic.h arch/powerpc/platforms/cell/spu_base.c arch/powerpc/platforms/powermac/pic.c +2 more+64 -930 replies
13/14PM / PowerPC: Use struct syscore_ops instead of sysdevs for PMarch/powerpc/include/asm/mpic.h arch/powerpc/platforms/cell/spu_base.c arch/powerpc/platforms/powermac/pic.c +2 more+64 -930 replies
14/14PM: Remove sysdev suspend, resume and shutdown operationsarch/sh/Kconfig arch/x86/Kconfig arch/x86/kernel/apm_32.c +11 more+7 -2820 replies
14/14PM: Remove sysdev suspend, resume and shutdown operationsarch/sh/Kconfig arch/x86/Kconfig arch/x86/kernel/apm_32.c +11 more+7 -2820 replies

Reviews trailers per patch

13 of 29 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKevin HilmanKukjin KimMike FrysingerGreg Kroah-HartmanIan CampbellLars-Peter ClausenGuan XuetaoHans-Christian Egtvedt
SeriesA-b A-b
1/14
1/14
2/14A-b A-b
2/14A-b A-b
3/14
3/14
4/14A-b A-b
4/14A-b A-b
5/14
5/14
6/14
6/14
7/14
7/14
8/14A-b A-b
8/14A-b A-b
8/14A-b A-b
9/14A-b A-b
9/14A-b A-b
10/14Acked-and-tested-by Acked-and-tested-by
10/14Acked-and-tested-by Acked-and-tested-by
11/14A-b A-b
11/14A-b A-b
12/14A-b A-b
12/14A-b A-b
13/14
13/14
14/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 8 reviewers.

Read the v1 thread

Cover letter [PATCH 0/14] Remove sysdev suspend/resume and shutdown operations

Hi,

The following series of patches fixes bugs related to the introduction of struct syscore_ops later in this cycle, replaces sysdev suspend/resume operations in all of the architectures still using them with struct syscore_ops-based PM callbacks and finally removes the suspend/resume and shutdown operations from struct sysdev_class and struct sysdev_driver.

Patches [1/14] and [2/14] are important bug fixes targeted at 2.6.39. The remaining patches are regareded as 2.6.40 material, but I'd like to put them into linux-next shortly, if there are no objections, to catch problems that they may introduce before they hit the mainline. Again, if there are no objections I'd like to merge these patches through the suspend-2.6 tree.

[1/14] - Fix error code paths executed after failing syscore_suspend() [2/14] - Add missing syscore_suspend() and syscore_resume() calls to
subsystems that should use them in addition to sysdev calls.

[3/14] - Use struct syscore_ops for core PM (instead of sysdevs) in the
common ARM code.
[4/14] - Use struct syscore_ops for core PM (instead of sysdevs) in ARM OMAP
code.
[5/14] - Use struct syscore_ops for core PM (instead of sysdevs) in ARM
Integrator code.
[6/14] - Use struct syscore_ops for core PM (instead of sysdevs) in ARM SA1100
code.
[7/14] - Use struct syscore_ops for core PM (instead of sysdevs) in ARM PXA
code.
[8/14] - Use struct syscore_ops for core PM (instead of sysdevs) in ARM Samsung
code.
[9/14] - Use struct syscore_ops for core PM (instead of sysdevs) in Blackfin
arch code.
[10/14] - Use struct syscore_ops for core PM (instead of sysdevs) in MIPS
arch code.
[11/14] - Use struct syscore_ops for core PM (instead of sysdevs) in AVR32
arch code.
[12/14] - Use struct syscore_ops for core PM (instead of sysdevs) in Unicore32
arch code.
[13/14] - Use struct syscore_ops for core PM (instead of sysdevs) in PowerPC
arch code.
[14/14] - Remove sysdev suspend/resume and shutdown operations.

Thanks,
Rafael