From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ezequiel Garcia Subject: Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk Date: Sun, 16 Mar 2014 04:09:17 -0300 Message-ID: <20140316070917.GA3094@arch.cereza> References: <1394016605-24120-1-git-send-email-sebastian.capella@linaro.org> <1394016605-24120-3-git-send-email-sebastian.capella@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <1394016605-24120-3-git-send-email-sebastian.capella@linaro.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Sebastian Capella Cc: Stefano Stabellini , Len Brown , linaro-kernel@lists.linaro.org, Russell King , Jonathan Austin , linux-pm@vger.kernel.org, "Rafael J. Wysocki" , Victor Kamensky , Will Deacon , linux-kernel@vger.kernel.org, Sricharan R , Santosh Shilimkar , Ben Dooks , Russ Dill , Nicolas Pitre , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Laura Abbott , Catalin Marinas , Stephen Boyd , linux-arm-kernel@lists.infradead.org, Jiang Liu List-Id: linux-pm@vger.kernel.org On Mar 05, Sebastian Capella wrote: [..] > diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig > index 1f8fed9..83707702 100644 > --- a/arch/arm/mm/Kconfig > +++ b/arch/arm/mm/Kconfig > @@ -611,6 +611,11 @@ config CPU_USE_DOMAINS > config IO_36 > bool > = > +config ARCH_HIBERNATION_POSSIBLE > + bool > + depends on MMU > + default y if CPU_ARM920T || CPU_ARM926T || CPU_SA1100 || CPU_XSCALE || = CPU_XSC3 || CPU_V6 || CPU_V6K || CPU_V7 > + > comment "Processor Features" > = Is there any reason why CPU_FEROCEON is not listed here? FWIW, I've just bu= ilt (but not really tested) a Kirkwood kernel with CONFIG_HIBERNATION=3Dy. And is there any reason to put this config in arch/arm/mm/Kconfig, instead = of in arch/arm/Kconfig, below ARCH_SUSPEND_POSSIBLE? = I'm also puzzled about having two separate options for suspend and hibernat= e, maybe someone can explain me why a given CPU would support the former but n= ot the latter? Thanks! -- = Ezequiel Garc=EDa, Free Electrons Embedded Linux, Kernel and Android Engineering http://free-electrons.com