[RFC PATCH v5] ARM hibernation / suspend-to-disk (fwd)

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Jun 13 08:26:01 EDT 2011


On Mon, Jun 13, 2011 at 01:04:02PM +0100, Frank Hofmann wrote:
>   To make it clear: IF AND ONLY IF your suspend(-to-ram) func looks like:
>
> 	ENTRY(acmeSoC_cpu_suspend)
> 		stmfd	sp!, {r4-r12,lr}
> 		ldr	r3, resume_mmu_done
> 		bl	cpu_suspend
> 	resume_mmu_done:
> 		ldmfd	sp!, {r3-r12,pc}
> 	ENDPROC(acmeSoC_cpu_suspend)

Nothing has that - because you can't execute that ldmfd after the call
to cpu_suspend returns.  I don't think you've understood what I said on
that subject in the previous thread.



More information about the linux-arm-kernel mailing list