commit | 181aa84780a501fd415f86a93819527ad8ee6ecf | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Thu Oct 31 14:19:44 2019 +0800 |
committer | developer <developer@mediatek.com> | Mon Nov 25 14:41:09 2019 +0800 |
tree | ce0c9e07ff38d293f1c3980d7a060eebf387499e | |
parent | e2f133256cc4d0edbc8d7bc92ee52ad831282422 [diff] |
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