From mboxrd@z Thu Jan 1 00:00:00 1970 From: shawnguo@kernel.org (Shawn Guo) Date: Tue, 26 Dec 2017 17:09:03 +0800 Subject: [PATCH] arm: imx: suspend/resume: use outer_disable/resume In-Reply-To: References: <20171210120718.15197-1-peng.fan@nxp.com> <20171226033125.GA4210@X250> Message-ID: <20171226090902.GO23070@X250> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Dec 26, 2017 at 06:52:45AM +0000, Peng Fan wrote: > Hi Shawn, > > > -----Original Message----- > > From: Shawn Guo [mailto:shawnguo at kernel.org] > > Sent: Tuesday, December 26, 2017 11:31 AM > > To: Peng Fan > > Cc: A.s. Dong ; linux-kernel at vger.kernel.org; Russell > > King ; Fabio Estevam ; > > Sascha Hauer ; van.freenix at gmail.com; linux-arm- > > kernel at lists.infradead.org > > Subject: Re: [PATCH] arm: imx: suspend/resume: use outer_disable/resume > > > > On Sun, Dec 10, 2017 at 08:07:18PM +0800, Peng Fan wrote: > > > Use outer_disable/resume for suspend/resume. > > > With the two APIs used, code could be simplified and easy to extend to > > > introduce l2c_write_sec for i.MX platforms when moving Linux Kernel > > > runs in non-secure world. > > > > > > Signed-off-by: Peng Fan > > > Cc: Shawn Guo > > > Cc: Sascha Hauer > > > Cc: Fabio Estevam > > > Cc: Russell King > > > Cc: Dong Aisheng > > > --- > > > arch/arm/mach-imx/pm-imx6.c | 2 ++ > > > arch/arm/mach-imx/suspend-imx6.S | 24 ------------------------ > > > > I'm fine with the patch in general. But this piece of code is running on a few > > i.MX6 platforms, and I'm wondering on which SoCs you have verified the > > change work fine. > > I tested it on 6Q-SDB board. Is it ok? Okay, I will get it into linux-next for a bit wider testing. Shawn