SPM: Raise running priority of the core while in Secure Partition
authorSughosh Ganu <sughosh.ganu@arm.com>
Wed, 14 Nov 2018 05:36:24 +0000 (11:06 +0530)
committerSughosh Ganu <sughosh.ganu@arm.com>
Wed, 14 Nov 2018 05:48:22 +0000 (11:18 +0530)
commit6e3bad36c8634d6f6a252b28c562077e141bebd3
treee9081f7a1cfeb20d5ed368d6e80632655b6c793d
parent5681b292c01ba8612256e4dfefb43e736de2a1c3
SPM: Raise running priority of the core while in Secure Partition

The current secure partition design mandates that a) at a point, only
a single core can be executing in the secure partition, and b) a core
cannot be preempted by an interrupt while executing in secure
partition.

Ensure this by activating the SPM priority prior to entering the
parition. Deactivate the priority on return from the
partition.

Change-Id: Icb3473496d16b733564592eef06304a1028e4f5c
Signed-off-by: Sughosh Ganu <sughosh.ganu@arm.com>
services/std_svc/spm/spm_main.c