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 <ksitaraman@nvidia.com>
This commit is contained in:
Krishna Sitaraman 2017-06-30 13:51:12 -07:00 committed by Varun Wadekar
parent 2cd2e399f6
commit 79b65666be
1 changed files with 1 additions and 1 deletions

View File

@ -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);