Re: [PATCH v2] clockevents/tcb_clksrc: implement suspend/resume

From: Daniel Lezcano
Date: Tue Jun 13 2017 - 08:21:25 EST


On 12/05/2017 20:22, Alexandre Belloni wrote:
> On sama5d2, power to the core may be cut while entering suspend mode. It is
> necessary to save and restore the TCB registers.
>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx>

The context will be saved/restored on all the platforms (other than
sama5d2) using this timer even if the clock is not powered down. Is that ok?

Should it be tagged for stable@?

Side note: the config option is in drivers/misc, any particular reason
to have it there and not in the clocksource's Kconfig?




--
<http://www.linaro.org/> Linaro.org â Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog