]> git.baikalelectronics.ru Git - kernel.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)
commitc801a922503511a9a2810d4877645d1b48ffe536
tree34835ebb681604635db2f8b44c2fa7d2d0f75933
parent3b1db4b2f1f01aca04b718e458693306c1055142
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