| f0143004 | 15-Dec-2021 |
Marc Bonnici <marc.bonnici@arm.com> |
feat(spmc): enable the SPMC to pass the linear core ID in a register
Add TF-A implementation defined behaviour to provide the linear core ID in the x4 register when bringing up an SP.
Signed-off-by
feat(spmc): enable the SPMC to pass the linear core ID in a register
Add TF-A implementation defined behaviour to provide the linear core ID in the x4 register when bringing up an SP.
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Change-Id: I6cb215841097b264d252ec0262b0b7272be99d41
show more ...
|
| f0c25a08 | 12-Apr-2022 |
Marc Bonnici <marc.bonnici@arm.com> |
feat(spmc): add FFA_RX_RELEASE handler
Enable a partition to release its RX buffer and the SPMC to update the appropriate state tracking.
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Change-I
feat(spmc): add FFA_RX_RELEASE handler
Enable a partition to release its RX buffer and the SPMC to update the appropriate state tracking.
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Change-Id: I5fb6d92244b5ed5f032269b29b102aa874bf3ae3
show more ...
|
| aad20c85 | 31-Aug-2021 |
Marc Bonnici <marc.bonnici@arm.com> |
feat(spmc): add FFA_RUN handler
Enable the SPMC to handle the FFA_RUN ABI and update the state tracking accordingly.
Change-Id: I3e8a3fa3ec9b03830055d2fbd6124b8ff1ed4103 Signed-off-by: Marc Bonnici
feat(spmc): add FFA_RUN handler
Enable the SPMC to handle the FFA_RUN ABI and update the state tracking accordingly.
Change-Id: I3e8a3fa3ec9b03830055d2fbd6124b8ff1ed4103 Signed-off-by: Marc Bonnici <marc.bonnici@arm.com>
show more ...
|
| 55a29638 | 13-Dec-2021 |
Marc Bonnici <marc.bonnici@arm.com> |
feat(spmc): add FFA_FEATURES handler
Enable the spmc to report the features that it currently supports. Populated with the currently implemented functionality.
Signed-off-by: Marc Bonnici <marc.bon
feat(spmc): add FFA_FEATURES handler
Enable the spmc to report the features that it currently supports. Populated with the currently implemented functionality.
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Change-Id: I00e51ded284efd87cd50a0e9416dbc33f22ced85
show more ...
|
| f74e2772 | 17-Aug-2021 |
Marc Bonnici <marc.bonnici@arm.com> |
feat(spmc): add FFA_PARTITION_INFO_GET handler
Enable the SPMC to handle calls to FFA_PARTITION_INFO_GET. This allows the normal world to discover which partitions are running in the secure world in
feat(spmc): add FFA_PARTITION_INFO_GET handler
Enable the SPMC to handle calls to FFA_PARTITION_INFO_GET. This allows the normal world to discover which partitions are running in the secure world including logical partitions in EL3.
This implementation supports both the v1.0 and v1.1 implementations of the Partition Info Get Descriptor. The SPMC populates the appropriate descriptor in the partitions RX buffer, if requested, according to the version of FF-A that the caller is using.
Additionally rename the common/uuid UUID_H include guard due to a conflict with another header file.
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Change-Id: I0a85f1dae50fae1fe47a3cafb765fbe9f40619e1
show more ...
|
| c2b14343 | 09-Dec-2021 |
Marc Bonnici <marc.bonnici@arm.com> |
feat(spmc): add helper to obtain a partitions FF-A version
Add a helper function to obtain the FF-A version of a calling partition. This is used to ensure that the SPMC maintains backwards compatibi
feat(spmc): add helper to obtain a partitions FF-A version
Add a helper function to obtain the FF-A version of a calling partition. This is used to ensure that the SPMC maintains backwards compatibility if the partition implements a lower minor version for the same major version than the SPMC.
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Change-Id: I5b364a1e510a999bb0c4cacae28f23f8a42a1e3e
show more ...
|
| 0c7707fd | 08-Dec-2021 |
Marc Bonnici <marc.bonnici@arm.com> |
feat(spmc): enable handling FFA_VERSION ABI
Report the SPMC version to the caller, currently v1.1 and also store the requested version to allow the SPMC to use the corresponding FF-A version in futu
feat(spmc): enable handling FFA_VERSION ABI
Report the SPMC version to the caller, currently v1.1 and also store the requested version to allow the SPMC to use the corresponding FF-A version in future ABI calls.
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Change-Id: I79aafd1e6694cbd4b231bbd0cac5834a71063d79
show more ...
|
| f16b6ee3 | 24-Nov-2021 |
Marc Bonnici <marc.bonnici@arm.com> |
feat(spmc): add helper function to obtain endpoint mailbox
Add a helper function to obtain the relevant mailbox buffers depending on which entity was last run. This will be used in subsequent functi
feat(spmc): add helper function to obtain endpoint mailbox
Add a helper function to obtain the relevant mailbox buffers depending on which entity was last run. This will be used in subsequent functionality to populate requested information in the callers RX buffer.
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Change-Id: I85959ced4d1454be05a7b3fb6853ed3ab7f0cf3e
show more ...
|
| a7c00505 | 24-Nov-2021 |
Marc Bonnici <marc.bonnici@arm.com> |
feat(spmc): add helper function to obtain hyp structure
We assume that the first descriptor in the normal world endpoints is reserved for the hypervisor and add a helper function to enable retrievin
feat(spmc): add helper function to obtain hyp structure
We assume that the first descriptor in the normal world endpoints is reserved for the hypervisor and add a helper function to enable retrieving this directly.
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Change-Id: I67c3589994eb820ef420db6ab7e8bd0825d64455
show more ...
|
| 5b0219dd | 09-Dec-2021 |
Marc Bonnici <marc.bonnici@arm.com> |
feat(spmc): enable checking of execution ctx count
This is a mandatory entry in an SP's manifest however currently an S-EL1 partition running under the EL3 SPMC must have the same amount of executio
feat(spmc): enable checking of execution ctx count
This is a mandatory entry in an SP's manifest however currently an S-EL1 partition running under the EL3 SPMC must have the same amount of execution contexts as physical cores therefore just check the entry matches this value.
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Change-Id: I4c2a85ccde7a7bb9b1232cf6389a8c532cbf3d41
show more ...
|
| 857f5790 | 24-Aug-2021 |
Marc Bonnici <marc.bonnici@arm.com> |
feat(spmc): enable parsing of UUID from SP Manifest
To align with other SPMC implementations parse the UUID from the SP manifest as 4 uint32 values and store this internally.
Change-Id: I7de5d5ef8d
feat(spmc): enable parsing of UUID from SP Manifest
To align with other SPMC implementations parse the UUID from the SP manifest as 4 uint32 values and store this internally.
Change-Id: I7de5d5ef8d98dc14bc7c76892133c2333358a379 Signed-off-by: Marc Bonnici <marc.bonnici@arm.com>
show more ...
|
| a34ccd4c | 19-Aug-2021 |
Marc Bonnici <marc.bonnici@arm.com> |
test(plat/fvp/lsp): add example logical partition
Add an example logical partition to the FVP platform that simply prints and echos the contents of a direct request with the appropriate direct respo
test(plat/fvp/lsp): add example logical partition
Add an example logical partition to the FVP platform that simply prints and echos the contents of a direct request with the appropriate direct response.
Change-Id: Ib2052c9a63a74830e5e83bd8c128c5f9b0d94658 Signed-off-by: Marc Bonnici <marc.bonnici@arm.com>
show more ...
|
| 9741327d | 29-Nov-2021 |
Marc Bonnici <marc.bonnici@arm.com> |
feat(spmc): add support for direct req/resp
Enable the SPMC to handle FFA_MSG_SEND_DIRECT_REQ and FFA_MSG_SEND_DIRECT_RESP ABIs.
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Change-Id: Ia196c
feat(spmc): add support for direct req/resp
Enable the SPMC to handle FFA_MSG_SEND_DIRECT_REQ and FFA_MSG_SEND_DIRECT_RESP ABIs.
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Change-Id: Ia196c7405993f600e4fdbf467397ea3fb035a62a
show more ...
|
| d663fe7a | 10-Dec-2021 |
Marc Bonnici <marc.bonnici@arm.com> |
feat(spmc): add support for handling FFA_ERROR ABI
This ABI is only valid during SP initialisation to indicate failure. If this occurs during SP initialisation signal a failure, otherwise respond wi
feat(spmc): add support for handling FFA_ERROR ABI
This ABI is only valid during SP initialisation to indicate failure. If this occurs during SP initialisation signal a failure, otherwise respond with a not supported error code.
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Change-Id: I0182a1641c0f6850e82173af333be79b594f2318
show more ...
|
| c4db76f0 | 29-Nov-2021 |
Marc Bonnici <marc.bonnici@arm.com> |
feat(spmc): add support for FFA_MSG_WAIT
Handle an incoming call of FFA_MSG_WAIT from the secure world and update the runtime state of the calling partition accordingly.
This ABI can be called in t
feat(spmc): add support for FFA_MSG_WAIT
Handle an incoming call of FFA_MSG_WAIT from the secure world and update the runtime state of the calling partition accordingly.
This ABI can be called in the following scenarios: - Used by an SP to signal it has finished initializing. - To resume the normal world after handling a secure interrupt that interrupted the normal world. - To relinquish control back to the normal world.
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Change-Id: I929713a2280e8ec291b5b4e8f6d4b49df337228c
show more ...
|
| 20fae0a7 | 29-Nov-2021 |
Marc Bonnici <marc.bonnici@arm.com> |
feat(spmc): add function to determine the return path from the SPMC
Use knowledge of the target partition ID and source security state to determine which route should be used to exit the SPMC.
Ther
feat(spmc): add function to determine the return path from the SPMC
Use knowledge of the target partition ID and source security state to determine which route should be used to exit the SPMC.
There are 3 exit paths: 1) Return to the normal world via the SPMD, this will take care of switching contexts if required. 2) Return to the secure world when the call originated in the normal world and therefore switch contexts. 3) Return to the secure world when the call originated in the secure world, therefore we can return directly.
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Change-Id: I4037f3a8a8519e2c9f1876be92806d2c41d0d154
show more ...
|
| 6da76075 | 29-Nov-2021 |
Marc Bonnici <marc.bonnici@arm.com> |
feat(spmd): update SPMC init flow to use EL3 implementation
Allow the SPMD to initialise an SPMC implementation at EL3 directly rather than at a lower EL. This includes removing the requirement to p
feat(spmd): update SPMC init flow to use EL3 implementation
Allow the SPMD to initialise an SPMC implementation at EL3 directly rather than at a lower EL. This includes removing the requirement to parse an SPMC manifest to obtain information about the SPMC implementation, in this case since the SPMD and SPMC reside in the same EL we can hardcode the required information directly.
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Change-Id: I66d1e1b3ec2d0abbfc28b011a32445ee890a331d
show more ...
|