]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(versal-net): correct aff level for cpu off
authorJay Buddhabhatti <jay.buddhabhatti@amd.com>
Thu, 23 Mar 2023 05:44:16 +0000 (22:44 -0700)
committerJay Buddhabhatti <jay.buddhabhatti@amd.com>
Thu, 23 Mar 2023 13:13:57 +0000 (06:13 -0700)
commit6ada9dc325aaa29e2f4c87575093401197856639
tree5ff2da063ff0be6e8dbc63e9f5abbff4a5d2e39d
parentea2c04d0374e643bba44ff33d95fbfe1c52d9f66
fix(versal-net): correct aff level for cpu off

CPU suspend is calling validate_power_state PSCI opps which returns
power domain state for CPU suspend according to PSTATE type. In case of
power down it assigns PLAT_MAX_OFF_STATE to all affinity level which is
incorrect since for CPU suspend we need to set only MPIDR_AFFLVL0 which
is CPU state. So correct affinity level for CPU suspend.

Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com>
Change-Id: I39f92790ea74e4cab8e87342e73e1ac211a46fcd
plat/xilinx/versal_net/plat_psci_pm.c