From mboxrd@z Thu Jan 1 00:00:00 1970 From: lorenzo.pieralisi@arm.com (Lorenzo Pieralisi) Date: Thu, 8 Jan 2015 13:49:26 +0000 Subject: [RFC] how to implement suspend to ram for arm64? In-Reply-To: <20150108195408.01a8dfdb@xhacker> References: <20150108195408.01a8dfdb@xhacker> Message-ID: <20150108125921.GB1823@red-moon> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Jisheng, On Thu, Jan 08, 2015 at 11:54:08AM +0000, Jisheng Zhang wrote: > Hi list, > > we need the suspend to ram feature on arm64. And I think the fundamental code > is ready, for example __cpu_suspend() etc. > > However, there are several issues need to be resolved... > > 1. where to put platform_suspend_ops implementation? drivers/power? > > 2. If the "put ddr to self refresh" code must be in EL3 or secure EL1, how > linux tell the firmware to trigger it? extend PSCI or use the context_id > of PSCI CPU_SUSPEND function? > > 3. where to put the cod of invoke suspend_to_ram psci call? We are working on all the items you mentioned above, inclusive of a PSCI spec update. I will make sure we post the required code on the lists shortly, and keep you in the loop. Thanks, Lorenzo