mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 01:24:27 +00:00
![]() In the ARM recommended StateID Encoding, the index for the power level where the calling core is last to go idle use the last niblle of the StateId. Even if this nibble is necessary for OS-initiated mode, it can be used by caller even when this OSI mode is not used. In arm_validate_power_state() function, the StateId is compared with content of arm_pm_idle_states[] build with the arm_make_pwrstate_lvl2 macro, without Last in Level information. So it is safe to mask this nibble for ARM platform in all the cases, and that avoids issues with caller with use the same StateId encoding with OSI mode activated or not (in tftf tests for example, the input(power state) parameter = (0x40001022) and the associated power state is 0x40000022). Change-Id: I45e8e2b8f526fb61b94cf134d7d4aa3bac4c215d Signed-off-by: Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> |
||
---|---|---|
.. | ||
aarch32 | ||
aarch64 | ||
fconf | ||
sp_min | ||
trp | ||
tsp | ||
arm_bl1_fwu.c | ||
arm_bl1_setup.c | ||
arm_bl2_el3_setup.c | ||
arm_bl2_setup.c | ||
arm_bl2u_setup.c | ||
arm_bl31_setup.c | ||
arm_cci.c | ||
arm_ccn.c | ||
arm_common.c | ||
arm_common.mk | ||
arm_console.c | ||
arm_dyn_cfg.c | ||
arm_dyn_cfg_helpers.c | ||
arm_err.c | ||
arm_gicv2.c | ||
arm_gicv3.c | ||
arm_image_load.c | ||
arm_io_storage.c | ||
arm_nor_psci_mem_protect.c | ||
arm_pm.c | ||
arm_sip_svc.c | ||
arm_topology.c | ||
arm_transfer_list.c | ||
arm_tzc400.c | ||
arm_tzc_dmc500.c | ||
plat_arm_sip_svc.c |