[PATCH]: [MPC5200] Fix lite5200b suspend/resume
Tim Yamin
plasm at roo.me.uk
Tue Jun 17 18:33:14 EST 2008
Hi,
Suspend/resume ("echo mem > /sys/power/state") does not work for me
with vanilla kernels -- the system does not suspend correctly and just
hangs. The attached patch fixes this so suspend/resume works:
1) of_iomap does not map the whole 0xC0000 of the MPC5200 for me, so
saving registers does not work. Maybe this is just a bug in my DTB? Or
is this an of_iomap bug?
2) PCI registers need to be saved and restored. Would it make sense to
move struct mpc52xx_pci out of mpc52xx_pci.c and into a header?
If somebody else with a lite5200B board could do some testing this
would be appreciated as would comments on the above two issues.
Thanks,
Tim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1100-mpc5200-lite5200b-fix-suspend.patch
Type: text/x-patch
Size: 2245 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080617/21685556/attachment.bin>
More information about the Linuxppc-dev
mailing list