]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ARM: 6407/1: mmu: Setup MT_MEMORY and MT_MEMORY_NONCACHED L1 entries
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Fri, 24 Sep 2010 06:18:22 +0000 (07:18 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 25 Sep 2010 14:58:39 +0000 (15:58 +0100)
commitf1a2481c0ad3aebd94d11b317c488deaadc25002
tree34835ebb681604635db2f8b44c2fa7d2d0f75933
parentf933b87e6f06fcce5988fd5e8ebf3a97858a7155
ARM: 6407/1: mmu: Setup MT_MEMORY and MT_MEMORY_NONCACHED L1 entries

This patch populates the L1 entries for MT_MEMORY and MT_MEMORY_NONCACHED
types so that at boot-up, we can map memories outside system memory
at page level granularity

Previously the mapping was limiting to section level, which creates
unnecessary additional mapping for which physical memory may not
present. On the newer ARM with speculation, this is dangerous and can
result in untraceable aborts.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/mmu.c