Tegra186: power on/off secondary CPUs
authorVarun Wadekar <vwadekar@nvidia.com>
Mon, 14 Sep 2015 04:01:39 +0000 (09:31 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 20 Mar 2017 16:12:02 +0000 (09:12 -0700)
commitb47d97b39588bd7b3b455980fd51acf6d316750c
treec457ee777dd218e5a5e62a615415ac99b9fe7b34
parentbb844c1f0dc3d9cd65fc43391ded6a3eb5975f46
Tegra186: power on/off secondary CPUs

This patch add code to power on/off the secondary CPUs on the Tegra186
chip. The MCE block is the actual hardware that takes care of the
power on/off sequence. We pass the constructed CPU #, depending on the
MIDR_IMPL field, to the MCE CPU handlers.

This patch also programs the reset vector addresses to allow the
CPUs to power on through the monitor and then jump to the linux
world.

Change-Id: Idc164586cda91c2009d66f3e09bf4464de9662db
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
plat/nvidia/tegra/soc/t186/plat_psci_handlers.c
plat/nvidia/tegra/soc/t186/plat_secondary.c