Home
last modified time | relevance | path

Searched hist:c6e0a64d83bed2bb7b9a2adefabc54402b460aa8 (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/plat/mediatek/mt8183/
H A Dplat_pm.cc6e0a64d83bed2bb7b9a2adefabc54402b460aa8 Thu Oct 31 06:19:44 UTC 2019 James Liao <jamesjj.liao@mediatek.com> mediatek: mt8183: Fix AARCH64 init fail on CPU0

CPU0 is default on, so it doesn't need to run pwr_domain_on() at
boot. CPU0 AARCH64 will be set in pwr_domain_suspend(), but it may
encounter race condition with other CPUs.

Now AARCH64 will be set with cluster on in pwr_domain_on(), and
all CPUs on this cluster will be set together. It doesn't need to
set AARCH64 again in pwr_domain_suspend(), so the race condition
can be avoided.

Change-Id: I5693ad56e4901f82badb0fc0d8d13e4c9acfe648
Signed-off-by: James Liao <jamesjj.liao@mediatek.com>