Skip to content

suspend to disk for powermac G5

Johannes Berg cpufreq linux-pm linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10dont copy pages that arent RAMkernel/power/snapshot.c+2 -00 replies
2/10windfarm: dont die on suspend thread signaldrivers/macintosh/windfarm_core.c+2 -47 replies
3/10powerpc: fix comment in kernel/irq.carch/powerpc/kernel/irq.c+3 -33 replies
4/10powermac: clean up PIC initialisation codearch/powerpc/platforms/powermac/Makefile arch/powerpc/platforms/powermac/mpic.c arch/powerpc/platforms/powermac/pic.c +2 more+170 -1602 replies
5/10powermac: generic time suspend/resume codearch/powerpc/Kconfig arch/powerpc/platforms/powermac/time.c arch/powerpc/sysdev/Makefile +1 more+77 -382 replies
6/10powerpc: MPIC sys_device & suspend/resumearch/powerpc/sysdev/mpic.c include/asm-powerpc/mpic.h+77 -11 reply
7/10powermac: support G5 CPU hotplugarch/powerpc/kernel/smp.c arch/powerpc/platforms/powermac/setup.c arch/powerpc/platforms/powermac/smp.c+46 -33 replies
8/10powerpc: dart iommu suspendarch/powerpc/sysdev/dart_iommu.c include/asm-powerpc/iommu.h+53 -06 replies
9/10powermac: suspend to disk on G5arch/powerpc/kernel/Makefile arch/powerpc/kernel/asm-offsets.c arch/powerpc/kernel/idle.c +6 more+292 -60 replies
10/10powermac: fix G5-cpufreq for cpu on/offlinearch/powerpc/platforms/powermac/cpufreq_64.c+4 -41 reply

Reviews trailers per patch

2 of 10 patches have a Reviewed-by or Acked-by.

PatchBenjamin Herrenschmidt
1/10
2/10A-b
3/10A-b
4/10
5/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH/RFC 00/10] suspend to disk for powermac G5

Hi!

Here's my latest patchset for suspend to disk on powermac. It also contains a whole bunch of cleanups and fixes in various other places some of which are CCed to Andrew (who will hopefully put them into -mm).

Other than that, thanks to the mpic resume/suspend code it appears to work quite well. Thanks to Michael Buesch for testing with PREEMPT enabled which uncovered another bug with cpu "hotplug" (where I still don't understand why the preempt_count is messed up on resume but not when I put a CPU off- and online via sysfs.)

To actually get proper suspend for a G5 powermac with an Onyx codec you need to apply the patch at http://patchwork.ozlabs.org/linuxppc/patch?id=8683

Any comments are appreciated, especially on the patch that actually implements the snapshot code ("powermac: suspend to disk on G5.")

johannes