feat(ff-a): feature retrieval through FFA_FEATURES call

Updated FFA_FEATURES according to FF-A v1.1 in SPMC can also be used
to retrieve feature information, and should now accept other arguments
than just FF-A call IDs.

Signed-off-by: J-Alves <joao.alves@arm.com>
Change-Id: I02cc24a31ab3092ec1ce6fed1a9649ffe7136782
This commit is contained in:
J-Alves 2021-11-01 16:52:46 +00:00
parent e33ca7b44a
commit 96b71eb959
1 changed files with 0 additions and 9 deletions

View File

@ -489,15 +489,6 @@ uint64_t spmd_smc_handler(uint32_t smc_fid,
* forward to SPM Core which will handle it if implemented.
*/
/*
* Check if x1 holds a valid FFA fid. This is an
* optimization.
*/
if (!is_ffa_fid(x1)) {
return spmd_ffa_error_return(handle,
FFA_ERROR_NOT_SUPPORTED);
}
/* Forward SMC from Normal world to the SPM Core */
if (!secure_origin) {
return spmd_smc_forward(smc_fid, secure_origin,