# \[PATCH v4 0/4\] ARM: OMAP2+: AM33XX: VDD CORE OPP50 support

- From: Russ Dill \<hidden\>
- Date: 2013-09-03 18:55:48 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2013/09/8076613
- Thread: https://ratatoskr.run/linux-devicetree/2013/08/8075842/t.md

```text
On Fri, Aug 30, 2013 at 9:06 AM, Kevin Hilman [ref] wrote:
> Well, I was thinking of something much dumber.
>
> I was thinking about just _carefully_ writing a single, self-contained C
> function, with all of its data on the stack (and consts as #defines).
> Think of it is a step up in readability from straight assembly (which
> was the stated reason for moving the code to the M3 in the first place.)
>
> Kevin

That can only give you your suspend function. You need a resume
function to undo everything before calling cpu_resume, and the resume
function needs access to the data that was in the suspend function.
```
