]> git.baikalelectronics.ru Git - arm-tf.git/commit
Tegra210: trigger CPU0 hotplug power on using FC
authorsumitg <sumitg@nvidia.com>
Fri, 8 Feb 2019 10:44:06 +0000 (16:14 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Sun, 22 Mar 2020 02:00:05 +0000 (19:00 -0700)
commita45c3e9d81c0c8f3ab4a1724bf2f7373464f021e
treed49d803c41e12ad6ef48fb33258880ddbcb5de0b
parent36e263753694fbe881110c85701e8245f5538491
Tegra210: trigger CPU0 hotplug power on using FC

Hotplug poweron is not working for boot CPU as it's being
triggerred using PMC and not with Flow Controller. This is
happening because "cpu_powergate_mask" is only getting set
for non-boot CPU's as the boot CPU's first bootup follows
different code path. The patch is marking a CPU as ON within
"cpu_powergate_mask" when turning its power domain on
during power on. This will ensure only first bootup on all
CPU's is using PMC and subsequent hotplug poweron will be
using Flow Controller.

Change-Id: Ie9e86e6f9a777d41508a93d2ce286f31307932c2
Signed-off-by: sumitg <sumitg@nvidia.com>
plat/nvidia/tegra/soc/t210/plat_psci_handlers.c