arm: tegra: xmm: protect xmm power state
Added protection locks for xmm power state. Moving
prints outside of spinlock. Revisit spinlock on global
flags and rearrange in irq.
Avoid kernel crash in case of remote-wakeup detected.
Protect ipc_ap_wake_state in xmm on & off.
Bug
1010131
Change-Id: Id53598b09bececd6f4ff1a948a492e6fcc56628c
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/108427
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Michael Hsu <mhsu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>
Rebase-Id: R79ed8e692f3a5a9770b80b44e14258d42bd6451a