Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
6f3ee4a8
Commit
6f3ee4a8
authored
Aug 24, 2020
by
Manish Pandey
Committed by
TrustedFirmware Code Review
Aug 24, 2020
Browse files
Merge "SPMD: Dont forward PARTITION_INFO_GET from secure FF-A instance" into integration
parents
8d0a3bb3
545b8eb3
Changes
1
Show whitespace changes
Inline
Side-by-side
services/std_svc/spmd/spmd_main.c
View file @
6f3ee4a8
...
...
@@ -560,16 +560,22 @@ uint64_t spmd_smc_handler(uint32_t smc_fid,
case
FFA_RXTX_MAP_SMC32
:
case
FFA_RXTX_MAP_SMC64
:
case
FFA_RXTX_UNMAP
:
case
FFA_PARTITION_INFO_GET
:
/*
* Should not be allowed to forward FFA_PARTITION_INFO_GET
* from Secure world to Normal world
*
* Fall through to forward the call to the other world
*/
case
FFA_MSG_RUN
:
/* This interface must be invoked only by the Normal world */
if
(
secure_origin
)
{
return
spmd_ffa_error_return
(
handle
,
FFA_ERROR_NOT_SUPPORTED
);
}
/* Fall through to forward the call to the other world */
case
FFA_PARTITION_INFO_GET
:
case
FFA_MSG_SEND
:
case
FFA_MSG_SEND_DIRECT_REQ_SMC64
:
case
FFA_MSG_SEND_DIRECT_RESP_SMC64
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment