how to enable suspend to ram for arm-64 bits

Sudeep Holla sudeep.holla at arm.com
Tue Oct 18 03:21:27 PDT 2016



On 18/10/16 11:00, 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.

Could you be more elaborate on this ?

  arm32 has better powermanagement than x86 ever will (see Nokia N900
> for example) -- feel free to copy that code from arm32.

OK are you suggesting that pull in all the low level assembly code that
are very platform specific in to the kernel ?

Sorry, no thanks. We don't want that in the kernel and IMO that's one of
the reason why many platforms lacked PM support in the upstream kernel
as they were too platform specific and hinders the progress towards
single kernel.

-- 
Regards,
Sudeep



More information about the linux-arm-kernel mailing list