mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00
feat(drtm): update return code if secondary PE is not off
DRTM 1.0 specifies that if any secondary PEs are not off during a dynamic launch the return code must be SECONDARY_PE_NOT_OFF. Signed-off-by: Stuart Yoder <stuart.yoder@arm.com> Change-Id: Idcb1f3c60daa63a5bc994bdeacca8aab7066f628
This commit is contained in:
parent
89f5c753af
commit
bc9064ae5c
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2022 Arm Limited. All rights reserved.
|
||||
* Copyright (c) 2022-2024 Arm Limited. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*
|
||||
|
@ -211,7 +211,7 @@ static enum drtm_retc drtm_dl_check_cores(void)
|
|||
running_on_single_core = psci_is_last_on_cpu_safe();
|
||||
if (!running_on_single_core) {
|
||||
ERROR("DRTM: invalid launch due to non-boot PE not being turned off\n");
|
||||
return DENIED;
|
||||
return SECONDARY_PE_NOT_OFF;
|
||||
}
|
||||
|
||||
return SUCCESS;
|
||||
|
|
Loading…
Add table
Reference in a new issue