SPM: Allow secondary CPUs to use the Secure Partition
The Secure Partition should be able to be used from any CPU, not just
the lead one. This patch point the secure contexts of all secondary
CPUs to the same one used by the lead CPU for the Secure Partition. This
way, they can also use it.

In order to prevent more than one CPU from using the Secure Partition at
the same time, a lock has been added.

Change-Id: Ica76373127c3626498b06c558a4874ce72201ff7
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
1 parent 26bd5f8 commit a43c85db2d4c2f6f91e1b534418ab14869327be6
@Antonio Nino Diaz Antonio Nino Diaz authored on 8 Jan 2018
Showing 2 changed files
View
services/std_svc/spm/spm_main.c
View
services/std_svc/spm/spm_private.h