This patch fixes the assertion failure when CPU_SUSPEND is invoked with an affinity level higher than supported by the platform by adding suitable checks for affinity level within `psci_cpu_suspend`. Also added suitable bound checks within `psci_aff_map_get_idx` to prevent indexing beyond array limits. Fixes ARM-software/tf-issues#260 Change-Id: I04b75c49729e6c6d1983add590f60146c8fc3630 |
||
---|---|---|
.. | ||
psci_afflvl_off.c | ||
psci_afflvl_on.c | ||
psci_afflvl_suspend.c | ||
psci_common.c | ||
psci_entry.S | ||
psci_helpers.S | ||
psci_main.c | ||
psci_private.h | ||
psci_setup.c | ||
psci_system_off.c |