aboutsummaryrefslogtreecommitdiff
path: root/services/std_svc/spmd
AgeCommit message (Collapse)Author
2019-11-25SPMD: Add support for SPCI_ID_GETtopics/spci_beta0_spmdMarc Bonnici
This patch introduces the `SPCI_ID_GET` interface which will return the ID of the calling SPCI component. Returns 0 for requests from the non-secure world and the spmc component ID as specified in the manifest for secure world requests. Change-Id: Id61725f8195106f9a30d61b9d99ed1d7da8c1163
2019-10-28SPMD: [EXP] Hook up support for PSCI usage from the secure worldAchin Gupta
This patch delegates invocation of PSCI calls from the secure world to the SMC handler registered by the SPMD. Signed-off-by: Achin Gupta <achin.gupta@arm.com>
2019-10-28SPMD: [EXP] Add PSCI_CPU_ON support to SPMDAchin Gupta
This patch enables the SPMD and SPMC to use the PSCI_CPU_ON function to initialise SPMC contexts on secondary CPUs. It registers a handler for PSCI calls from the secure world. Only the PSCI_CPU_ON call is implemented. It is used to register the entry point for the SPMC on each secondary CPU. It also registers a handler for a PSCI CPU ON finish operation that was invoked by the normal world. This handler initialises the SPMC context on the secondary CPU in response to an invocation of this hook. Signed-off-by: Achin Gupta <achin.gupta@arm.com>
2019-10-28SPMD: [EXP] Use PSCI states to manage SPMC bootAchin Gupta
This patch replaces private states used by the SPMD to determine whether SPMC has booted on a CPU with PSCI affinity states. This enables the SPMC on the boot CPU to use the PSCI_CPU_ON function to begin initialisation on secondary CPUs. Signed-off-by: Achin Gupta <achin.gupta@arm.com>
2019-10-28SPMD: [EXP] Export entry point info as a global variableAchin Gupta
This patch converts the local entry_point_info structure used on the boot cpu to a global as it will be used to initialise the SPMC context on secondary CPUs in future patches. Signed-off-by: Achin Gupta <achin.gupta@arm.com>
2019-10-28SPMD: add SPM dispatcher based upon SPCI Beta 0 specAchin Gupta
This patch adds a rudimentary SPM dispatcher component in EL3. It does the following: - Consumes the TOS_FW_CONFIG to determine properties of the SPM core component - Initialises the SPM core component which resides in the BL32 image - Implements a handler for SPCI calls from either security state. Some basic validation is done for each call but in most cases it is simply forwarded as-is to the "other" security state. Signed-off-by: Achin Gupta <achin.gupta@arm.com>