• James Liao's avatar
    mediatek: mt8183: Fix AARCH64 init fail on CPU0 · c6e0a64d
    James Liao authored
    
    
    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: default avatarJames Liao <jamesjj.liao@mediatek.com>
    c6e0a64d
plat_pm.c 15.2 KB