ARM: tegra: don't unlock MMIO access to DBGLAR
authorJoseph Lo <josephl@nvidia.com>
Tue, 19 Feb 2013 10:16:13 +0000 (18:16 +0800)
committerStephen Warren <swarren@nvidia.com>
Mon, 11 Mar 2013 20:29:22 +0000 (14:29 -0600)
commitb095ae2b9f35c838257786de27e550d62bd7c763
tree52c81ea41fce50f8db6c7732a3d4743182fab57e
parentbf161d2163f7b8bf4823829dbc1a14111760187e
ARM: tegra: don't unlock MMIO access to DBGLAR

There is no need to unlock MMIO access to the DBGLAR all the time. Doing
so may even cause problems if a SW bug causes writes to that MMIO region.

Cortex-A15 processors do not support the CP14 register write the code
currently uses to unlock the DBGLAR; the instruction throws an undefined
instruction exceptions. This prevents tegra_secondary_startup() from
executing on Tegra114, and hence prevents SMP.

Remove the code that unlocks this access.

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/headsmp.S
arch/arm/mach-tegra/reset-handler.S