summaryrefslogtreecommitdiff
path: root/lib/psci/psci_off.c
diff options
context:
space:
mode:
authorWang Feng <feng_feng.wang@spreadtrum.com>2018-03-15 15:32:41 +0800
committerWang Feng <feng_feng.wang@spreadtrum.com>2018-03-17 14:51:58 +0800
commit39b21d19a01bc8eac3ab5f21a3cf96cd5e9a4f42 (patch)
tree3ca832056dfc7388a0cb979a592d1b42e6f84138 /lib/psci/psci_off.c
parent16b05e94a2d1757cbb98de068c662d58a6919613 (diff)
FVP: change the method for translating MPIDR values to a linear indices
x3 will be assigned by the folloing instructions. So the first instruction is not needed any more. old method: (ClusterId * FVP_MAX_CPUS_PER_CLUSTER) + (CPUId * FVP_MAX_PE_PER_CPU) + ThreadId it should be (ClusterId * FVP_MAX_CPUS_PER_CLUSTER) * FVP_MAX_PE_PER_CPU + (CPUId * FVP_MAX_PE_PER_CPU) + ThreadId which can be simplified as: (ClusterId * FVP_MAX_CPUS_PER_CLUSTER + CPUId) * FVP_MAX_PE_PER_CPU + ThreadId Signed-off-by: Wang Feng <feng_feng.wang@spreadtrum.com>
Diffstat (limited to 'lib/psci/psci_off.c')
0 files changed, 0 insertions, 0 deletions