summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/pm-t3.c
diff options
context:
space:
mode:
authorSeshendra Gadagottu <sgadagottu@nvidia.com>2012-07-17 14:50:28 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 12:47:16 -0700
commitfa042dcdd7d7b2358f435117278d1771ff45573c (patch)
tree013d9a51cf50b3b5ae0418ad910edc8eb56782e3 /arch/arm/mach-tegra/pm-t3.c
parentf06f26b70c360386d25be198c31a51ef897f325d (diff)
ARM: tegra14: Changes for SMP and cluster switch
1. Enabled following kernel configuration for SMP on fast cluster and cluster switching functionality: TEGRA_LP2_ARM_TWD if HAVE_ARM_TWD && !TEGRA_RAIL_OFF_MULTIPLE_CPUS ARM_SAVE_DEBUG_CONTEXT if PM_SLEEP GIC_SET_MULTIPLE_CPUS if SMP ARCH_TEGRA_HAS_ARM_SCU ARCH_TEGRA_HAS_SYMMETRIC_CPU_PWR_GATE ARM_CPU_SUSPEND if PM 2. For T14x, disable RAM repair bypass and power-up CPU rail during Cluster 1(LP) to Cluster0( fast cluster) switch. 2. For T14x, for IMMEDIATE_WAKE use WAITEVENT as wakeup condition. Change-Id: I8f3e067207eac3b3776dfbd265527fc7a0fae266 Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/118464 Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Hoang Pham <hopham@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bo Yan <byan@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/pm-t3.c')
-rw-r--r--arch/arm/mach-tegra/pm-t3.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/pm-t3.c b/arch/arm/mach-tegra/pm-t3.c
index 793fb60ba3a8..bef0fa47d112 100644
--- a/arch/arm/mach-tegra/pm-t3.c
+++ b/arch/arm/mach-tegra/pm-t3.c
@@ -420,7 +420,6 @@ int tegra_cluster_control(unsigned int us, unsigned int flags)
if (target_cluster == TEGRA_POWER_CLUSTER_G) {
s64 t = ktime_to_us(ktime_sub(now, last_g2lp));
s64 t_off = tegra_cpu_power_off_time();
-
if (t_off > t)
udelay((unsigned int)(t_off - t));