]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Save and restore OSDLR_EL1 across suspend/resume
authorJean-Philippe Brucker <jean-philippe.brucker@arm.com>
Mon, 8 Apr 2019 17:17:19 +0000 (18:17 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 9 Apr 2019 11:39:13 +0000 (12:39 +0100)
commitd5ee5254e4b5a38ea8ed739fd7816f581cc1f4b8
tree2931dfa38b16416f454d9091cbd8c4ff0d9b081e
parent227087b4eaa961f9a1853b5ee8995927ffd658b9
arm64: Save and restore OSDLR_EL1 across suspend/resume

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.

Cc: <stable@vger.kernel.org>
Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/proc.S