Skip to content

[RFC] mediatek: mt8365: don't manage mcusys state on power_domain_on_finish

Julien Masson requested to merge jmasson/pm into mtk-v2.8

When we do several cycles of:

plat_power_domain_off
plat_power_domain_on
plat_power_domain_on_finish

We discover that the device hang on the second cycle and doesn't boot on the next OS.

This issue is caused when we execute PSCI cmd: power_domain_on_finish.

Indeed we report mcusys off state and mt_gic_rdistif_restore_all seems to fail.

We don't really know if this check is needed, neither if we need to mt_gic_rdistif_restore_all that's why this change is tagged as RFC.

In previous ATF version (v2.6), we didn't manage this state and we didn't have this issue.

Merge request reports