spd: trusty: pass max affinity level to Trusty
authorStephen Wolfe <swolfe@nvidia.com>
Thu, 29 Mar 2018 19:32:08 +0000 (12:32 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 31 Jan 2019 16:49:38 +0000 (08:49 -0800)
commit1ffaaec9ec409c4ab57baeda7772f2f3e2ccf4be
tree22aca309402290a41eaeec5773699d4042732a19
parentc33473d527ee5354abc3d169f68395179074f5df
spd: trusty: pass max affinity level to Trusty

During System Suspend, the entire system loses its state. To allow Trusty
to save/restore its context and allow its TAs to participate in the suspend
process, it needs to look at the max affinity level being suspended. This
patch passes the max affinity level to Trusty to enable to do so.

Change-Id: If7838dae10c3f5a694baedb15ec56fbad41f2b36
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
services/spd/trusty/trusty.c