Re: [PATCH v2] irqchip/atmel-aic5: handle suspend to RAM

From: Marc Zyngier
Date: Wed Apr 12 2017 - 04:14:05 EST


On 10/04/17 15:50, Alexandre Belloni wrote:
> On sama5d2, VDD core may be cut while suspending to RAM. This means the
> AIC5 registers content is lost. Restore it at resume time.
>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx>
> ---
> Changes in v2:
> - smr_cache is now static and is allocated at init time
> - saving SMR and restoring it only happens when smr_cache is allocated
> (limiting that to sama5d2 for now).
>
> drivers/irqchip/irq-atmel-aic5.c | 29 ++++++++++++++++++++++++++++-
> 1 file changed, 28 insertions(+), 1 deletion(-)

Applied to irqchip-4.12.

Thanks,

M.
--
Jazz is not dead. It just smells funny...