mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 18:14:24 +00:00
Merge "fix(psci): fix parent parsing in psci_is_last_cpu_to_idle_at_pwrlvl" into integration
This commit is contained in:
commit
8fef541d8d
1 changed files with 3 additions and 3 deletions
|
@ -182,9 +182,9 @@ static bool psci_is_last_cpu_to_idle_at_pwrlvl(unsigned int end_pwrlvl)
|
|||
}
|
||||
|
||||
my_idx = plat_my_core_pos();
|
||||
|
||||
for (lvl = PSCI_CPU_PWR_LVL; lvl <= end_pwrlvl; lvl++) {
|
||||
parent_idx = psci_cpu_pd_nodes[my_idx].parent_node;
|
||||
parent_idx = psci_cpu_pd_nodes[my_idx].parent_node;
|
||||
for (lvl = PSCI_CPU_PWR_LVL + U(1); lvl < end_pwrlvl; lvl++) {
|
||||
parent_idx = psci_non_cpu_pd_nodes[parent_idx].parent_node;
|
||||
}
|
||||
|
||||
cpu_start_idx = psci_non_cpu_pd_nodes[parent_idx].cpu_start_idx;
|
||||
|
|
Loading…
Add table
Reference in a new issue