]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mpc5200: Fix lite5200b suspend/resume
authorTim Yamin <plasm@roo.me.uk>
Tue, 17 Jun 2008 08:33:14 +0000 (09:33 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 1 Jul 2008 22:08:24 +0000 (16:08 -0600)
commit82b5d538b72cdd387a082eb491120de60760b9af
tree0073d1050be578b4f71f3f67f303f06cee1d4494
parentb0d05fe027d70a15f6f07c4f18adb84b14934f3a
powerpc/mpc5200: Fix lite5200b suspend/resume

Suspend/resume ("echo mem > /sys/power/state") does not work with
vanilla kernels -- the system does not suspend correctly and just
hangs. This patch fixes this so suspend/resume works:

1) of_iomap does not map the whole 0xC000 of the MPC5200 immr so
saving registers does not work.
2) PCI registers need to be saved and restored.

Signed-off-by: Tim Yamin <plasm@roo.me.uk>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/platforms/52xx/lite5200_pm.c