ARM: OMAP2+: sleep43xx: Call secure suspend/resume handlers
authorAndrew F. Davis <afd@ti.com>
Wed, 7 Nov 2018 05:55:15 +0000 (11:25 +0530)
committerTero Kristo <t-kristo@ti.com>
Wed, 7 Nov 2018 07:51:02 +0000 (09:51 +0200)
commit5d05e6f0a062dfcf7613aa19d4a9fce83af1c1bb
tree23c37e8375f938c077fc4edd0130470254a67add
parent2285e18e247a36f3c0facdf654e4badfbcd7c528
ARM: OMAP2+: sleep43xx: Call secure suspend/resume handlers

During suspend CPU context may be lost in both non-secure and secure CPU
states. The kernel can handle saving and restoring the non-secure context
but must call into the secure side to allow it to save any context it may
lose. Add these calls here.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Acked-by: Dave Gerlach <d-gerlach@ti.com>
arch/arm/mach-omap2/omap-secure.h
arch/arm/mach-omap2/pm33xx-core.c