From 79b65666be657006f5cc7dadaf85103fd136703f Mon Sep 17 00:00:00 2001 From: Krishna Sitaraman Date: Fri, 30 Jun 2017 13:51:12 -0700 Subject: [PATCH] Tegra194: Update cpu core-id calculation This patch updates the cpu core id calculation to match with internal numbering method used by the MTS. Change-Id: I5fbe9c8685c23017edc796e114d07c5e979e0d3d Signed-off-by: Krishna Sitaraman --- plat/nvidia/tegra/soc/t194/plat_psci_handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plat/nvidia/tegra/soc/t194/plat_psci_handlers.c b/plat/nvidia/tegra/soc/t194/plat_psci_handlers.c index 8208df01e..adfd6cf41 100644 --- a/plat/nvidia/tegra/soc/t194/plat_psci_handlers.c +++ b/plat/nvidia/tegra/soc/t194/plat_psci_handlers.c @@ -297,7 +297,7 @@ int tegra_soc_pwr_domain_on(u_register_t mpidr) } /* construct the target CPU # */ - target_cpu |= (target_cluster << 2); + target_cpu += (target_cluster << 1); mce_command_handler(MCE_CMD_ONLINE_CORE, target_cpu, 0, 0); -- GitLab