]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(mt8188): refine gic init flow after system resume
authorJames Liao <jamesjj.liao@mediatek.com>
Fri, 23 Sep 2022 08:37:59 +0000 (16:37 +0800)
committerLiju-Clr Chen <liju-clr.chen@mediatek.com>
Mon, 14 Nov 2022 01:55:07 +0000 (09:55 +0800)
commit210ebbb0a6a0520cb3a5930c4fefa94baee33462
tree80db8793f131bff78ca31405d662a97cebaea62b
parent600f168172a9281a0061f84e4da5318e08762aa1
fix(mt8188): refine gic init flow after system resume

Call gicv3_distif_init() instead of mt_gic_init() in
armv8_2_mcusys_pwr_on_common(). This is to prevent
gicv3_rdistif_init() and gicv3_cpuif_enable() from being called twice
in the power-on flow. gicv3_rdistif_init() and gicv3_cpuif_enable()
are called in later armv8_2_cpu_pwr_on_common().

BUG=b:244215539
TEST=Suspend Resume Test pass

Change-Id: Id752c1ccbb9eab277ed6278c2dd90a051a894146
Signed-off-by: Liju-Clr Chen <liju-clr.chen@mediatek.com>
plat/mediatek/lib/pm/armv8_2/pwr_ctrl.c