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>
1 parent 4450a51 commit c6e0a64d83bed2bb7b9a2adefabc54402b460aa8
@James Liao James Liao authored on 31 Oct 2019
kenny liang committed on 25 Nov 2019
Showing 1 changed file
View
plat/mediatek/mt8183/plat_pm.c