]> Pileus Git - ~andy/linux/commit
ARM: tegra: fix DEBUG_LL combined with LPAE
authorStephen Warren <swarren@nvidia.com>
Mon, 28 Oct 2013 22:56:14 +0000 (16:56 -0600)
committerStephen Warren <swarren@nvidia.com>
Wed, 4 Dec 2013 19:25:12 +0000 (12:25 -0700)
commit354935a9e804878ec64a86ad8b7f091d544dcb54
tree2504a5686897e5d6df49c4cbbae0c84203bc5e81
parentcdcb5a074cd3e33e7bdb318487fde8a9e55d6159
ARM: tegra: fix DEBUG_LL combined with LPAE

The DEBUG_LL UART address is mapped as an MMU section, hence, the
virtual address must be section-aligned. Sections are 1MB without LPAE
and 2MB with LPAE. Tegra's virtual address was only aligned to 1MB, and
hence the mapping was set up incorrectly with LPAE enabled, thus causing
a hang early during boot. Fix this by picking a different virtual address
that is aligned to 2MB.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
arch/arm/include/debug/tegra.S