]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(ff-a): forward FFA_VERSION from SPMD to SPMC
authorDaniel Boulby <daniel.boulby@arm.com>
Thu, 9 Dec 2021 11:20:13 +0000 (11:20 +0000)
committerDaniel Boulby <daniel.boulby@arm.com>
Thu, 3 Feb 2022 14:02:42 +0000 (14:02 +0000)
commit9944f55761c4d5cc1feefaf5e33bf7fb83d8f5f3
tree69e6a81f83f627d0b9b304f6b8751c5d1f3a1726
parent99026cff47e35b3f5abd68a19cba1a4fb683fdc4
feat(ff-a): forward FFA_VERSION from SPMD to SPMC

Introduced by FF-A v1.1 we must forward a call to FFA_VERSION
to the SPMC so that the ffa version of the caller can be stored
for later use. Since the return of FFA_VERSION is not wrapped in
a FF-A call we need to  use a direct message request to do this
forwarding. For the spmd_handler in the SPMC to hand off to the
correct function we use w2 to specify a target framework function.
Therefore we must update PSCI CPU_OFF to do this as well.

Change-Id: Ibaa6832b66f1597b3d65aa8986034f0c5916016d
Signed-off-by: Daniel Boulby <daniel.boulby@arm.com>
services/std_svc/spmd/spmd_main.c
services/std_svc/spmd/spmd_pm.c
services/std_svc/spmd/spmd_private.h