From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753387AbdDLIOD (ORCPT ); Wed, 12 Apr 2017 04:14:03 -0400 Received: from foss.arm.com ([217.140.101.70]:41098 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752546AbdDLIOA (ORCPT ); Wed, 12 Apr 2017 04:14:00 -0400 Subject: Re: [PATCH v2] irqchip/atmel-aic5: handle suspend to RAM To: Alexandre Belloni , Thomas Gleixner , Boris Brezillon References: <20170410145011.7573-1-alexandre.belloni@free-electrons.com> Cc: Jason Cooper , linux-kernel@vger.kernel.org From: Marc Zyngier Organization: ARM Ltd Message-ID: <18f67d69-a660-3cb5-7137-3257084f655e@arm.com> Date: Wed, 12 Apr 2017 09:13:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170410145011.7573-1-alexandre.belloni@free-electrons.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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...