diff options
author | Madhukar Pappireddy <madhukar.pappireddy@arm.com> | 2022-06-22 16:53:03 -0500 |
---|---|---|
committer | Madhukar Pappireddy <madhukar.pappireddy@arm.com> | 2022-09-29 14:39:09 -0500 |
commit | dd57ebbcb27fe0da88cb0686bcf8c13fcbf412e3 (patch) | |
tree | 5de87c235de5b1898e57d1db594e3142f82958c3 /spm | |
parent | 85417644ea342c54205183cfba7f8c3b2f5f5beb (diff) |
fix(direct message request): incorrect response for illegal transition
FF-A v1.1 EAC0 spec states that partition manager must return DENIED
as the error code when an illegal transition is attempted by a vCPU.
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Change-Id: Ibb86cc4e688c9f64d83a776dddb4434c741d268f
Diffstat (limited to 'spm')
-rw-r--r-- | spm/cactus/cactus_tests/cactus_test_direct_messaging.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spm/cactus/cactus_tests/cactus_test_direct_messaging.c b/spm/cactus/cactus_tests/cactus_test_direct_messaging.c index 93bcba1..540ef01 100644 --- a/spm/cactus/cactus_tests/cactus_test_direct_messaging.c +++ b/spm/cactus/cactus_tests/cactus_test_direct_messaging.c @@ -63,7 +63,7 @@ static struct ffa_value base_deadlock_handler(ffa_id_t vm_id, * an FF-A direct message, to the first partition. */ bool is_deadlock_detected = (ffa_func_id(ffa_ret) == FFA_ERROR) && - (ffa_error_code(ffa_ret) == FFA_ERROR_BUSY); + (ffa_error_code(ffa_ret) == FFA_ERROR_DENIED); /* * Should be true after the deadlock has been detected and after the |