ARM: tegra: Remove GIC bypass mode for hotplug
authorScott Williams <scwilliams@nvidia.com>
Thu, 2 Feb 2012 23:20:15 +0000 (15:20 -0800)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 19:09:46 +0000 (12:09 -0700)
commitded7385bc677dfcc31c81747f7900f34eeba6c5f
tree57b44f399772194696c6ceaf7862ba391fa8a23b
parentcfb3a68ce42b6cf8c3c1ebaa1663c6fc3629ccff
ARM: tegra: Remove GIC bypass mode for hotplug

Every call to tegra_gic_pass_through_disable() is preceded by a
call to tegra_gic_cpu_disable(). However, the call from hotplug
shutdown is superfluous on Cortex-A9 and wrong on Cortex-A15.

Consolidate the two disable functions into a single function
taking a parameter that indicates whether to enable bypass mode:
the call from the hotplug shutdown path does not enable bypass,
the call from the CPU suspend path does.

BUG 929216

Change-Id: I0b11dc89b27aeb42b3ddffb0cfe1a65eb7a50f93
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/79092
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: Re1f145785b568cdd45bc5656e1d009298698b580
arch/arm/mach-tegra/gic.c
arch/arm/mach-tegra/gic.h
arch/arm/mach-tegra/hotplug.c
arch/arm/mach-tegra/pm.c