On Thu, May 23, 2019 at 04:27:33PM +0100, Jean-Philippe Brucker wrote:
commit 827a108e354db633698f0b4a10c1ffd2b1f8d1d0 upstream
When the CPU comes out of suspend, the firmware may have modified the OS Double Lock Register. Save it in an unused slot of cpu_suspend_ctx, and restore it on resume.
Signed-off-by: Jean-Philippe Brucker jean-philippe.brucker@arm.com Signed-off-by: Will Deacon will.deacon@arm.com
Modified for v4.9 backport: 623b476fc815 and 6d99b68933fb are missing in v4.9, but the conflict is easily resolved.
Tested on Juno with cpuidle.
Now queued up, thanks.
greg k-h