From mboxrd@z Thu Jan 1 00:00:00 1970 From: lorenzo.pieralisi@arm.com (Lorenzo Pieralisi) Date: Tue, 18 Oct 2016 11:28:18 +0100 Subject: how to enable suspend to ram for arm-64 bits In-Reply-To: <20161018100002.GA4347@xo-6d-61-c0.localdomain> References: <06a4f0d7-9022-578d-99e0-ddcde31ed895@arm.com> <82ddd0e1-9ecc-5e54-e8ee-86f947fc0ecd@arm.com> <20161018100002.GA4347@xo-6d-61-c0.localdomain> Message-ID: <20161018102818.GA1212@red-moon> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Oct 18, 2016 at 12:00:02PM +0200, Pavel Machek wrote: > Hi! > > > >b. in arm64, if some platform has its own suspend flow, couldn't it > > >adopts arm/match-xxx to register its own global suspend method? > > > > > > > No, PSCI is highly recommended. > > Relying on firmware for suspend on x86 was a great disaster, lets not > repeat that mistake. arm32 has better powermanagement than x86 ever > will (see Nokia N900 for example) -- feel free to copy that code from > arm32. Yes sure, feel free to copy my: NACKed-by: Lorenzo Pieralisi to all the resulting patches then. On ARM64 if he wants to implement suspend-to-RAM his PSCI firmware will have to implement PSCI system suspend method, end of this discussion. By the way, why are you advising people on this subject ? What do you know about the PSCI firmware interface to state what you are saying above ? Lorenzo